svn commit: r370851 - in head/www/apache22: . files
Mathieu Arnold
mat at FreeBSD.org
Tue Oct 14 13:23:52 UTC 2014
Author: mat
Date: Tue Oct 14 13:23:51 2014
New Revision: 370851
URL: https://svnweb.freebsd.org/changeset/ports/370851
QAT: https://qat.redports.org/buildarchive/r370851/
Log:
Remove a #define strtoul that is messing up with c++.
Differential Revision: https://reviews.freebsd.org/D945
Approved by: ohauer
Sponsored by: Absolight
Added:
head/www/apache22/files/patch-include__httpd.h (contents, props changed)
Modified:
head/www/apache22/Makefile
Modified: head/www/apache22/Makefile
==============================================================================
--- head/www/apache22/Makefile Tue Oct 14 12:39:38 2014 (r370850)
+++ head/www/apache22/Makefile Tue Oct 14 13:23:51 2014 (r370851)
@@ -2,7 +2,7 @@
PORTNAME= apache22
PORTVERSION= 2.2.29
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= www ipv6
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
DISTNAME= httpd-${PORTVERSION}
Added: head/www/apache22/files/patch-include__httpd.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/apache22/files/patch-include__httpd.h Tue Oct 14 13:23:51 2014 (r370851)
@@ -0,0 +1,15 @@
+--- include/httpd.h.orig 2014-08-21 17:33:48 UTC
++++ include/httpd.h
+@@ -1905,12 +1905,6 @@
+ const char *cmd,
+ const char * const *argv);
+
+-/** strtoul does not exist on sunos4. */
+-#ifdef strtoul
+-#undef strtoul
+-#endif
+-#define strtoul strtoul_is_not_a_portable_function_use_strtol_instead
+-
+ /* The C library has functions that allow const to be silently dropped ...
+ these macros detect the drop in maintainer mode, but use the native
+ methods for normal builds
More information about the svn-ports-head
mailing list