From 55ad72d44a94298a96b8f05488ca5ed97ef04736 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 20:37:15 +0200 Subject: Adding debian version 1:9.11.5.P4+dfsg-5.1+deb10u7. Signed-off-by: Daniel Baumann --- debian/apply-export-patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 debian/apply-export-patch (limited to 'debian/apply-export-patch') diff --git a/debian/apply-export-patch b/debian/apply-export-patch new file mode 100644 index 0000000..36be293 --- /dev/null +++ b/debian/apply-export-patch @@ -0,0 +1,20 @@ +#!/bin/sh + +# This pile of horror converts the makefiles into expecting the -export +# version of the libraries. + +set -e +cd build-udeb + +for lib in dns irs isc isccc isccfg lwres; do + sed -i "s/lib${lib}\./lib${lib}-export./g" lib/${lib}/Makefile +done + +sed -i 's/ -lisc -ldns -lisccfg$/ -lisc-export -ldns-export -lisccfg-export/' \ + lib/irs/Makefile + +patch -p0 < ../debian/export.diff + +for lib in dns irs isc isccc isccfg lwres; do + sed -i 's/\(lib'${lib}'\).la/\1-export.la/g' $(find . -name Makefile) +done -- cgit v1.2.3