ports/154213: Patch for devel/thrift which fixes database/hypertable
Grzegorz Blach
magik at roorback.net
Fri Jan 21 23:00:20 UTC 2011
>Number: 154213
>Category: ports
>Synopsis: Patch for devel/thrift which fixes database/hypertable
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 21 23:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Grzegorz Blach
>Release: 8.1-RC1
>Organization:
>Environment:
FreeBSD silver.nine 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #5 r217228: Mon Jan 10 21:26:14 CET 2011 root at silver.nine:/usr/obj/usr/src/sys/SILVER amd64
>Description:
I created a little patch for devel/thrift which fixes database/hypertable build.
This is only a workaround, I don't find where is problem, but this looks like bug in gcc.
>How-To-Repeat:
cd /usr/ports/database/hypertable && make
>Fix:
apply patch for devel/thrift
Patch attached with submission follows:
diff -x .svn -ruN /var/cache/portshaker/ports/devel/thrift/Makefile devel/thrift/Makefile
--- /var/cache/portshaker/ports/devel/thrift/Makefile 2010-12-11 00:05:04.000000000 +0100
+++ devel/thrift/Makefile 2011-01-20 20:41:32.242771273 +0100
@@ -7,6 +7,7 @@
PORTNAME= thrift
PORTVERSION= 0.4.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= APACHE
diff -x .svn -ruN /var/cache/portshaker/ports/devel/thrift/distinfo devel/thrift/distinfo
--- /var/cache/portshaker/ports/devel/thrift/distinfo 2010-12-11 00:05:04.000000000 +0100
+++ devel/thrift/distinfo 2011-01-20 20:41:32.242771273 +0100
@@ -1,3 +1,2 @@
-MD5 (thrift-0.4.0.tar.gz) = bb8466e5b884e9edef862a64f57abe38
SHA256 (thrift-0.4.0.tar.gz) = 7cb8825a8888686ed6a9e229c9e9fcd9878a4af623785e1b22cdcc01a578d248
SIZE (thrift-0.4.0.tar.gz) = 1206710
diff -x .svn -ruN /var/cache/portshaker/ports/devel/thrift/files/patch-lib-cpp-src-concurrency-Mutex.h devel/thrift/files/patch-lib-cpp-src-concurrency-Mutex.h
--- /var/cache/portshaker/ports/devel/thrift/files/patch-lib-cpp-src-concurrency-Mutex.h 1970-01-01 01:00:00.000000000 +0100
+++ devel/thrift/files/patch-lib-cpp-src-concurrency-Mutex.h 2011-01-20 20:40:04.228292833 +0100
@@ -0,0 +1,9 @@
+--- lib/cpp/src/concurrency/Mutex.h.orig 2011-01-20 18:32:58.691493557 +0100
++++ lib/cpp/src/concurrency/Mutex.h 2011-01-20 18:34:00.561529157 +0100
+@@ -133,7 +133,7 @@
+ // as to whether we're doing acquireRead() or acquireWrite().
+ enum RWGuardType {
+ RW_READ = 0,
+- RW_WRITE = 1,
++ RW_WRITE = 1
+ };
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list