summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2017-09-09 22:52:55 +0000
committerdholland <dholland@pkgsrc.org>2017-09-09 22:52:55 +0000
commit62bfa893a22352678723285be83bc8883060613d (patch)
tree80891c3e85716cbdaa75c89f2e6306a150ddddbd /emulators
parent9bde6c5c8a1e90815b086e35d099566bde2a70d7 (diff)
downloadpkgsrc-62bfa893a22352678723285be83bc8883060613d.tar.gz
clang 5.x is not less than 4.x.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/stella/distinfo4
-rw-r--r--emulators/stella/patches/patch-configure20
2 files changed, 17 insertions, 7 deletions
diff --git a/emulators/stella/distinfo b/emulators/stella/distinfo
index 0c7684d9555..9632d6c27a0 100644
--- a/emulators/stella/distinfo
+++ b/emulators/stella/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.19 2017/01/26 12:45:41 mef Exp $
+$NetBSD: distinfo,v 1.20 2017/09/09 22:52:55 dholland Exp $
SHA1 (stella-4.7.3.tar.gz) = 7f4a4f8c88b335aee35bd2a87f3f4e109d7cb190
RMD160 (stella-4.7.3.tar.gz) = 188ccb822f8e3eb6b231ff0d4460fd6d9bf44ccc
SHA512 (stella-4.7.3.tar.gz) = 76028f3e4a8a7d49e2444d1d3c348060df4dfa54a7675521c3197235084f3eb44550e0df5a6b57c71c404a87d648f9a7798bb850faec7a17499b97ca4fd52bb5
Size (stella-4.7.3.tar.gz) = 2270157 bytes
-SHA1 (patch-configure) = 141f240a686a85ffe7eda4a145fa681c4733dbe9
+SHA1 (patch-configure) = 1577ad9c5efd98c82a91dda55e8610775aa6276e
SHA1 (patch-src_unix_FSNodePOSIX.cxx) = 8679698480dd443bbcf9d92411ad307bfbe700b3
diff --git a/emulators/stella/patches/patch-configure b/emulators/stella/patches/patch-configure
index 1a782c9beb9..0b9961ddac1 100644
--- a/emulators/stella/patches/patch-configure
+++ b/emulators/stella/patches/patch-configure
@@ -1,15 +1,25 @@
-$NetBSD: patch-configure,v 1.1 2015/12/21 06:46:04 dbj Exp $
+$NetBSD: patch-configure,v 1.2 2017/09/09 22:52:55 dholland Exp $
-Recognize solaris, dragonfly, and darwin.
+Recognize more clang versions.
+Recognize solaris, dragonfly, bitrig, and darwin.
---- configure.orig 2015-04-22 14:11:11.000000000 +0000
+--- configure.orig 2016-11-21 19:22:17.000000000 +0000
+++ configure
-@@ -497,7 +497,7 @@ else
+@@ -392,7 +392,7 @@ if test "$have_clang" = yes; then
+ fi
+
+ case $cxx_version in
+- [3].[4-9]|[3].[4-9].[0-9]|[3].[4-9].[0-9][-.]*|[4].[0-9].[0-9])
++ [3].[4-9]|[3].[4-9].[0-9]|[3-6].[4-9].[0-9][-.]*)
+ _cxx_major=`echo $cxx_version | cut -d '.' -f 1`
+ _cxx_minor=`echo $cxx_version | cut -d '.' -f 2`
+ cxx_version="$cxx_version, ok"
+@@ -515,7 +515,7 @@ else
echo_n "Checking hosttype... "
echo $_host_os
case $_host_os in
- linux* | openbsd* | freebsd* | kfreebsd* | netbsd* | bsd* | gnu0.* | sunos* | hpux* | beos*)
-+ linux* | openbsd* | freebsd* | kfreebsd* | netbsd* | bsd* | gnu0.* | sunos* | hpux* | beos* | solaris* | dragonfly* | darwin*)
++ linux* | openbsd* | freebsd* | kfreebsd* | netbsd* | bsd* | gnu0.* | sunos* | hpux* | beos* | solaris* | dragonfly* | bitrig* | darwin*)
DEFINES="$DEFINES -DUNIX"
_host_os=unix
;;