summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-ac-packagename.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-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]))
+