svn commit: r464770 - head/net-p2p/amule/files
Barbara Guida
bar at FreeBSD.org
Sat Mar 17 09:06:33 UTC 2018
Author: bar
Date: Sat Mar 17 09:06:32 2018
New Revision: 464770
URL: https://svnweb.freebsd.org/changeset/ports/464770
Log:
Attempt to fix on HEAD.
Added:
head/net-p2p/amule/files/patch-src_webserver_src_php_amule_lib.cpp (contents, props changed)
head/net-p2p/amule/files/patch-src_webserver_src_php_core_lib.cpp (contents, props changed)
Added: head/net-p2p/amule/files/patch-src_webserver_src_php_amule_lib.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-p2p/amule/files/patch-src_webserver_src_php_amule_lib.cpp Sat Mar 17 09:06:32 2018 (r464770)
@@ -0,0 +1,11 @@
+--- src/webserver/src/php_amule_lib.cpp.orig 2016-09-16 09:55:07.000000000 +0200
++++ src/webserver/src/php_amule_lib.cpp 2018-03-17 09:50:11.347042000 +0100
+@@ -564,7 +564,7 @@
+ case 1: search_type = EC_SEARCH_GLOBAL; break;
+ case 2: search_type = EC_SEARCH_KAD; break;
+ default:
+- php_report_error(PHP_ERROR, "Invalid search type %"PRIu64, si->var->value.int_val);
++ php_report_error(PHP_ERROR, "Invalid search type %" PRIu64, si->var->value.int_val);
+ return;
+ }
+
Added: head/net-p2p/amule/files/patch-src_webserver_src_php_core_lib.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-p2p/amule/files/patch-src_webserver_src_php_core_lib.cpp Sat Mar 17 09:06:32 2018 (r464770)
@@ -0,0 +1,11 @@
+--- src/webserver/src/php_core_lib.cpp.orig 2016-09-16 09:55:07.000000000 +0200
++++ src/webserver/src/php_core_lib.cpp 2018-03-17 09:46:29.766922000 +0100
+@@ -71,7 +71,7 @@
+ if ( ref ) printf("&");
+ switch(node->type) {
+ case PHP_VAL_BOOL: printf("bool(%s)\n", node->int_val ? "true" : "false"); break;
+- case PHP_VAL_INT: printf("int(%"PRIu64")\n", node->int_val); break;
++ case PHP_VAL_INT: printf("int(%" PRIu64 ")\n", node->int_val); break;
+ case PHP_VAL_FLOAT: printf("float(%f)\n", node->float_val); break;
+ case PHP_VAL_STRING: printf("string(%d) \"%s\"\n", (int)strlen(node->str_val), node->str_val); break;
+ case PHP_VAL_OBJECT: printf("Object(%s)\n", node->obj_val.class_name); break;
More information about the svn-ports-all
mailing list