diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-22 16:56:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-22 16:56:21 +0000 |
commit | d6a07bf26e11315e8a465242905828c9b9275d5e (patch) | |
tree | b03ee0e0446db92a2745ede646dd069e51aa9b36 | |
parent | Merging upstream version 1.15~pre2. (diff) | |
download | lzlib-d6a07bf26e11315e8a465242905828c9b9275d5e.tar.xz lzlib-d6a07bf26e11315e8a465242905828c9b9275d5e.zip |
Adding patch to revert removal of --soname to fix FTBFS.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/patches/debian/0002-soname.patch | 15 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/debian/0002-soname.patch b/debian/patches/debian/0002-soname.patch new file mode 100644 index 0000000..e74d271 --- /dev/null +++ b/debian/patches/debian/0002-soname.patch @@ -0,0 +1,15 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Reverting removal of --soname to fix FTBFS. + +diff -Naurp lzlib.orig/Makefile.in lzlib/Makefile.in +--- lzlib.orig/Makefile.in ++++ lzlib/Makefile.in +@@ -28,7 +28,7 @@ lib$(libname).a : lzlib.o + $(AR) $(ARFLAGS) $@ $< + + lib$(libname).so.$(soversion) : lzlib_sh.o +- $(CC) $(CFLAGS) $(LDFLAGS) -fpic -fPIC -shared -o $@ $< ++ $(CC) $(CFLAGS) $(LDFLAGS) -fpic -fPIC -shared -Wl,--soname=lib$(libname).so.$(soversion) -o $@ $< + + bin : $(progname_static) $(progname_shared) + diff --git a/debian/patches/series b/debian/patches/series index 655df63..5b7eb75 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ debian/0001-build.patch +debian/0002-soname.patch |