From 7879ebfadc1723442f51445df8190321d251bc11 Mon Sep 17 00:00:00 2001 From: John Marino Date: Tue, 1 Oct 2013 17:41:26 +0000 Subject: science/libkml: add 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) --- science/libkml/files/patch-src_kml_base_file__posix.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 science/libkml/files/patch-src_kml_base_file__posix.cc (limited to 'science/libkml/files') diff --git a/science/libkml/files/patch-src_kml_base_file__posix.cc b/science/libkml/files/patch-src_kml_base_file__posix.cc new file mode 100644 index 000000000000..fa6efde6aead --- /dev/null +++ b/science/libkml/files/patch-src_kml_base_file__posix.cc @@ -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 + #include ++#include + #include + #include + -- cgit v1.2.3