ports/159910: [patch] devel/php5-thrift build fix
Valery Komarov
komarov at valerka.net
Fri Aug 19 11:50:09 UTC 2011
>Number: 159910
>Category: ports
>Synopsis: [patch] devel/php5-thrift build fix
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 19 11:50:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Valery Komarov
>Release:
>Organization:
>Environment:
>Description:
port don't build
>How-To-Repeat:
#cd /usr/ports/devel/php5-thrift && make install
>Fix:
use attached patch
Patch attached with submission follows:
diff -ruN ./php5-thrift.orig/Makefile ./php5-thrift/Makefile
--- ./php5-thrift.orig/Makefile 2010-10-07 19:45:18.000000000 +0400
+++ ./php5-thrift/Makefile 2011-08-19 15:38:54.000000000 +0400
@@ -6,7 +6,7 @@
#
PORTNAME= thrift
-PORTVERSION= 0.2.0
+PORTVERSION= 0.7.0
CATEGORIES= devel
PKGNAMEPREFIX= php5-
DISTFILES=
diff -ruN ./php5-thrift.orig/files/patch-php_thrift_protocol.cpp ./php5-thrift/files/patch-php_thrift_protocol.cpp
--- ./php5-thrift.orig/files/patch-php_thrift_protocol.cpp 2010-10-07 19:45:18.000000000 +0400
+++ ./php5-thrift/files/patch-php_thrift_protocol.cpp 1970-01-01 03:00:00.000000000 +0300
@@ -1,20 +0,0 @@
---- php_thrift_protocol.cpp 2010-04-23 17:28:32.000000000 +0400
-+++ php_thrift_protocol.cpp 2010-04-23 17:29:32.000000000 +0400
-@@ -24,8 +24,7 @@
- #include <sys/types.h>
- #include <netinet/in.h>
- #include <unistd.h>
--#include <endian.h>
--#include <byteswap.h>
-+#include <machine/endian.h>
- #include <stdexcept>
-
- #if __BYTE_ORDER == __LITTLE_ENDIAN
-@@ -36,6 +35,7 @@
- #define ntohll(x) x
- #endif
-
-+#define bswap_64 __bswap64
- enum TType {
- T_STOP = 0,
- T_VOID = 1,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list