svn commit: r400334 - in head/devel/ccache: . files

Bryan Drewery bdrewery at FreeBSD.org
Tue Oct 27 18:31:03 UTC 2015


Author: bdrewery
Date: Tue Oct 27 18:31:02 2015
New Revision: 400334
URL: https://svnweb.freebsd.org/changeset/ports/400334

Log:
  - Fix defining of strndup(3) prototype due to improperly defined
    _POSIX_C_SOURCE and _XOPEN_SOURCE.  strndup(3) came in POSIX.1-2008.

Added:
  head/devel/ccache/files/patch-configure   (contents, props changed)
Modified:
  head/devel/ccache/Makefile

Modified: head/devel/ccache/Makefile
==============================================================================
--- head/devel/ccache/Makefile	Tue Oct 27 18:01:28 2015	(r400333)
+++ head/devel/ccache/Makefile	Tue Oct 27 18:31:02 2015	(r400334)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ccache
 PORTVERSION=	3.2.4
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.samba.org/ftp/ccache/ \
 		LOCAL/bdrewery

Added: head/devel/ccache/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ccache/files/patch-configure	Tue Oct 27 18:31:02 2015	(r400334)
@@ -0,0 +1,20 @@
+--- configure.orig	2015-10-08 12:14:23.000000000 -0700
++++ configure	2015-10-27 10:49:04.338642000 -0700
+@@ -3672,7 +3672,7 @@
+       ;;
+     *)
+ 
+-$as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
++$as_echo "#define _XOPEN_SOURCE 700" >>confdefs.h
+ 
+       ;;
+   esac
+@@ -3694,7 +3694,7 @@
+   esac
+ 
+ 
+-$as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h
++$as_echo "#define _POSIX_C_SOURCE 200809L" >>confdefs.h
+ 
+ 
+ fi


More information about the svn-ports-all mailing list