]> git.pld-linux.org Git - packages/elfutils.git/commitdiff
- remove some bashisms from configure.ac auto/th/elfutils-0_141-1 auto/ti/elfutils-0_141-1
authorsparky <sparky@pld-linux.org>
Sat, 2 May 2009 13:15:06 +0000 (13:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elfutils-bashism.patch -> 1.1

elfutils-bashism.patch [new file with mode: 0644]

diff --git a/elfutils-bashism.patch b/elfutils-bashism.patch
new file mode 100644 (file)
index 0000000..2294ef9
--- /dev/null
@@ -0,0 +1,19 @@
+--- elfutils-0.141/configure.ac#       2009-05-02 14:13:01.000000000 +0200
++++ elfutils-0.141/configure.ac        2009-05-02 14:12:53.000000000 +0200
+@@ -290,7 +290,7 @@
+ # 1.234<whatever> -> 1234<whatever>
+ case "$PACKAGE_VERSION" in
+-[[0-9]].*) eu_version="${PACKAGE_VERSION/./}" ;;
++[[0-9]].*) eu_version="${PACKAGE_VERSION%%.*}${PACKAGE_VERSION#*.}" ;;
+ *)               AC_MSG_ERROR([confused by version number '$PACKAGE_VERSION']) ;;
+ esac
+ case "$eu_version" in
+@@ -319,6 +319,6 @@
+ esac
+ # Round up to the next release API (x.y) version.
+-[eu_version=$[($eu_version + 999) / 1000]]
++eu_version=$((($eu_version + 999) / 1000))
+ AC_OUTPUT
This page took 0.214766 seconds and 4 git commands to generate.