aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortimur <timur@FreeBSD.org>2010-02-10 18:54:00 +0800
committertimur <timur@FreeBSD.org>2010-02-10 18:54:00 +0800
commitc1b5a18daef13a5fb17bce8547a88a0b46ce62f1 (patch)
treeb056c1eed43946b381c90fb4dba9fb7e32f8f52a /net
parent9ad4e3d99f7ac3ae8477aacebc2109556a4ae64b (diff)
downloadfreebsd-ports-graphics-c1b5a18daef13a5fb17bce8547a88a0b46ce62f1.tar.gz
freebsd-ports-graphics-c1b5a18daef13a5fb17bce8547a88a0b46ce62f1.tar.zst
freebsd-ports-graphics-c1b5a18daef13a5fb17bce8547a88a0b46ce62f1.zip
FreeBSD 6.x misses SIGRTMAX/SIGRTMIN, which breaks the build. Fixed.
Diffstat (limited to 'net')
-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