|
|
7ca9e9 |
diff -ru CSSC-1.4.1.orig/src/Makefile.in CSSC-1.4.1/src/Makefile.in
|
|
|
7ca9e9 |
--- CSSC-1.4.1.orig/src/Makefile.in 2019-05-07 13:44:57.000000000 +0200
|
|
|
7ca9e9 |
+++ CSSC-1.4.1/src/Makefile.in 2024-03-10 17:07:33.463901630 +0100
|
|
|
7ca9e9 |
@@ -1199,8 +1199,8 @@
|
|
|
7ca9e9 |
generic_CPPFLAGS = -I ../gl/lib -I $(srcdir)/../gl/lib
|
|
|
7ca9e9 |
AM_CPPFLAGS = $(generic_CPPFLAGS)
|
|
|
7ca9e9 |
AM_CFLAGS = "-DPREFIX=\"$(csscutildir)/\"" $(generic_CPPFLAGS)
|
|
|
7ca9e9 |
-AM_LDFLAGS = -L../gl/lib
|
|
|
7ca9e9 |
-LDADD = -lgnulib
|
|
|
7ca9e9 |
+AM_LDFLAGS =
|
|
|
7ca9e9 |
+LDADD = ../gl/lib/libgnulib.la
|
|
|
7ca9e9 |
AM_CXXFLAGS = $(WARN_CFLAGS)
|
|
|
7ca9e9 |
noinst_LIBRARIES = libcssc.a
|
|
|
7ca9e9 |
csscutil_SCRIPTS = sccsdiff
|
|
|
7ca9e9 |
@@ -1271,7 +1271,7 @@
|
|
|
7ca9e9 |
rmdel_LDADD = libcssc.a $(LIBOBJS)
|
|
|
7ca9e9 |
prt_LDADD = libcssc.a $(LIBOBJS)
|
|
|
7ca9e9 |
val_LDADD = libcssc.a $(LIBOBJS)
|
|
|
7ca9e9 |
-sccs_LDADD = libcssc.a $(LIBOBJS) -lgnulib
|
|
|
7ca9e9 |
+sccs_LDADD = libcssc.a $(LIBOBJS) ../gl/lib/libgnulib.la
|
|
|
7ca9e9 |
all: $(BUILT_SOURCES)
|
|
|
7ca9e9 |
$(MAKE) $(AM_MAKEFLAGS) all-am
|
|
|
7ca9e9 |
|
|
|
fdfd7f |
diff -ru CSSC-1.4.1.orig/configure CSSC-1.4.1/configure
|
|
|
fdfd7f |
--- CSSC-1.4.1.orig/configure 2019-05-07 13:44:57.000000000 +0200
|
|
|
fdfd7f |
+++ CSSC-1.4.1/configure 2021-04-08 14:11:56.935465623 +0200
|
|
|
fdfd7f |
@@ -19418,60 +19418,6 @@
|
|
|
fdfd7f |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
|
fdfd7f |
|
|
|
fdfd7f |
|
|
|
fdfd7f |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you are using a broken version of glibc with a version of GCC (>=2.97) that doesn't like it" >&5
|
|
|
fdfd7f |
-$as_echo_n "checking if you are using a broken version of glibc with a version of GCC (>=2.97) that doesn't like it... " >&6; }
|
|
|
fdfd7f |
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
fdfd7f |
-/* end confdefs.h. */
|
|
|
fdfd7f |
-
|
|
|
fdfd7f |
-#include <stdio.h>
|
|
|
fdfd7f |
-int x = 0;
|
|
|
fdfd7f |
-class foo {
|
|
|
fdfd7f |
-public:
|
|
|
fdfd7f |
-foo() { }
|
|
|
fdfd7f |
-void some_member_function(void) { };
|
|
|
fdfd7f |
-int printf(const char *fmt, ...);
|
|
|
fdfd7f |
-};
|
|
|
fdfd7f |
-
|
|
|
fdfd7f |
-int
|
|
|
fdfd7f |
-main ()
|
|
|
fdfd7f |
-{
|
|
|
fdfd7f |
-/* no function body*/
|
|
|
fdfd7f |
- ;
|
|
|
fdfd7f |
- return 0;
|
|
|
fdfd7f |
-}
|
|
|
fdfd7f |
-_ACEOF
|
|
|
fdfd7f |
-if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
|
fdfd7f |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
fdfd7f |
-$as_echo "no" >&6; }
|
|
|
fdfd7f |
-else
|
|
|
fdfd7f |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
fdfd7f |
-$as_echo "yes" >&6; }
|
|
|
fdfd7f |
-
|
|
|
fdfd7f |
-oldCFLAGS="$CFLAGS"
|
|
|
fdfd7f |
-oldCXXFLAGS="$CXXFLAGS"
|
|
|
fdfd7f |
-if echo "$CFLAGS" | grep -e "-O" >/dev/null
|
|
|
fdfd7f |
-then
|
|
|
fdfd7f |
- CFLAGS="-g"
|
|
|
fdfd7f |
- CXXFLAGS="-g"
|
|
|
fdfd7f |
-
|
|
|
fdfd7f |
-echo
|
|
|
fdfd7f |
-echo WARNING It seems that you are using a version of GNU lilbc
|
|
|
fdfd7f |
-echo WARNING that has a broken printf macro in /usr/include/bits/stdio.h.
|
|
|
fdfd7f |
-echo WARNING I have changed CFLAGS and CXXFLAGS to turn optimisation off
|
|
|
fdfd7f |
-echo WARNING in order to work around the problem.
|
|
|
fdfd7f |
-echo WARNING
|
|
|
fdfd7f |
-echo WARNING Other possible workarounds would be to use GCC 2.96 or
|
|
|
fdfd7f |
-echo WARNING earlier, or a version of glibc which does not have this
|
|
|
fdfd7f |
-echo WARNING bug.
|
|
|
fdfd7f |
-echo WARNING
|
|
|
fdfd7f |
-echo WARNING CFLAGS has been changed from "$oldCFLAGS" to "$CFLAGS"
|
|
|
fdfd7f |
-echo WARNING CXXFLAGS has been changed from "$oldCXXFLAGS" to "$CXXFLAGS"
|
|
|
fdfd7f |
-echo
|
|
|
fdfd7f |
-
|
|
|
fdfd7f |
-fi
|
|
|
fdfd7f |
-
|
|
|
fdfd7f |
-fi
|
|
|
fdfd7f |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
fdfd7f |
|
|
|
fdfd7f |
ac_ext=c
|
|
|
fdfd7f |
ac_cpp='$CPP $CPPFLAGS'
|