diff options
author | Alexey Neyman <stilor@att.net> | 2017-12-02 23:30:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-02 23:30:38 (GMT) |
commit | d917a29865876b913fe2939ee2a0728145e8543a (patch) | |
tree | 4e048ed57988306696efa3c5b81a80d48030e913 /packages/gettext/0.19.7/0004-Fix-Cygwin-sys-select-2.patch | |
parent | e832b9b220f90b11b893e2815ceb37ec2b708683 (diff) | |
parent | 98bc4decdeab1361bdc585c86591718fb08c8ffb (diff) |
Merge pull request #874 from stilor/renumber-update-patches
Renumber & update patches
Diffstat (limited to 'packages/gettext/0.19.7/0004-Fix-Cygwin-sys-select-2.patch')
-rw-r--r-- | packages/gettext/0.19.7/0004-Fix-Cygwin-sys-select-2.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/gettext/0.19.7/0004-Fix-Cygwin-sys-select-2.patch b/packages/gettext/0.19.7/0004-Fix-Cygwin-sys-select-2.patch new file mode 100644 index 0000000..c9475f7 --- /dev/null +++ b/packages/gettext/0.19.7/0004-Fix-Cygwin-sys-select-2.patch @@ -0,0 +1,30 @@ +--- + gettext-tools/gnulib-lib/sys_select.in.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +--- a/gettext-tools/gnulib-lib/sys_select.in.h ++++ b/gettext-tools/gnulib-lib/sys_select.in.h +@@ -82,8 +82,8 @@ + Also, Mac OS X, AIX, HP-UX, IRIX, Solaris, Interix declare select() + in <sys/time.h>. + But avoid namespace pollution on glibc systems and "unknown type +- name" problems on Cygwin. */ +-# if !(defined __GLIBC__ || defined __CYGWIN__) ++ name" problems on newlib systems. */ ++# if !(defined __GLIBC__ || defined __NEWLIB__) + # include <sys/time.h> + # endif + +@@ -102,10 +102,10 @@ + + /* Get definition of 'sigset_t'. + But avoid namespace pollution on glibc systems and "unknown type +- name" problems on Cygwin. ++ name" problems on newlib systems.. + Do this after the include_next (for the sake of OpenBSD 5.0) but before + the split double-inclusion guard (for the sake of Solaris). */ +-#if !((defined __GLIBC__ || defined __CYGWIN__) && !defined __UCLIBC__) ++#if !((defined __GLIBC__ || defined __NEWLIB__) && !defined __UCLIBC__) + # include <signal.h> + #endif + |