ports/121451: [PATCH]security/pdfcrack: respect CC, CFLAGS
bf
bf2006a at yahoo.com
Thu Mar 6 22:40:01 UTC 2008
>Number: 121451
>Category: ports
>Synopsis: [PATCH]security/pdfcrack: respect CC, CFLAGS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 06 22:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: bf
>Release: 7-STABLE i386
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN pdfcrack.orig/files/patch-Makefile pdfcrack/files/patch-Makefile
--- pdfcrack.orig/files/patch-Makefile 1969-12-31 19:00:00.000000000 -0500
+++ pdfcrack/files/patch-Makefile 2008-03-06 17:28:17.942969414 -0500
@@ -0,0 +1,27 @@
+--- Makefile.orig 2006-10-27 08:52:08.000000000 -0400
++++ Makefile 2008-03-06 17:20:32.064287906 -0500
+@@ -1,13 +1,13 @@
+-CFLAGS= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \
+- -Wconversion -Wmissing-noreturn -Wbad-function-cast \
+- -Wmissing-prototypes -Winline -Wredundant-decls -O3
++#CFLAGS= -Wall -Wshadow -Wwrite-strings -Wsign-compare -Wfloat-equal \
++# -Wconversion -Wmissing-noreturn -Wbad-function-cast \
++# -Wmissing-prototypes -Winline -Wredundant-decls -O3
+
+ all: pdfcrack
+
+ pdfcrack: main.o rc4.o md5.o pdfcrack.o pdfparser.o passwords.o common.o \
+ benchmark.o
+- gcc $(CFLAGS) -o $@ $+
+- strip $@
++ ${CC} $(CFLAGS) -o $@ $+
++# strip $@
+
+ pdfreader: pdfparser.o pdfreader.o common.o
+ gcc $(CFLAGS) -o $@ $+
+@@ -17,4 +17,4 @@
+ rm -f pdfcrack pdfreader testreader *.o
+
+ %.o: %.c
+- gcc $(CFLAGS) -c -o $@ $+
++ ${CC} $(CFLAGS) -c -o $@ $+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list