summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-ac-packagename.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:43:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:43:19 +0000
commitf7dd23e67d92f26f326319e8f6e9f83923419ade (patch)
treef90b634068eb1b7689361e2536f6c877423ee24e /debian/patches/fix-ac-packagename.patch
parentAdding upstream version 1.1.3. (diff)
downloadopentracing-c-wrapper-debian.tar.xz
opentracing-c-wrapper-debian.zip
Adding debian version 1.1.3-3.debian/1.1.3-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/fix-ac-packagename.patch')
-rw-r--r--debian/patches/fix-ac-packagename.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/fix-ac-packagename.patch b/debian/patches/fix-ac-packagename.patch
new file mode 100644
index 0000000..50f3fce
--- /dev/null
+++ b/debian/patches/fix-ac-packagename.patch
@@ -0,0 +1,18 @@
+Description: Hard-code the autoconf package name. Debian includes the version
+ number in the directory name so it gets set to the wrong name and thereby
+ generates the wrong .pc file
+Forwarded: not-needed
+Author: Stephen Gelman <ssgelm@debian.org>
+Last-Update: 2021-07-29
+---
+--- a/configure.ac
++++ b/configure.ac
+@@ -4,7 +4,7 @@
+
+ AC_PREREQ([2.69])
+ AC_COPYRIGHT([Copyright (C) 2020 HAProxy Technologies])
+-AC_INIT(m4_esyscmd_s([basename ${PWD}]), m4_esyscmd_s([awk '/Package/ { print $3 }' VERSION]), [mzagorac@haproxy.com])
++AC_INIT([opentracing-c-wrapper], m4_esyscmd_s([awk '/Package/ { print $3 }' VERSION]), [mzagorac@haproxy.com])
+ AC_CONFIG_MACRO_DIR([m4])
+ AX_VARIABLE_SET([LIB_VERSION], m4_esyscmd_s([awk '/Library/ { print $3 }' VERSION]))
+