Sync from SUSE:SLFO:Main wordcut revision e7488be60270bba083073bb0f0c6873c
This commit is contained in:
parent
d646f0323e
commit
5910fa0edf
11
wordcut-gcc14.patch
Normal file
11
wordcut-gcc14.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue May 30 10:55:00 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package wordcut
|
# spec file for package wordcut
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,6 +26,8 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://thaiwordseg.sourceforge.net/
|
URL: https://thaiwordseg.sourceforge.net/
|
||||||
Source0: https://downloads.sourceforge.net/project/thaiwordseg/wordcut/wordcut-%{version}/wordcut-%{version}.tar.gz
|
Source0: https://downloads.sourceforge.net/project/thaiwordseg/wordcut/wordcut-%{version}/wordcut-%{version}.tar.gz
|
||||||
Patch0: bugzilla-152315-locale-variable-used-before-set.patch
|
Patch0: bugzilla-152315-locale-variable-used-before-set.patch
|
||||||
|
# build with gcc14
|
||||||
|
Patch1: wordcut-gcc14.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user