From 2871e9f8a6d602c2a69f48cd3f426ba0b168d4b6 Mon Sep 17 00:00:00 2001 From: acoul Date: Mon, 6 Dec 2010 22:54:47 +0000 Subject: [PATCH] libs/gettext: remove unnecessary patch (thanks xMff) git-svn-id: svn://svn.openwrt.org/openwrt/packages@24292 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/gettext/patches/160-uclibc_sched_h_fix.patch | 26 ----------------------- 1 file changed, 26 deletions(-) delete mode 100644 libs/gettext/patches/160-uclibc_sched_h_fix.patch 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 5f5313c29..000000000 --- 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; -- 2.11.0