aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/samba34/files/patch-lib__replace__system__wait.h21
-rw-r--r--net/samba34/files/patch-source3__include__includes.h16
2 files changed, 30 insertions, 7 deletions
diff --git a/net/samba34/files/patch-lib__replace__system__wait.h b/net/samba34/files/patch-lib__replace__system__wait.h
new file mode 100644
index 00000000000..d744237ac09
--- /dev/null
+++ b/net/samba34/files/patch-lib__replace__system__wait.h
@@ -0,0 +1,21 @@
+--- ./lib/replace/system/wait.h.orig 2010-02-10 02:17:10.000000000 +0000
++++ ./lib/replace/system/wait.h 2010-02-10 02:19:48.000000000 +0000
+@@ -32,6 +32,18 @@
+
+ #include <signal.h>
+
++#ifndef SIGRTMIN
++# ifdef NSIG
++# define SIGRTMIN (NSIG+1)
++# else
++# define SIGRTMIN 33
++# endif
++#endif
++
++#ifndef SIGRTMAX
++#define SIGRTMAX (SIGRTMIN+64)
++#endif
++
+ #ifndef SIGCLD
+ #define SIGCLD SIGCHLD
+ #endif
diff --git a/net/samba34/files/patch-source3__include__includes.h b/net/samba34/files/patch-source3__include__includes.h
index d63e88c6986..375a7528b19 100644
--- a/net/samba34/files/patch-source3__include__includes.h
+++ b/net/samba34/files/patch-source3__include__includes.h
@@ -1,5 +1,5 @@
---- ./source3/include/includes.h.orig 2010-01-18 12:38:09.000000000 +0100
-+++ ./source3/include/includes.h 2010-01-22 02:42:50.000000000 +0100
+--- ./source3/include/includes.h.orig 2010-01-18 11:38:09.000000000 +0000
++++ ./source3/include/includes.h 2010-02-10 02:08:50.000000000 +0000
@@ -222,6 +222,10 @@
#include <sys/uio.h>
#endif
@@ -11,12 +11,14 @@
#if HAVE_LANGINFO_H
#include <langinfo.h>
#endif
-@@ -756,7 +760,7 @@
+@@ -755,10 +759,6 @@
+ #define SIGCLD SIGCHLD
#endif
- #ifndef SIGRTMIN
+-#ifndef SIGRTMIN
-#define SIGRTMIN 32
-+#define SIGRTMIN NSIG
- #endif
-
+-#endif
+-
#ifndef MAP_FILE
+ #define MAP_FILE 0
+ #endif