Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2014 13:23:51 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370851 - in head/www/apache22: . files
Message-ID:  <201410141323.s9EDNp4r032903@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410141323.s9EDNp4r032903>