diff options
author | С. С. Болокановъ <sbolokanov@abv.bg> | 2017-10-08 21:32:43 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-11 06:19:31 +0700 |
commit | bc484d4831fe1b130e674f3994fdb75f6d3d0cc7 (patch) | |
tree | 496826173556c6bf8a8530de574ba35cd2ce52d2 /games | |
parent | ad04e44f28a0074d9d7274de8224c5d99667147c (diff) |
games/xonotic: fix -version-info as requested by Hunter Sezen
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/xonotic/0d3d1f2655901776b2fc3e911eb78478412f789a.diff | 31 | ||||
-rw-r--r-- | games/xonotic/xonotic.SlackBuild | 5 |
2 files changed, 35 insertions, 1 deletions
diff --git a/games/xonotic/0d3d1f2655901776b2fc3e911eb78478412f789a.diff b/games/xonotic/0d3d1f2655901776b2fc3e911eb78478412f789a.diff new file mode 100644 index 0000000000000..46556db5db657 --- /dev/null +++ b/games/xonotic/0d3d1f2655901776b2fc3e911eb78478412f789a.diff @@ -0,0 +1,31 @@ +diff --git a/Makefile.am b/Makefile.am +index d21887d..07338eb 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -5,7 +5,7 @@ blind_id_SOURCES = main.c + blind_id_LDADD = libd0_blind_id.la + + lib_LTLIBRARIES = libd0_blind_id.la +-# versioninfo: ++# version-info: + # - compatible interface change: c:r:a -> c+1:0:a+1 + # - incompatible interface change: c:r:a -> c+1:0:0 + # - internal change: c:r:a -> c:r+1:a +@@ -29,7 +29,7 @@ libd0_blind_id_la_SOURCES += d0_bignum-gmp.c + endif + endif + endif +-libd0_blind_id_la_LDFLAGS = -versioninfo 7:1:7 ++libd0_blind_id_la_LDFLAGS = -version-info 7:1:7 + libd0_blind_id_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement + library_includedir = $(includedir)/d0_blind_id + library_include_HEADERS = d0_blind_id.h d0.h +@@ -40,7 +40,7 @@ if ENABLE_RIJNDAEL + lib_LTLIBRARIES += libd0_rijndael.la + libd0_rijndael_la_SOURCES = d0_rijndael.c \ + d0_rijndael.h +-libd0_rijndael_la_LDFLAGS = -versioninfo 0:0:0 ++libd0_rijndael_la_LDFLAGS = -version-info 0:0:0 + libd0_rijndael_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement + library_include_HEADERS += d0_rijndael.h + pkgconfig_HEADERS += d0_rijndael.pc diff --git a/games/xonotic/xonotic.SlackBuild b/games/xonotic/xonotic.SlackBuild index 5cc7b26881628..cc9017174321c 100644 --- a/games/xonotic/xonotic.SlackBuild +++ b/games/xonotic/xonotic.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=xonotic VERSION=${VERSION:-0.8.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -75,6 +75,9 @@ mkdir -p \ $PKG/usr/share/$PRGNAM \ $PKG/usr/share/{applications,pixmaps} +# Fix -version-info as requested by Hunter Sezen +patch -p1 < $CWD/0d3d1f2655901776b2fc3e911eb78478412f789a.diff source/d0_blind_id/Makefile.am + cd source/d0_blind_id autoreconf -fi |