Accepting request 1196405 from graphics
- Add patch xfig-3.2.9-gcc14.patch to make it build again OBS-URL: https://build.opensuse.org/request/show/1196405 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfig?expand=0&rev=57
This commit is contained in:
commit
4ffbfd4a74
15
xfig-3.2.9-gcc14.patch
Normal file
15
xfig-3.2.9-gcc14.patch
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
src/u_fonts.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- src/u_fonts.h
|
||||
+++ src/u_fonts.h 2024-08-28 07:00:30.512232174 +0000
|
||||
@@ -77,7 +77,7 @@ extern struct _fstruct latex_fontinfo[];
|
||||
* need to map the byte characters into UTF-8 multi byte characters.
|
||||
* This to make XftTextExtentsUtf8() and XftDrawStringUtf8() working.
|
||||
*/
|
||||
-typedef XftChar8 *(*map_f)(XftChar8);
|
||||
+typedef XftChar32 (*map_f)(XftChar8);
|
||||
extern XftChar32 map_dingbats(XftChar8);
|
||||
extern XftChar32 map_symbols(XftChar8);
|
||||
extern map_f adobe_charset(XftFont *font);
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 07:01:39 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add patch xfig-3.2.9-gcc14.patch to make it build again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 08:53:08 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -44,6 +44,8 @@ Patch7: xfig.3.2.5b-fixes.dif
|
||||
Patch8: Sanitize-a-call-to-realloc-ticket-165.patch
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch9: Fix-exporting-only-active-layers-ticket-163.patch
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch10: xfig-3.2.9-gcc14.patch
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
@ -109,6 +111,7 @@ set -x
|
||||
%patch -P7 -b .fixes
|
||||
%patch -P8 -p1
|
||||
%patch -P9 -p1
|
||||
%patch -P10
|
||||
cp %{SOURCE1} .
|
||||
test ! -e Libraries/Examples/aircraft.fig || { echo forbidden file found 1>&2; exit 1; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user