From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-crypt/pdfcrack/files: pdfcrack-0.10-build.patch |
Date: | Thu, 01 May 2008 00:06:51 |
Message-Id: | E1JrMK0-00062O-Tj@stork.gentoo.org |
1 | vapier 08/05/01 00:06:48 |
2 | |
3 | Added: pdfcrack-0.10-build.patch |
4 | Log: |
5 | Version bump. |
6 | (Portage version: 2.2_pre5) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-crypt/pdfcrack/files/pdfcrack-0.10-build.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/pdfcrack/files/pdfcrack-0.10-build.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/pdfcrack/files/pdfcrack-0.10-build.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: pdfcrack-0.10-build.patch |
15 | =================================================================== |
16 | just use implicit rules so correct variables get used |
17 | |
18 | --- Makefile |
19 | +++ Makefile |
20 | @@ -1,20 +1,13 @@ |
21 | -CFLAGS= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \ |
22 | +CFLAGS+= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \ |
23 | -Wmissing-noreturn -Wbad-function-cast \ |
24 | - -Wmissing-prototypes -Winline -Wredundant-decls -O3 |
25 | + -Wmissing-prototypes -Winline -Wredundant-decls |
26 | |
27 | all: pdfcrack |
28 | |
29 | pdfcrack: main.o rc4.o md5.o pdfcrack.o pdfparser.o passwords.o common.o \ |
30 | benchmark.o |
31 | - gcc $(CFLAGS) -o $@ $+ |
32 | - strip $@ |
33 | |
34 | pdfreader: pdfparser.o pdfreader.o common.o |
35 | - gcc $(CFLAGS) -o $@ $+ |
36 | - strip $@ |
37 | |
38 | clean: |
39 | rm -f pdfcrack pdfreader testreader *.o |
40 | - |
41 | -%.o: %.c |
42 | - gcc $(CFLAGS) -c -o $@ $+ |
43 | |
44 | |
45 | |
46 | -- |
47 | gentoo-commits@l.g.o mailing list |