From: Alexandros C. Couloumbis Date: Mon, 6 Dec 2010 22:54:47 +0000 (+0000) Subject: libs/gettext: remove unnecessary patch (thanks xMff) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=89cdcae7db4b354c43f077d14b6fb81e5053c01f libs/gettext: remove unnecessary patch (thanks xMff) SVN-Revision: 24292 --- diff --git a/libs/gettext/patches/160-uclibc_sched_h_fix.patch b/libs/gettext/patches/160-uclibc_sched_h_fix.patch deleted file mode 100644 index 5f5313c295..0000000000 --- a/libs/gettext/patches/160-uclibc_sched_h_fix.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- a/gettext-tools/gnulib-lib/spawn.in.h -+++ b/gettext-tools/gnulib-lib/spawn.in.h -@@ -31,8 +31,10 @@ - - /* Get definitions of 'struct sched_param' and 'sigset_t'. - But avoid namespace pollution on glibc systems. */ --#ifndef __GLIBC__ -+#ifndef __GLIBC__ || __UCLIBC__ - # include -+#endif -+#ifndef __GLIBC__ - # include - #endif - -@@ -88,7 +90,11 @@ typedef struct - pid_t _pgrp; - sigset_t _sd; - sigset_t _ss; -+#ifdef __UCLIBC__ -+ struct __sched_param _sp; -+#else - struct sched_param _sp; -+#endif - int _policy; - int __pad[16]; - } posix_spawnattr_t;