SOURCES: gocr-link.patch (NEW) - as-needed fix
qboosh
qboosh at pld-linux.org
Tue Sep 5 07:50:02 CEST 2006
Author: qboosh Date: Tue Sep 5 05:50:02 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- as-needed fix
---- Files affected:
SOURCES:
gocr-link.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/gocr-link.patch
diff -u /dev/null SOURCES/gocr-link.patch:1.1
--- /dev/null Tue Sep 5 07:50:02 2006
+++ SOURCES/gocr-link.patch Tue Sep 5 07:49:57 2006
@@ -0,0 +1,21 @@
+--- gocr-0.41/src/Makefile.in.orig 2006-08-23 00:33:06.000000000 +0200
++++ gocr-0.41/src/Makefile.in 2006-09-04 22:50:24.966172500 +0200
+@@ -42,7 +42,8 @@
+ CPPFLAGS=@CPPFLAGS@
+ # to see the config.h
+ CFLAGS=@CFLAGS@ $(CPPFLAGS) -I../include $(DEFS)
+-LDFLAGS=@LDFLAGS@ @LIBS@ -L.
++LDFLAGS=@LDFLAGS@
++LIBS=@LIBS@
+ DESTDIR=@prefix@
+
+ .c.o: $(INCLUDEFILES)
+@@ -53,7 +54,7 @@
+ all: $(PROGRAM) $(LIBPGMASCLIB)
+
+ $(PROGRAM): $(LIBPGMASCLIB) gocr.o
+- $(CC) -o $@ gocr.o $(LDFLAGS) ./lib$(PGMASCLIB).a
++ $(CC) -o $@ gocr.o $(LDFLAGS) ./lib$(PGMASCLIB).a $(LIBS)
+ if test -r $(PROGRAM); then cp $@ ../bin; fi
+
+ gocr.o: gocr.h Makefile
================================================================
More information about the pld-cvs-commit
mailing list