1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Update to 0.6.1

- While here, use tabs in variable assignments

PR:		ports/159910
Submitted by:	Valery Komarov <komarov@valerka.net>, Ilya Bakulin <webmaster@kibab.com> (maintainer)
Approved by:	Ilya Bakulin <webmaster@kibab.com> (maintainer)
This commit is contained in:
Chris Rees 2011-08-29 10:21:58 +00:00
parent 32b93bf143
commit 3770937499
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280686
2 changed files with 11 additions and 29 deletions

View File

@ -1,4 +1,4 @@
# New ports collection makefile for: thrift
# New ports collection makefile for: php5-thrift
# Date created: Sat May 8 12:33:05 MSD 2010
# Whom: Ilya Bakulin <webmaster@kibab.com>
#
@ -6,10 +6,10 @@
#
PORTNAME= thrift
PORTVERSION= 0.2.0
PORTVERSION= 0.6.1
CATEGORIES= devel
PKGNAMEPREFIX= php5-
DISTFILES=
DISTFILES= # empty
MAINTAINER= webmaster@kibab.com
COMMENT= PHP interface to Thrift
@ -25,5 +25,7 @@ WRKSRC=${WRKDIR}/php/src/ext/thrift_protocol
post-extract:
${LN} -sfh \
`cd ${PORTSDIR}/devel/thrift && ${MAKE} -V WRKSRC`/lib/php ${WRKDIR}
`${MAKE} -C ${PORTSDIR}/devel/thrift -V WRKSRC`/lib/php \
${WRKDIR}
.include <bsd.port.mk>

View File

@ -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,