aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lookupd_ldap/Makefile6
-rw-r--r--sysutils/lookupd_ldap/files/patch-bsdtss.h20
2 files changed, 21 insertions, 5 deletions
diff --git a/sysutils/lookupd_ldap/Makefile b/sysutils/lookupd_ldap/Makefile
index 9ac6ca4ab126..3ec0883b1194 100644
--- a/sysutils/lookupd_ldap/Makefile
+++ b/sysutils/lookupd_ldap/Makefile
@@ -6,7 +6,7 @@
PORTNAME= lookupd_ldap
PORTVERSION= 0.1.a
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils net
MASTER_SITES= http://www.rsu.ru/~bushman/lookupd/ldap/downloads/
@@ -22,10 +22,6 @@ PLIST_FILES= lib/lkpd_ldap.so lib/lkpd_ldap.so.1
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" && ${OSVERSION} >= 700042
-BROKEN= Does not compile with gcc42 on 64-bit platforms
-.endif
-
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/sysutils/lookupd_ldap/files/patch-bsdtss.h b/sysutils/lookupd_ldap/files/patch-bsdtss.h
new file mode 100644
index 000000000000..5b7e7dc17977
--- /dev/null
+++ b/sysutils/lookupd_ldap/files/patch-bsdtss.h
@@ -0,0 +1,20 @@
+--- bsdtss.h.orig 2004-07-03 00:53:00.000000000 -0700
++++ bsdtss.h 2008-07-24 13:55:53.489372983 -0700
+@@ -29,7 +29,7 @@
+ #include <stdio.h>
+
+ #define DECLARE_TSS(x,ytype,shouldinit,y) \
+- static pthread_key_t _##x##_tss_key=(pthread_key_t)NULL; \
++ static pthread_key_t _##x##_tss_key=(pthread_key_t)0; \
+ \
+ static void _##x##_tss_init(void)\
+ {\
+@@ -52,7 +52,7 @@
+ }
+
+ #define DECLARE_TSS_WITH_INIT(x,ytype,fn) \
+- static pthread_key_t _##x##_tss_key=(pthread_key_t)NULL; \
++ static pthread_key_t _##x##_tss_key=(pthread_key_t)0; \
+ \
+ static void _##x##_tss_init(void)\
+ {\