Compare commits

1 Commits
main ... 1.1

3 changed files with 1 additions and 21 deletions

View File

@@ -1,11 +0,0 @@
Index: wordcut-0.5.1b2/wordcut/xmalloc.h
===================================================================
--- wordcut-0.5.1b2.orig/wordcut/xmalloc.h
+++ wordcut-0.5.1b2/wordcut/xmalloc.h
@@ -37,5 +37,6 @@
#ifndef __XMALLOC_H__
#define __XMALLOC_H__
void* xmalloc(size_t size);
+void* xrealloc(void *ptr,size_t size);
#endif

View File

@@ -1,10 +1,3 @@
-------------------------------------------------------------------
Tue May 14 06:34:35 UTC 2024 - pgajdos@suse.com
- added patches
fix build with gcc14
+ wordcut-gcc14.patch
-------------------------------------------------------------------
Tue May 30 10:55:00 UTC 2023 - Frederic Crozat <fcrozat@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package wordcut
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,8 +26,6 @@ Group: Development/Libraries/C and C++
URL: https://thaiwordseg.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/thaiwordseg/wordcut/wordcut-%{version}/wordcut-%{version}.tar.gz
Patch0: bugzilla-152315-locale-variable-used-before-set.patch
# build with gcc14
Patch1: wordcut-gcc14.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool
BuildRequires: pkgconfig