diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-20 11:59:12 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-20 11:59:12 +0000 |
commit | 349b4242a7a0e800fafc28c77a2aa0868b99a971 (patch) | |
tree | 934edc6785582177e8e46a6fe13c500f4861a268 /main/lxc/version.patch | |
parent | aa5e512833c517b59570326b5eee07f177256d98 (diff) | |
download | aports-349b4242a7a0e800fafc28c77a2aa0868b99a971.tar.bz2 aports-349b4242a7a0e800fafc28c77a2aa0868b99a971.tar.xz |
main/lxc: fix .so version
Fix version to a format that apk-tools understands
Diffstat (limited to 'main/lxc/version.patch')
-rw-r--r-- | main/lxc/version.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/lxc/version.patch b/main/lxc/version.patch new file mode 100644 index 0000000000..6f61d8257a --- /dev/null +++ b/main/lxc/version.patch @@ -0,0 +1,17 @@ +Fix version so apk-tools understand the .so version +(1.0.0.rc4 -> 1.0.0_rc4) + +diff --git a/configure.ac b/configure.ac +index 498d69a..f52bf8c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -8,7 +8,8 @@ m4_define([lxc_version_beta], [rc4]) + + m4_define([lxc_version_base], [lxc_version_major.lxc_version_minor.lxc_version_micro]) + m4_define([lxc_version], +- [ifelse(lxc_version_beta, [], [lxc_version_base], [lxc_version_base.lxc_version_beta])]) ++ [ifelse(lxc_version_beta, [], [lxc_version_base], ++ [lxc_version_base[_]lxc_version_beta])])]) + + AC_INIT([lxc], [lxc_version]) + |