aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2016-05-29 02:56:58 +0800
committermartymac <martymac@FreeBSD.org>2016-05-29 02:56:58 +0800
commit33666820b681a1448bcf4fa9a09917a6935e7ce6 (patch)
treed2434cad9934280f4735b56a899ac7a82b9a727e
parent1856629a7a52d67d7bcf624b4a7683995cd5e3b9 (diff)
downloadfreebsd-ports-gnome-33666820b681a1448bcf4fa9a09917a6935e7ce6.tar.gz
freebsd-ports-gnome-33666820b681a1448bcf4fa9a09917a6935e7ce6.tar.zst
freebsd-ports-gnome-33666820b681a1448bcf4fa9a09917a6935e7ce6.zip
Update Simgear & Flightgear ports to 2016.2.1
-rw-r--r--devel/simgear/Makefile2
-rw-r--r--devel/simgear/distinfo5
-rw-r--r--devel/simgear/files/patch-simgear-io-DNSClient.hxx10
-rw-r--r--devel/simgear/files/patch-simgear-misc-sha1.c38
-rw-r--r--devel/simgear/files/patch-simgear-misc-strutils.cxx11
-rw-r--r--devel/simgear/pkg-plist5
-rw-r--r--games/flightgear-data/Makefile2
-rw-r--r--games/flightgear-data/distinfo5
-rw-r--r--games/flightgear/Makefile6
-rw-r--r--games/flightgear/distinfo5
-rw-r--r--games/flightgear/files/patch-3rdparty-hts_engine_API-lib-HTS_misc.c11
-rw-r--r--games/flightgear/files/patch-src-GUI-resources.qrc11
12 files changed, 75 insertions, 36 deletions
diff --git a/devel/simgear/Makefile b/devel/simgear/Makefile
index 7a1278648759..e5bb54d37086 100644
--- a/devel/simgear/Makefile
+++ b/devel/simgear/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= simgear
-PORTVERSION= 2016.1.2
+PORTVERSION= 2016.2.1
CATEGORIES= devel games
MASTER_SITES= SF/flightgear/release-${PORTVERSION:R}
diff --git a/devel/simgear/distinfo b/devel/simgear/distinfo
index 768e8a8906af..873ee9fe1012 100644
--- a/devel/simgear/distinfo
+++ b/devel/simgear/distinfo
@@ -1,2 +1,3 @@
-SHA256 (simgear-2016.1.2.tar.bz2) = 8fb364a4ccf08e71a70cd9994e6a5730400deb234e29a4c112d705bfe66af396
-SIZE (simgear-2016.1.2.tar.bz2) = 1066215
+TIMESTAMP = 1463720848
+SHA256 (simgear-2016.2.1.tar.bz2) = 601d4ef75a7f9e7012f85d6f63219f3e2ef90f98249eaa5d16cc6b1a3c737a0a
+SIZE (simgear-2016.2.1.tar.bz2) = 1161873
diff --git a/devel/simgear/files/patch-simgear-io-DNSClient.hxx b/devel/simgear/files/patch-simgear-io-DNSClient.hxx
new file mode 100644
index 000000000000..6f32dcafa866
--- /dev/null
+++ b/devel/simgear/files/patch-simgear-io-DNSClient.hxx
@@ -0,0 +1,10 @@
+--- simgear/io/DNSClient.hxx.orig 2016-05-26 10:14:14.778785357 +0000
++++ simgear/io/DNSClient.hxx 2016-05-26 10:15:10.233184943 +0000
+@@ -27,6 +27,7 @@
+ #include <memory> // for std::auto_ptr
+ #include <string>
+ #include <vector>
++#include <ctime>
+ #include <simgear/structure/SGReferenced.hxx>
+ #include <simgear/structure/SGSharedPtr.hxx>
+
diff --git a/devel/simgear/files/patch-simgear-misc-sha1.c b/devel/simgear/files/patch-simgear-misc-sha1.c
new file mode 100644
index 000000000000..bc3898b08c0f
--- /dev/null
+++ b/devel/simgear/files/patch-simgear-misc-sha1.c
@@ -0,0 +1,38 @@
+--- simgear/misc/sha1.c.orig 2016-05-25 05:08:11.559005375 +0000
++++ simgear/misc/sha1.c 2016-05-25 05:39:02.947268577 +0000
+@@ -6,25 +6,26 @@
+ //#include <stdint.h>
+ //#include <string.h>
+
++#if defined(__FreeBSD__)
++# include <machine/endian.h>
++#else
++# if !defined(_WIN32)
++# include <endian.h>
++# endif
++#endif
+
+ #ifdef __BIG_ENDIAN__
+ # define SHA_BIG_ENDIAN
+-#elif defined __LITTLE_ENDIAN__
+-/* override */
+ #elif defined __BYTE_ORDER
+ # if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+ # define SHA_BIG_ENDIAN
+ # endif
+-#elif defined _WIN32
+-/* assume little-endian, there is no endian.h on MSVC */
+-#else // ! defined __LITTLE_ENDIAN__
+-# include <endian.h> // machine/endian.h
+-# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+-# define SHA_BIG_ENDIAN
++#elif defined BYTE_ORDER
++# if BYTE_ORDER == BIG_ENDIAN
++# define SHA_BIG_ENDIAN
+ # endif
+ #endif
+
+-
+ /* code */
+ #define SHA1_K0 0x5a827999
+ #define SHA1_K20 0x6ed9eba1
diff --git a/devel/simgear/files/patch-simgear-misc-strutils.cxx b/devel/simgear/files/patch-simgear-misc-strutils.cxx
new file mode 100644
index 000000000000..f7e875bc732e
--- /dev/null
+++ b/devel/simgear/files/patch-simgear-misc-strutils.cxx
@@ -0,0 +1,11 @@
+--- simgear/misc/strutils.cxx.orig 2016-05-20 10:23:23.498474613 +0000
++++ simgear/misc/strutils.cxx 2016-05-20 10:27:20.805099873 +0000
+@@ -615,7 +615,7 @@
+ retcode = strerror_s(buf, sizeof(buf), errnum);
+ #elif defined(_GNU_SOURCE)
+ return std::string(strerror_r(errnum, buf, sizeof(buf)));
+-#elif (_POSIX_C_SOURCE >= 200112L) || defined(SG_MAC)
++#elif (_POSIX_C_SOURCE >= 200112L) || defined(SG_MAC) || defined(__FreeBSD__)
+ int retcode;
+ // POSIX.1-2001 and POSIX.1-2008
+ retcode = strerror_r(errnum, buf, sizeof(buf));
diff --git a/devel/simgear/pkg-plist b/devel/simgear/pkg-plist
index dba327d13407..023b67e898aa 100644
--- a/devel/simgear/pkg-plist
+++ b/devel/simgear/pkg-plist
@@ -76,11 +76,13 @@ include/simgear/ephemeris/star.hxx
include/simgear/ephemeris/stardata.hxx
include/simgear/ephemeris/uranus.hxx
include/simgear/ephemeris/venus.hxx
+include/simgear/io/AbstractRepository.hxx
include/simgear/io/DAVMultiStatus.hxx
+include/simgear/io/DNSClient.hxx
include/simgear/io/HTTPClient.hxx
-include/simgear/io/HTTPContentDecode.hxx
include/simgear/io/HTTPFileRequest.hxx
include/simgear/io/HTTPMemoryRequest.hxx
+include/simgear/io/HTTPRepository.hxx
include/simgear/io/HTTPRequest.hxx
include/simgear/io/SVNDirectory.hxx
include/simgear/io/SVNReportParser.hxx
@@ -137,6 +139,7 @@ include/simgear/misc/gzcontainerfile.hxx
include/simgear/misc/interpolator.hxx
include/simgear/misc/make_new.hxx
include/simgear/misc/sg_dir.hxx
+include/simgear/misc/sg_hash.hxx
include/simgear/misc/sg_path.hxx
include/simgear/misc/sgstream.hxx
include/simgear/misc/stdint.hxx
diff --git a/games/flightgear-data/Makefile b/games/flightgear-data/Makefile
index 778d59aff190..17e4960c5258 100644
--- a/games/flightgear-data/Makefile
+++ b/games/flightgear-data/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= flightgear-data
-PORTVERSION= 2016.1.2
+PORTVERSION= 2016.2.1
CATEGORIES= games
MASTER_SITES= SF/flightgear/release-${PORTVERSION:R}
DISTNAME= FlightGear-${PORTVERSION}-data
diff --git a/games/flightgear-data/distinfo b/games/flightgear-data/distinfo
index e1f00c005051..ec20202576b9 100644
--- a/games/flightgear-data/distinfo
+++ b/games/flightgear-data/distinfo
@@ -1,2 +1,3 @@
-SHA256 (FlightGear-2016.1.2-data.tar.bz2) = a69f860576e31ade6268e3870215f9ae0b28de278e06978a772e987efa0c1ebc
-SIZE (FlightGear-2016.1.2-data.tar.bz2) = 1266744537
+TIMESTAMP = 1463721111
+SHA256 (FlightGear-2016.2.1-data.tar.bz2) = 225b32f4d813635ece72f09541640e818fba95386ff8715015693978c37eaace
+SIZE (FlightGear-2016.2.1-data.tar.bz2) = 1562126790
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index d2503dde578b..e4fe9c0d003e 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= flightgear
-PORTVERSION= 2016.1.2
+PORTVERSION= 2016.2.1
CATEGORIES= games
MASTER_SITES= SF/flightgear/release-${PORTVERSION:R}
@@ -50,10 +50,6 @@ DBUS_CMAKE_OFF= -DUSE_DBUS:BOOL=OFF
USE_GCC= yes
.endif
-post-patch:
- ${MV} "${WRKSRC}/src/GUI/ndb-small-icon .png" \
- "${WRKSRC}/src/GUI/ndb-small-icon.png"
-
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/utils/js_server/js_server \
${STAGEDIR}${PREFIX}/bin
diff --git a/games/flightgear/distinfo b/games/flightgear/distinfo
index 5b5c6c01f3bd..52ca1f7b5855 100644
--- a/games/flightgear/distinfo
+++ b/games/flightgear/distinfo
@@ -1,2 +1,3 @@
-SHA256 (flightgear-2016.1.2.tar.bz2) = c966dc892563185f3398db42e57c6dcf89f1b5fa4f997c0aeba1bafe0d45a919
-SIZE (flightgear-2016.1.2.tar.bz2) = 7544371
+TIMESTAMP = 1463720861
+SHA256 (flightgear-2016.2.1.tar.bz2) = b554170ca6b5943fd90496759b055fb60f362ea96f6c46dfff89e3d12c940a94
+SIZE (flightgear-2016.2.1.tar.bz2) = 7556269
diff --git a/games/flightgear/files/patch-3rdparty-hts_engine_API-lib-HTS_misc.c b/games/flightgear/files/patch-3rdparty-hts_engine_API-lib-HTS_misc.c
deleted file mode 100644
index 9e81e08c7397..000000000000
--- a/games/flightgear/files/patch-3rdparty-hts_engine_API-lib-HTS_misc.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 3rdparty/hts_engine_API/lib/HTS_misc.c.orig 2016-03-04 22:01:27.406278681 +0000
-+++ 3rdparty/hts_engine_API/lib/HTS_misc.c 2016-03-04 22:01:51.791013177 +0000
-@@ -245,7 +245,7 @@
- } else if (fp->type == HTS_FILE) {
- fpos_t pos;
- fgetpos((FILE *) fp->pointer, &pos);
--#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__)
-+#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__ANDROID__)
- return (size_t) pos;
- #else
- return (size_t) pos.__pos;
diff --git a/games/flightgear/files/patch-src-GUI-resources.qrc b/games/flightgear/files/patch-src-GUI-resources.qrc
deleted file mode 100644
index b918d5900f01..000000000000
--- a/games/flightgear/files/patch-src-GUI-resources.qrc
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/GUI/resources.qrc.orig 2016-03-04 22:06:39.209257057 +0000
-+++ src/GUI/resources.qrc 2016-03-04 22:06:55.142504964 +0000
-@@ -15,7 +15,7 @@
- <file alias="airport-tower-icon">airport-tower-icon.png</file>
- <file alias="vor-dme-icon">vor-dme-icon.png</file>
- <file alias="seaport-tower-icon">seaport-tower-icon.png</file>
-- <file alias="ndb-small-icon">ndb-small-icon .png</file>
-+ <file alias="ndb-small-icon">ndb-small-icon.png</file>
- <file alias="ndb-large-icon">ndb-large-icon.png</file>
- <file alias="airplane-icon">airplane-icon.png</file>
- <file alias="airport-closed-icon">airport-closed-icon.png</file>