From 7ca9e99b5f0930f81fd3e184a42cca9426e0fb1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Sun, 10 Mar 2024 17:10:54 +0100 Subject: patches/cssc-1.4.1_pre.local.patch: fix gnulib linking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/cssc-1.4.1_pre.local.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'patches') diff --git a/patches/cssc-1.4.1_pre.local.patch b/patches/cssc-1.4.1_pre.local.patch index 4f69e993..beec73e3 100644 --- a/patches/cssc-1.4.1_pre.local.patch +++ b/patches/cssc-1.4.1_pre.local.patch @@ -1,3 +1,26 @@ +diff -ru CSSC-1.4.1.orig/src/Makefile.in CSSC-1.4.1/src/Makefile.in +--- CSSC-1.4.1.orig/src/Makefile.in 2019-05-07 13:44:57.000000000 +0200 ++++ CSSC-1.4.1/src/Makefile.in 2024-03-10 17:07:33.463901630 +0100 +@@ -1199,8 +1199,8 @@ + generic_CPPFLAGS = -I ../gl/lib -I $(srcdir)/../gl/lib + AM_CPPFLAGS = $(generic_CPPFLAGS) + AM_CFLAGS = "-DPREFIX=\"$(csscutildir)/\"" $(generic_CPPFLAGS) +-AM_LDFLAGS = -L../gl/lib +-LDADD = -lgnulib ++AM_LDFLAGS = ++LDADD = ../gl/lib/libgnulib.la + AM_CXXFLAGS = $(WARN_CFLAGS) + noinst_LIBRARIES = libcssc.a + csscutil_SCRIPTS = sccsdiff +@@ -1271,7 +1271,7 @@ + rmdel_LDADD = libcssc.a $(LIBOBJS) + prt_LDADD = libcssc.a $(LIBOBJS) + val_LDADD = libcssc.a $(LIBOBJS) +-sccs_LDADD = libcssc.a $(LIBOBJS) -lgnulib ++sccs_LDADD = libcssc.a $(LIBOBJS) ../gl/lib/libgnulib.la + all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + diff -ru CSSC-1.4.1.orig/configure CSSC-1.4.1/configure --- CSSC-1.4.1.orig/configure 2019-05-07 13:44:57.000000000 +0200 +++ CSSC-1.4.1/configure 2021-04-08 14:11:56.935465623 +0200 -- cgit v1.2.3