diff options
Diffstat (limited to 'source/l')
-rw-r--r-- | source/l/FTBFSlog | 5 | ||||
-rw-r--r-- | source/l/glib/glib-1.2.10-gcc9.patch | 39 | ||||
-rwxr-xr-x | source/l/glib/glib.SlackBuild | 1 |
3 files changed, 45 insertions, 0 deletions
diff --git a/source/l/FTBFSlog b/source/l/FTBFSlog index 3cd6a9da..a9b36139 100644 --- a/source/l/FTBFSlog +++ b/source/l/FTBFSlog @@ -1,3 +1,8 @@ +Mon Jun 3 17:08:10 UTC 2019 + glib: patch for gcc9. Thanks to Matteo Bernardini. + Note that on 32-bit x86, xmms and normalize will not recompile until glib-1 + has been rebuilt with this patch. ++--------------------------+ Mon May 20 04:25:26 UTC 2019 mozjs52: --disable-tests. Thanks to Matteo Bernardini. +--------------------------+ diff --git a/source/l/glib/glib-1.2.10-gcc9.patch b/source/l/glib/glib-1.2.10-gcc9.patch new file mode 100644 index 00000000..36547e4f --- /dev/null +++ b/source/l/glib/glib-1.2.10-gcc9.patch @@ -0,0 +1,39 @@ +--- glib.h ++++ glib.h +@@ -535,9 +535,10 @@ typedef gint32 GTime; + if (__builtin_constant_p (val)) \ + __v = GUINT16_SWAP_LE_BE_CONSTANT (val); \ + else \ +- __asm__ __const__ ("rorw $8, %w0" \ ++ __asm__ ("rorw $8, %w0" \ + : "=r" (__v) \ +- : "0" ((guint16) (val))); \ ++ : "0" ((guint16) (val)) \ ++ : "cc"); \ + __v; })) + # define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_X86 (val)) + # if !defined(__i486__) && !defined(__i586__) \ +@@ -548,11 +549,12 @@ typedef gint32 GTime; + if (__builtin_constant_p (val)) \ + __v = GUINT32_SWAP_LE_BE_CONSTANT (val); \ + else \ +- __asm__ __const__ ("rorw $8, %w0\n\t" \ ++ __asm__ ("rorw $8, %w0\n\t" \ + "rorl $16, %0\n\t" \ + "rorw $8, %w0" \ + : "=r" (__v) \ +- : "0" ((guint32) (val))); \ ++ : "0" ((guint32) (val)) \ ++ : "cc"); \ + __v; })) + # else /* 486 and higher has bswap */ + # define GUINT32_SWAP_LE_BE_X86(val) \ +@@ -561,7 +563,7 @@ typedef gint32 GTime; + if (__builtin_constant_p (val)) \ + __v = GUINT32_SWAP_LE_BE_CONSTANT (val); \ + else \ +- __asm__ __const__ ("bswap %0" \ ++ __asm__ ("bswap %0" \ + : "=r" (__v) \ + : "0" ((guint32) (val))); \ + __v; })) diff --git a/source/l/glib/glib.SlackBuild b/source/l/glib/glib.SlackBuild index afefe9e4..e72719dd 100755 --- a/source/l/glib/glib.SlackBuild +++ b/source/l/glib/glib.SlackBuild @@ -77,6 +77,7 @@ zcat $CWD/glib-1.2.10-unused-dep.patch.gz | patch -p1 --verbose || exit 1 zcat $CWD/glib-1.2.10-autotools.patch.gz | patch -p0 --verbose || exit 1 zcat $CWD/glib-1.2.10-format.patch.gz | patch -p0 --verbose || exit 1 zcat $CWD/glib-1.2.10-gcc5.patch.gz | patch -p0 --verbose || exit 1 +zcat $CWD/glib-1.2.10-gcc9.patch | patch -p0 --verbose || exit 1 # The original config.{guess,sub} do not work on x86_64 and some other $ARCH: cp -p /usr/share/libtool/build-aux/config.{guess,sub} . |