summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-03-10 17:10:54 +0100
committerØrjan Malde <red@foxi.me>2024-03-10 17:12:05 +0100
commit7ca9e99b5f0930f81fd3e184a42cca9426e0fb1b (patch)
treee724941496e16932a45d285ccde50f4c1d4abed1
parentc397bb61015b051ce6234f55161ba2e21397892d (diff)
downloadmidipix_build-7ca9e99b5f0930f81fd3e184a42cca9426e0fb1b.tar.bz2
midipix_build-7ca9e99b5f0930f81fd3e184a42cca9426e0fb1b.tar.xz
patches/cssc-1.4.1_pre.local.patch: fix gnulib linking
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--patches/cssc-1.4.1_pre.local.patch23
1 files changed, 23 insertions, 0 deletions
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