]> git.pld-linux.org Git - packages/cheops-ng.git/commitdiff
- fix for multi-line string in gpl.c generated from Makefile
authorTomasz Pala <gotar@pld-linux.org>
Sun, 10 Aug 2003 09:47:07 +0000 (09:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cheops-ng-gcc33.patch -> 1.1

cheops-ng-gcc33.patch [new file with mode: 0644]

diff --git a/cheops-ng-gcc33.patch b/cheops-ng-gcc33.patch
new file mode 100644 (file)
index 0000000..bc1a9c8
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN cheops-ng-0.1.12.orig/Makefile.in cheops-ng-0.1.12/Makefile.in
+--- cheops-ng-0.1.12.orig/Makefile.in  2003-05-23 04:58:07.000000000 +0200
++++ cheops-ng-0.1.12/Makefile.in       2003-08-10 11:43:42.000000000 +0200
+@@ -140,7 +140,7 @@
+       $(CC) $(CFLAGS) -c event.c -o gui-event.o $(GTKCFLAGS) -DCOMPILING_GUI
+ gpl.c: COPYING
+-      ( echo "char *gpl_text = \"" ; cat COPYING | sed s/\\\"/\\\\\"/g; echo "\";" ) >gpl.c
++      ( echo "char *gpl_text = \"\\\n\"" ; cat COPYING | sed -e "s/\\\"/\\\\\"/g" -e "s/^/\"/" -e "s/$$/\\\n\"/"; echo "\"\";" ) >gpl.c
+ agent-io.o: io.c
+       $(CC) $(CFLAGS) -c io.c -o agent-io.o $(CC_LIBS)
This page took 0.123926 seconds and 4 git commands to generate.