summaryrefslogtreecommitdiff
path: root/databases/tora
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2007-11-13 20:26:37 +0000
committerMax Khon <fjoe@FreeBSD.org>2007-11-13 20:26:37 +0000
commit185c1b142b11bc9aff9d2945bf41f5838f94161d (patch)
tree5d94f597b1a5c4d18d73b5417b76dc6276a89876 /databases/tora
parentUpdate to 0.2.0. This fixes unresolved symbols in libclntsh.a on FreeBSD 7 an... (diff)
Fix build with gcc 4.2.
Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=202692
Diffstat (limited to 'databases/tora')
-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: