diff options
Diffstat (limited to 'devel/ecgi/files')
-rw-r--r-- | devel/ecgi/files/patch-Makefile | 75 | ||||
-rw-r--r-- | devel/ecgi/files/patch-html2h::Makefile | 21 | ||||
-rw-r--r-- | devel/ecgi/files/patch-html2h::html2h.c | 34 | ||||
-rw-r--r-- | devel/ecgi/files/patch-src::ecgitk.c | 11 |
4 files changed, 0 insertions, 141 deletions
diff --git a/devel/ecgi/files/patch-Makefile b/devel/ecgi/files/patch-Makefile deleted file mode 100644 index c1e03f2223e0..000000000000 --- a/devel/ecgi/files/patch-Makefile +++ /dev/null @@ -1,75 +0,0 @@ ---- Makefile.orig Tue Feb 13 14:02:11 2001 -+++ Makefile Mon Mar 22 13:47:28 2004 -@@ -1,14 +1,14 @@ - SHAREDOPT = -shared --LIBDIR = /usr/lib --INCDIR = /usr/include -+LIBDIR = $(PREFIX)/usr/lib -+INCDIR = $(PREFIX)/include - AR = ar --CC = gcc -+CC?= gcc - INCS = -Iinclude/ -I. --FLAGS = -Wall -+CFLAGS += -Wall - - all: obj/ecgi.o obj/ecgitk.o libecgi.a -- make -C html2h/ -- make libecgi.so -+ $(MAKE) -C html2h/ -+ $(MAKE) libecgi.so - - shared: libecgi.so - cp libecgi.so /usr/lib -@@ -18,33 +18,42 @@ - ar rs libecgi.a obj/ecgi.o obj/memfile.o obj/ecgitk.o - printf "\n\n***congratulations - compilation worked***\n*** run 'make install' now ***\n\n" - --libecgi.so: obj/ecgi.o obj/ecgitk.o -- gcc $(SHAREDOPT) obj/ecgi.o obj/memfile.o obj/ecgitk.o -o libecgi.so -+libecgi.so: obj/ecgi.So obj/ecgitk.So obj/memfile.So -+ $(CC) $(SHAREDOPT) obj/ecgi.So obj/memfile.So obj/ecgitk.So -o libecgi.so - - install: - cp libecgi.a $(LIBDIR) - cp ecgi.h $(INCDIR) - cp include/memfile.h $(INCDIR) - cp ecgitk.h $(INCDIR) -- make -C html2h/ install -+ $(MAKE) -C html2h/ install - cp libecgi.so $(LIBDIR) - - tests: all -- $(CC) tests/test.c -o tests/test.cgi $(INCS) $(FLAGS) libecgi.a -- $(CC) tests/testload.c -o tests/testload libecgi.a $(INCS) $(FLAGS) -+ $(CC) tests/test.c -o tests/test.cgi $(INCS) $(CFLAGS) libecgi.a -+ $(CC) tests/testload.c -o tests/testload libecgi.a $(INCS) $(CFLAGS) - - obj/ecgi.o: src/ecgi.c ecgi.h obj/memfile.o -- $(CC) -c src/ecgi.c $(INCS) $(FLAGS) -o obj/ecgi.o -+ $(CC) -c src/ecgi.c $(INCS) $(CFLAGS) -o obj/ecgi.o - - obj/memfile.o: src/memfile.c include/memfile.h -- $(CC) -o obj/memfile.o -c src/memfile.c $(INCS) $(FLAGS) -+ $(CC) -o obj/memfile.o -c src/memfile.c $(INCS) $(CFLAGS) - - obj/ecgitk.o: src/ecgitk.c ecgitk.h -- $(CC) -c src/ecgitk.c $(INCS) $(FLAGS) -o obj/ecgitk.o -+ $(CC) -c src/ecgitk.c $(INCS) $(CFLAGS) -o obj/ecgitk.o -+ -+obj/ecgi.So: src/ecgi.c ecgi.h obj/memfile.o -+ $(CC) -c src/ecgi.c $(INCS) $(CFLAGS) -fPIC -o obj/ecgi.So -+ -+obj/memfile.So: src/memfile.c include/memfile.h -+ $(CC) -o obj/memfile.So -c src/memfile.c -fPIC $(INCS) $(CFLAGS) -+ -+obj/ecgitk.So: src/ecgitk.c ecgitk.h -+ $(CC) -c src/ecgitk.c $(INCS) $(CFLAGS) -fPIC -o obj/ecgitk.So - - clean: - rm -f obj/* *.a *.so -f tests/test.cgi tests/testload -- make -C html2h/ clean -+ $(MAKE) -C html2h/ clean - - zip: clean - rm -f ../ecgi-0.6.2.zip diff --git a/devel/ecgi/files/patch-html2h::Makefile b/devel/ecgi/files/patch-html2h::Makefile deleted file mode 100644 index 7ec659184ed7..000000000000 --- a/devel/ecgi/files/patch-html2h::Makefile +++ /dev/null @@ -1,21 +0,0 @@ ---- html2h/Makefile Tue Feb 13 23:46:49 2001 -+++ html2h/Makefile Tue Feb 13 23:49:09 2001 -@@ -1,14 +1,14 @@ --CC = gcc -+CC?= gcc - INCS = -I../include/ -I. --FLAGS = -Wall -+CFLAGS += -Wall - - all: html2h - - html2h: html2h.c html2h.h -- $(CC) html2h.c -o html2h $(INCS) $(FLAGS) ../obj/memfile.o -+ $(CC) html2h.c -o html2h $(INCS) $(CFLAGS) ../obj/memfile.o - - install: all - cp html2h /usr/bin - - clean: -- rm -f html2h -+ rm -f html2h diff --git a/devel/ecgi/files/patch-html2h::html2h.c b/devel/ecgi/files/patch-html2h::html2h.c deleted file mode 100644 index 9be0ec523486..000000000000 --- a/devel/ecgi/files/patch-html2h::html2h.c +++ /dev/null @@ -1,34 +0,0 @@ ---- html2h/html2h.c.orig Sat Jul 19 02:31:37 2003 -+++ html2h/html2h.c Sat Jul 19 02:32:42 2003 -@@ -6,15 +6,15 @@ - - void usage() - { -- printf(" --html2h v0.1 --usage: -- html2h input.html [output.h] -- -- if output is not set, input.h will be generated and overwritten! -- -- debug messages are written to stderr! -- -+ printf("\ -+html2h v0.1\n\ -+usage:\n\ -+ html2h input.html [output.h]\n\ -+\n\ -+ if output is not set, input.h will be generated and overwritten!\n\ -+\n\ -+ debug messages are written to stderr!\n\ -+\n\ - "); - - exit(0); -@@ -415,4 +415,4 @@ - { - fprintf(stderr, "%s%s\n", msg, comment); - exit(1); --} -\ No newline at end of file -+} diff --git a/devel/ecgi/files/patch-src::ecgitk.c b/devel/ecgi/files/patch-src::ecgitk.c deleted file mode 100644 index 8edef5c5735d..000000000000 --- a/devel/ecgi/files/patch-src::ecgitk.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/ecgitk.c.orig Tue Feb 13 21:09:37 2001 -+++ src/ecgitk.c Sat Sep 14 01:22:11 2002 -@@ -23,7 +23,7 @@ - { - char buf[4096]; - int used; -- va_list *ap; -+ va_list ap; - - va_start(ap, (void*)format); - used=vsnprintf(buf, 4095, format, ap); |