summaryrefslogtreecommitdiff
path: root/databases/firebird/files/patch-jrd::thd.c
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-11 17:23:49 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-11 17:23:49 +0000
commit1f412c28a53a1b08c4f6c3a64677e0568388577c (patch)
tree7b8c29151266c541a5201c165909c912cbd3cc59 /databases/firebird/files/patch-jrd::thd.c
parentupgrade to 20021103 (diff)
Add SuperServer build
Remove perl from scripts Remove scripts + consolidate into pkg-install PR: 45185 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=69904
Diffstat (limited to 'databases/firebird/files/patch-jrd::thd.c')
-rw-r--r--databases/firebird/files/patch-jrd::thd.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/firebird/files/patch-jrd::thd.c b/databases/firebird/files/patch-jrd::thd.c
new file mode 100644
index 000000000000..a09c3fe4e1c3
--- /dev/null
+++ b/databases/firebird/files/patch-jrd::thd.c
@@ -0,0 +1,20 @@
+--- jrd/thd.c.orig Thu May 24 14:11:11 2001
++++ jrd/thd.c Sun Jul 7 14:52:07 2002
+@@ -2605,7 +2605,7 @@
+ int detach_state=PTHREAD_CREATE_DETACHED
+ #endif
+
+-#if ( !defined HP10 && !defined linux )
++#if ( !defined HP10 && !defined linux && !defined FREEBSD )
+
+ state = pthread_attr_init (&pattr);
+ if (state)
+@@ -2628,7 +2628,7 @@
+ return state;
+
+ #else
+-#ifdef linux
++#if ( defined linux || defined FREEBSD )
+ if (state = pthread_create (&thread, NULL, routine, arg))
+ return state;
+ return pthread_detach (thread);