summaryrefslogtreecommitdiffstats
path: root/development/icon/patches/glibc.patch
diff options
context:
space:
mode:
author Kyle Guinn2019-07-07 21:24:42 +0200
committer Willy Sudiarto Raharjo2019-07-13 03:31:02 +0200
commitb89ba185a16ad7d9f69341b7cc0920399b627fa6 (patch)
tree97967a3e13fd73310ab51c9498b3b1d484ea4d1b /development/icon/patches/glibc.patch
parent38a15d32baf99425e9c68f9056821ca348a5c0b8 (diff)
downloadslackbuilds-b89ba185a16ad7d9f69341b7cc0920399b627fa6.tar.gz
development/icon: Fix URLs, add upstream patches.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'development/icon/patches/glibc.patch')
-rw-r--r--development/icon/patches/glibc.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/development/icon/patches/glibc.patch b/development/icon/patches/glibc.patch
new file mode 100644
index 0000000000..b0629d0cc8
--- /dev/null
+++ b/development/icon/patches/glibc.patch
@@ -0,0 +1,23 @@
+commit bfc4a6004d0d3984c8066289b8d8e563640c4ddd
+Author: Gregg Townsend <gmt@cs.arizona.edu>
+Date: Mon Oct 29 10:07:31 2018 -0700
+
+ Adapt to change in GLIBC v2.28 internals (thx Cheyenne Wills).
+
+diff --git a/ipl/cfuncs/fpoll.c b/ipl/cfuncs/fpoll.c
+--- a/ipl/cfuncs/fpoll.c
++++ b/ipl/cfuncs/fpoll.c
+@@ -60,12 +64,9 @@
+
+ /* check for data already in buffer */
+ /* there's no legal way to do this in C; we cheat */
+-#if defined(__GLIBC__) && defined(_STDIO_USES_IOSTREAM) /* new GCC library */
++#if defined(__GLIBC__) /* new GCC library */
+ if (f->_IO_read_ptr < f->_IO_read_end)
+ RetArg(1);
+-#elif defined(__GLIBC__) /* old GCC library */
+- if (f->__bufp < f->__get_limit)
+- RetArg(1);
+ #elif defined(_FSTDIO) /* new BSD library */
+ if (f->_r > 0)
+ RetArg(1);