1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to 1.0.1

PR:		ports/99793
Submitted by:	maintainer (Alexander Zhuravlev)
This commit is contained in:
Cheng-Lung Sung 2006-07-05 00:13:48 +00:00
parent 880a12518e
commit d43b9f79a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166947
3 changed files with 4 additions and 19 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= pecl_http
DISTVERSION= 1.0.0
DISTVERSION= 1.0.1
CATEGORIES= www pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-

View File

@ -1,3 +1,3 @@
MD5 (PECL/pecl_http-1.0.0.tgz) = f21c770c8608329256f9c712a9e21319
SHA256 (PECL/pecl_http-1.0.0.tgz) = e0717ce977164cf37fd9e8d81616546be3f21a3103464208b1e1375fa8abbc93
SIZE (PECL/pecl_http-1.0.0.tgz) = 185967
MD5 (PECL/pecl_http-1.0.1.tgz) = 3246a4a1fb9297f91abd8585ee98ae7d
SHA256 (PECL/pecl_http-1.0.1.tgz) = 39b2e1c6fe87f18bf1786d4dcbbac7117290eb2ecf1fbf1cc3898c68d137a1eb
SIZE (PECL/pecl_http-1.0.1.tgz) = 185893

View File

@ -1,15 +0,0 @@
--- php_http.h.orig Fri Jun 9 02:10:44 2006
+++ php_http.h Sun Jun 11 17:06:51 2006
@@ -144,7 +144,11 @@
# define HTTP_G (&http_globals)
#endif
-#define HTTP_HAVE_EXT(EXT) ((defined(HAVE_##EXT) || defined(HAVE_PHP_##EXT) || defined(HAVE_##EXT##_EXT)) && (HTTP_SHARED_DEPS || !defined(COMPILE_DL_##EXT)))
+#if defined(__GNUC__) && (__GNUC__ < 3)
+# define HTTP_HAVE_EXT(EXT) 0
+#else
+# define HTTP_HAVE_EXT(EXT) ((defined(HAVE_##EXT) || defined(HAVE_PHP_##EXT) || defined(HAVE_##EXT##_EXT)) && (HTTP_SHARED_DEPS || !defined(COMPILE_DL_##EXT)))
+#endif
PHP_FUNCTION(http_test);
PHP_FUNCTION(http_date);