svn commit: r328975 - in head/science/libkml: . files
John Marino
marino at FreeBSD.org
Tue Oct 1 17:41:27 UTC 2013
Author: marino
Date: Tue Oct 1 17:41:26 2013
New Revision: 328975
URL: http://svnweb.freebsd.org/changeset/ports/328975
Log:
science/libkml: add <unistd.h> for modern compilers
Also, this port unfortunately sets -Werror, and the use of long-long
with c++98 triggers a warning, so also turn off that check.
Approved by: portmgr (bapt, implicit)
Added:
head/science/libkml/files/
head/science/libkml/files/patch-src_kml_base_file__posix.cc (contents, props changed)
Modified:
head/science/libkml/Makefile
Modified: head/science/libkml/Makefile
==============================================================================
--- head/science/libkml/Makefile Tue Oct 1 17:39:23 2013 (r328974)
+++ head/science/libkml/Makefile Tue Oct 1 17:41:26 2013 (r328975)
@@ -16,7 +16,7 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
-CFLAGS+= -I${LOCALBASE}/include
+CFLAGS+= -I${LOCALBASE}/include -Wno-long-long
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
Added: head/science/libkml/files/patch-src_kml_base_file__posix.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/libkml/files/patch-src_kml_base_file__posix.cc Tue Oct 1 17:41:26 2013 (r328975)
@@ -0,0 +1,10 @@
+--- src/kml/base/file_posix.cc.orig 2010-01-14 00:16:30.000000000 +0000
++++ src/kml/base/file_posix.cc
+@@ -29,6 +29,7 @@
+ #include "kml/base/file.h"
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
More information about the svn-ports-all
mailing list