Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/gocr/files: gocr-0.46-makefile.patch
Date: Sun, 26 Oct 2008 13:43:28
Message-Id: E1Ku5tt-0008F9-PF@stork.gentoo.org
1 aballier 08/10/26 13:43:25
2
3 Added: gocr-0.46-makefile.patch
4 Log:
5 version bump, thanks to Ed Davison for the report and Daniel Pielmeier for the updated patch. Bug #243250
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.27.3 x86_64)
7
8 Revision Changes Path
9 1.1 app-text/gocr/files/gocr-0.46-makefile.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/files/gocr-0.46-makefile.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/gocr/files/gocr-0.46-makefile.patch?rev=1.1&content-type=text/plain
13
14 Index: gocr-0.46-makefile.patch
15 ===================================================================
16 --- gocr-0.46/src/Makefile.in 2008-02-05 22:20:44.000000000 +0100
17 +++ gocr-0.46/src/Makefile.in.new 2008-10-22 20:55:41.000000000 +0200
18 @@ -48,7 +48,8 @@
19 CPPFLAGS=@CPPFLAGS@
20 # to see the config.h
21 CFLAGS=@CFLAGS@ $(CPPFLAGS) -I../include $(DEFS)
22 -LDFLAGS=@LDFLAGS@ @LIBS@ -L.
23 +LDFLAGS=@LDFLAGS@
24 +LIBADD=@LIBS@
25 DESTDIR=@prefix@
26
27 .c.o: gocr.h pgm2asc.h ../include/config.h
28 @@ -67,7 +68,7 @@
29 $(PROGRAM): $(LIBOBJS) gocr.o
30 # make it conform to ld --as-needed
31 #$(CC) -o $@ gocr.o ./lib$(PGMASCLIB).a $(LDFLAGS)
32 - $(CC) -o $@ gocr.o $(LIBOBJS) $(LDFLAGS)
33 + $(CC) $(LDFLAGS) gocr.o $(LIBOBJS) $(LIBADD) -o $@
34 if test -r $(PROGRAM); then cp $@ ../bin; fi
35 #$(LIBPGMASCLIB): $(LIBOBJS)
36 # -rm -f $@