summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-07-12 07:34:17 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-07-12 07:34:17 +0200
commitd135fbc5a91cbfd93d67035167f83c98fa9498a1 (patch)
tree89d18b51b58aac223615b0bfa704eb560ef81acf
parentdev-ml/tiny_httpd: initial commit (diff)
downloadgentoo-d135fbc5a91cbfd93d67035167f83c98fa9498a1.tar.gz
gentoo-d135fbc5a91cbfd93d67035167f83c98fa9498a1.tar.bz2
gentoo-d135fbc5a91cbfd93d67035167f83c98fa9498a1.zip
net-libs/libosmo-dsp: Fix mismatched version in pkg-config file
Closes: https://bugs.gentoo.org/857678 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
-rw-r--r--net-libs/libosmo-dsp/files/libosmo-dsp-0.4.0-version.patch11
-rw-r--r--net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild2
2 files changed, 13 insertions, 0 deletions
diff --git a/net-libs/libosmo-dsp/files/libosmo-dsp-0.4.0-version.patch b/net-libs/libosmo-dsp/files/libosmo-dsp-0.4.0-version.patch
new file mode 100644
index 000000000000..f52ced266959
--- /dev/null
+++ b/net-libs/libosmo-dsp/files/libosmo-dsp-0.4.0-version.patch
@@ -0,0 +1,11 @@
+diff --git a/configure.ac b/configure.ac
+index 964ef03..35fde74 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,5 +1,5 @@
+ AC_INIT([libosmodsp],
+- m4_esyscmd([./git-version-gen .tarball-version]),
++ [0.4.0],
+ [gmr@lists.osmocom.org])
+
+ AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip 1.6])
diff --git a/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild b/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild
index cf9cc1ce5961..4886384e4130 100644
--- a/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild
+++ b/net-libs/libosmo-dsp/libosmo-dsp-0.4.0.ebuild
@@ -27,6 +27,8 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=( "${FILESDIR}/${P}-version.patch" )
+
src_prepare() {
default
eautoreconf