summaryrefslogtreecommitdiff
path: root/net/ORBit/patches
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2001-10-04 19:25:25 +0000
committerrh <rh@pkgsrc.org>2001-10-04 19:25:25 +0000
commit9c2c826ea585b176448ade30e46b46fc9be781d0 (patch)
treed46903206cd4abba3d1913b9ebc24d4412c9eca2 /net/ORBit/patches
parent96efa0984c748bd7184b5a0a759f79c043a8721e (diff)
downloadpkgsrc-9c2c826ea585b176448ade30e46b46fc9be781d0.tar.gz
Define _POSIX_THREAD_SYSCALL_SOFT=1 so syscalls won't block other threads.
Bump version to 0.5.8nb1
Diffstat (limited to 'net/ORBit/patches')
-rw-r--r--net/ORBit/patches/patch-af13
-rw-r--r--net/ORBit/patches/patch-ag14
2 files changed, 21 insertions, 6 deletions
diff --git a/net/ORBit/patches/patch-af b/net/ORBit/patches/patch-af
new file mode 100644
index 00000000000..cae1e820b44
--- /dev/null
+++ b/net/ORBit/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.6 2001/10/04 19:25:26 rh Exp $
+
+--- src/IIOP/Makefile.in.orig Sun May 13 09:20:26 2001
++++ src/IIOP/Makefile.in
+@@ -128,7 +128,7 @@
+ DEFS = @DEFS@ -I. -I$(srcdir) -I../..
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lpthread
+ @HAVE_HOSTS_ACCESS_TRUE@libIIOP_la_DEPENDENCIES = $(addsuffix .lo, \
+ @HAVE_HOSTS_ACCESS_TRUE@$(basename $(filter %.o, $(shell ar t \
+ @HAVE_HOSTS_ACCESS_TRUE@$(LIBWRAP_PATH)))))
diff --git a/net/ORBit/patches/patch-ag b/net/ORBit/patches/patch-ag
index c817c169b11..796ccb2b432 100644
--- a/net/ORBit/patches/patch-ag
+++ b/net/ORBit/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.6 2001/05/21 19:59:04 rh Exp $
+$NetBSD: patch-ag,v 1.7 2001/10/04 19:25:26 rh Exp $
--- src/IIOP/connection.c.orig Sun May 13 09:07:46 2001
+++ src/IIOP/connection.c
@@ -18,16 +18,18 @@ $NetBSD: patch-ag,v 1.6 2001/05/21 19:59:04 rh Exp $
#include <fcntl.h>
#include <sys/socket.h>
#include <sys/un.h>
-@@ -32,7 +34,7 @@
+@@ -31,8 +33,9 @@
+ #include <sys/ioctl.h>
#include <signal.h>
#include <syslog.h>
++#include <pthread.h>
-#if defined(HAVE_TCPD_H) && defined(HAVE_HOSTS_ACCESS)
+#if defined(HAVE_TCPD_H)
#include <tcpd.h>
#endif
-@@ -80,7 +82,7 @@
+@@ -80,7 +83,7 @@
GIOPConnectionList giop_connection_list;
static GSList *iiop_unix_socket_list = NULL;
@@ -36,7 +38,7 @@ $NetBSD: patch-ag,v 1.6 2001/05/21 19:59:04 rh Exp $
static const char *argv0_val = NULL;
#endif
-@@ -104,7 +106,7 @@
+@@ -104,7 +107,7 @@
struct sigaction mypipe;
g_assert(sizeof(GIOPMessageHeader) == 12);
@@ -45,7 +47,7 @@ $NetBSD: patch-ag,v 1.6 2001/05/21 19:59:04 rh Exp $
argv0_val = g_strdup(g_basename(argv0)); /* For TCP wrappers */
#endif
-@@ -1007,7 +1009,7 @@
+@@ -1007,7 +1010,7 @@
*/
int allow_severity = LOG_INFO, deny_severity = LOG_NOTICE;
@@ -54,7 +56,7 @@ $NetBSD: patch-ag,v 1.6 2001/05/21 19:59:04 rh Exp $
DEFINE_LOCK(tcp_wrappers_usage);
#endif
-@@ -1033,7 +1035,7 @@
+@@ -1033,7 +1036,7 @@
newfd = accept(GIOP_CONNECTION_GET_FD(connection), &sock, &n);