summaryrefslogtreecommitdiff
path: root/tools/mklibs/patches/001-compile.patch
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-26 21:49:11 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-26 21:49:11 +0000
commit2b12b32517a385e159bba0f74882dde2a4098e5d (patch)
tree0c4b8a93db7355fff2ee7fdf48e6cafe262eb76e /tools/mklibs/patches/001-compile.patch
parent6b904a75a8bef791bce6fbcd7f869176be2a4bff (diff)
[tools] mklibs: upgrade to 0.1.35
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35818 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mklibs/patches/001-compile.patch')
-rw-r--r--tools/mklibs/patches/001-compile.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/mklibs/patches/001-compile.patch b/tools/mklibs/patches/001-compile.patch
new file mode 100644
index 0000000000..09b831ada2
--- /dev/null
+++ b/tools/mklibs/patches/001-compile.patch
@@ -0,0 +1,8 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,4 +1,4 @@
+-AC_INIT([mklibs],m4_esyscmd(dpkg-parsechangelog | perl -ne 'print $1 if m/^Version: (.*)$/;'))
++AC_INIT([mklibs],m4_esyscmd([head -n1 debian/changelog | awk -F'[\\\\(\\\\)]' '{ print $2 }' | xargs -I{} echo -n {}]))
+ AM_INIT_AUTOMAKE([foreign no-define])
+ AC_CONFIG_HEADERS([config.h])
+ AM_MAINTAINER_MODE