SOURCES: twin-ac.patch (NEW) - compilation fixes - pdksh has probl...
witekfl
witekfl at pld-linux.org
Mon Oct 1 21:58:45 CEST 2007
Author: witekfl Date: Mon Oct 1 19:58:45 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- compilation fixes
- pdksh has problems with eval expressions like this `\"$BLABLA\"`
so I used bash
---- Files affected:
SOURCES:
twin-ac.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/twin-ac.patch
diff -u /dev/null SOURCES/twin-ac.patch:1.1
--- /dev/null Mon Oct 1 21:58:45 2007
+++ SOURCES/twin-ac.patch Mon Oct 1 21:58:40 2007
@@ -0,0 +1,62 @@
+--- twin-0.5.1/configure.in.old 2007-09-30 19:14:50.000000000 +0200
++++ twin-0.5.1/configure.in 2007-09-30 19:15:09.000000000 +0200
+@@ -222,6 +222,7 @@
+ dnl
+ dnl Checks for programs.
+ dnl
++AC_HEADER_STDC
+ AC_PROG_MAKE_SET
+
+ make_is_good=no
+@@ -377,7 +378,6 @@
+ dnl
+ dnl Checks for header files.
+ dnl
+-AC_HEADER_STDC
+ AC_HEADER_SYS_WAIT
+ AC_HEADER_TIME
+ AC_CHECK_HEADERS(crypt.h dirent.h dlfcn.h fcntl.h gpm.h ggi/ggi.h limits.h ltdl.h \
+@@ -863,12 +863,12 @@
+
+
+ # this will prepare the Makefiles
+-. ${TOP_SRCDIR}/scripts/Makefiles.sh "${TOP_SRCDIR}"
++/bin/bash ${TOP_SRCDIR}/scripts/Makefiles.sh "${TOP_SRCDIR}"
+
+
+ AC_OUTPUT(makeautoconf conf/conf.auto)
+
+-enable_="`echo \"$CONF_\" | sed 's/CONF_/enable_/g' | tr -d ';' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`"
++enable_="`echo $CONF_ | sed 's/CONF_/enable_/g' | tr -d ';' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`"
+
+ ${TOP_SRCDIR}/scripts/Prettyconfig.sh "prefix='$prefix'" "CC='$CC'" "CFLAGS='$CFLAGS'" "OS='$OS'" \
+ "SYS_SHLIBS='$SYS_SHLIBS'" "enable__asm_style='$enable__asm_style'" $enable_
+--- twin-0.5.1/makerules.in.old 2007-09-30 19:07:56.000000000 +0200
++++ twin-0.5.1/makerules.in 2007-09-30 19:08:57.000000000 +0200
+@@ -221,7 +221,7 @@
+ fi
+
+ $(T)configure: $(T)configure.in $(ADMIN_LIBTOOLS) $(ADMIN_ACLOCAL) $(T)scripts/Makefiles.sh $(T)include/autoconf.h.in
+- rm -f $@ && cd $(TT) && autoconf --localdir=admin
++ rm -f $@ && cd $(TT) && autoconf
+
+ $(T)include/autoconf.h.in: $(T)configure.in
+ rm -f $@ && cd $(TT) && autoheader
+@@ -331,7 +331,7 @@
+ make-shlib-links=target_shlib=$(patsubst %.la,%.so,$(1)) ; \
+ $(LN) $$target_shlib.$(SHLIBS_VER) $(1) ; \
+ $(LN) $$target_shlib.$(SHLIBS_VER) $$target_shlib.$(MAJOR_VER) ; \
+- $(LN) $$target_shlib.$(MAJOR_VER) $$target_shlib
++ $(LN) $$target_shlib.$(SHLIBS_VER) $$target_shlib
+
+ #
+ # how to install a binary (program or library)
+@@ -837,7 +837,7 @@
+ install-lib-%.la:
+ $(INSTALL) $*.so.$(SHLIBS_VER) $(DESTDIR)$(libdir)
+ $(LN) $*.so.$(SHLIBS_VER) $(DESTDIR)$(libdir)/$*.so.$(MAJOR_VER) && \
+- $(LN) $*.so.$(MAJOR_VER) $(DESTDIR)$(libdir)/$*.so
++ $(LN) $*.so.$(SHLIBS_VER) $(DESTDIR)$(libdir)/$*.so
+
+ uninstall-mod-%.la:
+ rm -f $(DESTDIR)$(libdir)$(INSTALLSUBDIR)/$*.so.$(SHLIBS_VER)
================================================================
More information about the pld-cvs-commit
mailing list