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
This commit is contained in:
Jan Beich 2019-03-04 07:09:41 +00:00
parent 5ec6287582
commit ede3b88703
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494556

View File

@ -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()