aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/tora/Makefile6
-rw-r--r--databases/tora/files/patch-tothread.h11
2 files changed, 12 insertions, 5 deletions
diff --git a/databases/tora/Makefile b/databases/tora/Makefile
index f98097705996..aefe056c5caf 100644
--- a/databases/tora/Makefile
+++ b/databases/tora/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tora
PORTVERSION= 1.3.21
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -52,10 +52,6 @@ PREFIX2FIX= help/preferences.html totool.cpp
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700000
-BROKEN= does not link with oracle8-client
-.endif
-
pre-configure:
${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's|/etc/torarc|${PREFIX}/etc/torarc|' ${PREFIX2FIX:S|^|${WRKSRC}/|}
diff --git a/databases/tora/files/patch-tothread.h b/databases/tora/files/patch-tothread.h
new file mode 100644
index 000000000000..a171c871047f
--- /dev/null
+++ b/databases/tora/files/patch-tothread.h
@@ -0,0 +1,11 @@
+--- tothread.h.orig 2007-11-13 02:21:24.000000000 +0600
++++ tothread.h 2007-11-13 02:21:49.000000000 +0600
+@@ -217,6 +217,8 @@
+ * thread and task objects so the calling thread must never delete a started thread.
+ */
+
++void *toThreadStartWrapper(void*);
++
+ class toThread
+ {
+ private: