diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-03-04 15:09:41 +0800 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-03-04 15:09:41 +0800 |
commit | ede3b88703ac8f24ef5175b031ceb6445b0dff16 (patch) | |
tree | beb79cc0c20fabbd16760703f4d3a1630662a41d | |
parent | 5ec6287582e052f5705a68ecf5977797debf3a5e (diff) | |
download | freebsd-ports-gnome-ede3b88703ac8f24ef5175b031ceb6445b0dff16.tar.gz freebsd-ports-gnome-ede3b88703ac8f24ef5175b031ceb6445b0dff16.tar.zst freebsd-ports-gnome-ede3b88703ac8f24ef5175b031ceb6445b0dff16.zip |
games/gtkradiant: unbreak with libc++ 8
In file included from plugins/archivepak/plugin.cpp:24:
In file included from include/iarchive.h:25:
In file included from /usr/include/c++/v1/cstddef:38:
include/version:1:1: error: expected unqualified-id
1.5.0
^
PR: 236192
Approved by: portmgr blanket
-rw-r--r-- | games/gtkradiant/files/patch-makeversion.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games/gtkradiant/files/patch-makeversion.py b/games/gtkradiant/files/patch-makeversion.py index 371c1f05da2f..152ca7463f79 100644 --- a/games/gtkradiant/files/patch-makeversion.py +++ b/games/gtkradiant/files/patch-makeversion.py @@ -11,6 +11,16 @@ def get_version(): # version +@@ -68,9 +66,6 @@ def radiant_makeversion(append_about): + f = open('include/RADIANT_MAJOR', 'w') + f.write(major) + f.close() +- f = open('include/version', 'w') +- f.write(line) +- f.close() + # aboutmsg + aboutfile = 'include/aboutmsg.default' + if ( os.environ.has_key('RADIANT_ABOUTMSG') ): @@ -82,7 +80,7 @@ line = f.readline() f.close() |