Stefan Dirsch
65fd274b74
* This is a minor update to resolve a compatibility issue with GNU binutils 2.36. - supersedes u_ar-clq-Imake.tmpl-binutils_2.36.patch - refreshed u_riscv.patch, u_xorg-cf-files-D_DEFAULT_SOURCE.patch OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-cf-files?expand=0&rev=24
36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
Index: xorg-cf-files-1.0.7/gnu.cf
|
|
===================================================================
|
|
--- xorg-cf-files-1.0.7.orig/gnu.cf
|
|
+++ xorg-cf-files-1.0.7/gnu.cf
|
|
@@ -21,7 +21,7 @@ XCOMM operating system: OSName (OSMajor
|
|
|
|
#define GNUSourceDefines -D_POSIX_C_SOURCE=199309L \
|
|
-D_POSIX_SOURCE -D_XOPEN_SOURCE \
|
|
- -D_BSD_SOURCE -D_SVID_SOURCE
|
|
+ -D_DEFAULT_SOURCE
|
|
|
|
XCOMM XXXMB: What about _GNU_SOURCE, see Linux/UseInstalled?
|
|
|
|
Index: xorg-cf-files-1.0.7/linux.cf
|
|
===================================================================
|
|
--- xorg-cf-files-1.0.7.orig/linux.cf
|
|
+++ xorg-cf-files-1.0.7/linux.cf
|
|
@@ -238,7 +238,7 @@ InstallNamedTargetNoClobber(install,file
|
|
#if LinuxCLibMajorVersion >= 6
|
|
# define LinuxSourceDefines -D_POSIX_C_SOURCE=199309L \
|
|
-D_POSIX_SOURCE -D_XOPEN_SOURCE \
|
|
- -D_BSD_SOURCE -D_SVID_SOURCE \
|
|
+ -D_DEFAULT_SOURCE \
|
|
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
|
|
LinuxAdditionalIncludes LinuxGnuSourceDefines \
|
|
LinuxLocaleDefines
|
|
@@ -257,7 +257,7 @@ InstallNamedTargetNoClobber(install,file
|
|
# endif
|
|
#else
|
|
# define LinuxSourceDefines -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 \
|
|
- -D_BSD_SOURCE -D_SVID_SOURCE \
|
|
+ -D_DEFAULT_SOURCE \
|
|
LinuxGnuSourceDefines LinuxLocaleDefines
|
|
# define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
|
|
# ifndef HasLibCrypt
|