summaryrefslogtreecommitdiff
path: root/package/tcsh/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-25 17:18:58 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-25 17:18:58 +0100
commit39d95459c8f10def07bfaa0da4b880995bbaf652 (patch)
tree1cc907b5959aab099d88099f8d5711d1fd06321a /package/tcsh/patches
parent0106b3dddcd0b1cfa4d090b0ee1f9d71dce5e98c (diff)
fix musl compile
Diffstat (limited to 'package/tcsh/patches')
-rw-r--r--package/tcsh/patches/patch-sh_h8
-rw-r--r--package/tcsh/patches/patch-sh_proc_c11
2 files changed, 15 insertions, 4 deletions
diff --git a/package/tcsh/patches/patch-sh_h b/package/tcsh/patches/patch-sh_h
index 029fca58f..c3d460ff6 100644
--- a/package/tcsh/patches/patch-sh_h
+++ b/package/tcsh/patches/patch-sh_h
@@ -1,6 +1,6 @@
---- tcsh-6.17.00.orig/sh.h 2009-06-25 23:27:37.000000000 +0200
-+++ tcsh-6.17.00/sh.h 2010-07-31 19:48:01.000000000 +0200
-@@ -338,7 +338,7 @@ static inline void ignore(intptr_t a)
+--- tcsh-6.18.01.orig/sh.h 2011-04-14 20:25:25.000000000 +0200
++++ tcsh-6.18.01/sh.h 2013-12-25 17:12:55.000000000 +0100
+@@ -361,7 +361,7 @@ typedef long tcsh_number_t;
# include <sys/filio.h>
#endif /* (!FIOCLEX && SUNOS4) || (SYSVREL == 4 && !_SEQUENT_ && !SCO && !_SX ) */
@@ -9,7 +9,7 @@
# include <sys/file.h>
#endif /* !_MINIX && !supermax && !WINNT_NATIVE && !defined(IRIS4D) */
-@@ -375,9 +375,11 @@ static inline void ignore(intptr_t a)
+@@ -395,9 +395,11 @@ typedef long tcsh_number_t;
#include <pwd.h>
#include <grp.h>
#endif /* WINNT_NATIVE */
diff --git a/package/tcsh/patches/patch-sh_proc_c b/package/tcsh/patches/patch-sh_proc_c
new file mode 100644
index 000000000..db32df2eb
--- /dev/null
+++ b/package/tcsh/patches/patch-sh_proc_c
@@ -0,0 +1,11 @@
+--- tcsh-6.18.01.orig/sh.proc.c 2012-01-25 16:34:41.000000000 +0100
++++ tcsh-6.18.01/sh.proc.c 2013-12-25 17:17:37.000000000 +0100
+@@ -47,7 +47,7 @@ RCSID("$tcsh: sh.proc.c,v 3.121 2012/01/
+ # define HZ 16
+ #endif /* aiws */
+
+-#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
++#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__GNU__) || defined(__GLIBC__)
+ # if !defined(__ANDROID__)
+ # define BSDWAIT
+ # endif