aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2010-08-18 00:58:42 +0800
committerskv <skv@FreeBSD.org>2010-08-18 00:58:42 +0800
commit1fc66acde604c0541620fe46153c4c7e47f46f36 (patch)
tree16d4f6717a811f5a6afc0dc49583d1b3d9d5a3ce /devel
parent9269e3aa690b96f37913a66f7b84502ce8e94d53 (diff)
downloadfreebsd-ports-gnome-1fc66acde604c0541620fe46153c4c7e47f46f36.tar.gz
freebsd-ports-gnome-1fc66acde604c0541620fe46153c4c7e47f46f36.tar.zst
freebsd-ports-gnome-1fc66acde604c0541620fe46153c4c7e47f46f36.zip
Add patch for issue THRIFT-817.
WWW: https://issues.apache.org/jira/browse/THRIFT-817
Diffstat (limited to 'devel')
-rw-r--r--devel/thrift/Makefile3
-rw-r--r--devel/thrift/files/patch-THRIFT-81711
2 files changed, 13 insertions, 1 deletions
diff --git a/devel/thrift/Makefile b/devel/thrift/Makefile
index 264f866f7615..8ee969f8da1e 100644
--- a/devel/thrift/Makefile
+++ b/devel/thrift/Makefile
@@ -7,6 +7,7 @@
PORTNAME= thrift
PORTVERSION= 0.3.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= APACHE
@@ -53,7 +54,7 @@ CONFIGURE_ARGS+= \
BROKEN= Does not compile on sparc64
.endif
-do-patch:
+post-patch:
@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/cpp/Makefile.am
pre-configure:
diff --git a/devel/thrift/files/patch-THRIFT-817 b/devel/thrift/files/patch-THRIFT-817
new file mode 100644
index 000000000000..87aed3e668f8
--- /dev/null
+++ b/devel/thrift/files/patch-THRIFT-817
@@ -0,0 +1,11 @@
+--- lib/cpp/src/concurrency/Mutex.h (revision 986202)
++++ lib/cpp/src/concurrency/Mutex.h (working copy)
+@@ -133,7 +133,7 @@
+ // as to whether we're doing acquireRead() or acquireWrite().
+ enum RWGuardType {
+ RW_READ = 0,
+- RW_WRITE = 1,
++ RW_WRITE = 1
+ };
+
+