summaryrefslogtreecommitdiff
path: root/games-rpg/wastesedge/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-rpg/wastesedge/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-rpg/wastesedge/files')
-rw-r--r--games-rpg/wastesedge/files/wastesedge-0.3.8_version-handling.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/games-rpg/wastesedge/files/wastesedge-0.3.8_version-handling.patch b/games-rpg/wastesedge/files/wastesedge-0.3.8_version-handling.patch
new file mode 100644
index 000000000000..33f3eedad1e5
--- /dev/null
+++ b/games-rpg/wastesedge/files/wastesedge-0.3.8_version-handling.patch
@@ -0,0 +1,35 @@
+From b3987b74cc6ff89187b95c692a4aacc13db98564 Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
+Date: Wed, 9 Sep 2020 20:01:41 +0300
+Subject: [PATCH] Rework adonthell version handling
+
+---
+ configure.ac | 11 +++--------
+ 1 file changed, 3 insertions(+), 8 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 76d87bd..fff8268 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -46,15 +46,10 @@ fi
+
+ dnl Checking for the proper version
+ AC_MSG_CHECKING(for Adonthell's version)
+-$adonthell_binary -v &> adonthell.ver
+
+-changequote(<<, >>)
+-adonthell_major_ver=`sed 's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/p; d' adonthell.ver`
+-adonthell_minor_ver=`sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/p; d' adonthell.ver`
+-adonthell_micro_ver=`sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/p; d' adonthell.ver`
+-changequote([, ])
+-
+-rm -f adonthell.ver
++adonthell_major_ver=$($adonthell_binary -v | cut -d'.' -f1)
++adonthell_minor_ver=$($adonthell_binary -v | cut -d'.' -f2)
++adonthell_micro_ver=$($adonthell_binary -v | cut -d'.' -f3)
+
+ adonthellver="$adonthell_major_ver.$adonthell_minor_ver.$adonthell_micro_ver"
+
+--
+2.26.2
+