diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-03-21 23:06:12 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-03-21 23:06:12 +0000 |
commit | 2e04ea1a6747fbb337c7fd6857bea021103aaa6f (patch) | |
tree | 999c39350b054db58b98ef31cf5a404ab1b700b5 /app-crypt/bcwipe/files | |
parent | Bump to 1.0.3-r13. Remove debug code that turns warnings into crashes, bug #2... (diff) | |
download | gentoo-2-2e04ea1a6747fbb337c7fd6857bea021103aaa6f.tar.gz gentoo-2-2e04ea1a6747fbb337c7fd6857bea021103aaa6f.tar.bz2 gentoo-2-2e04ea1a6747fbb337c7fd6857bea021103aaa6f.zip |
Version bump. Respect CFLAGS and LDFLAGS (bug #239967).
(Portage version: 13139-svn/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/bcwipe/files')
-rw-r--r-- | app-crypt/bcwipe/files/bcwipe-1.6_p8-qa.patch | 12 | ||||
-rw-r--r-- | app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch | 31 |
2 files changed, 31 insertions, 12 deletions
diff --git a/app-crypt/bcwipe/files/bcwipe-1.6_p8-qa.patch b/app-crypt/bcwipe/files/bcwipe-1.6_p8-qa.patch deleted file mode 100644 index a633521d4247..000000000000 --- a/app-crypt/bcwipe/files/bcwipe-1.6_p8-qa.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urNp bcwipe.org/options.c bcwipe/options.c ---- bcwipe.org/options.c 2007-09-11 06:41:19.000000000 +0300 -+++ bcwipe/options.c 2007-11-10 11:05:38.000000000 +0200 -@@ -20,6 +20,8 @@ char wipe_c[]="$Id: options.c,v 1.3 2007 - #include "options.h" - #include "schemes.h" - #include <stdio.h> -+#include <stdlib.h> -+#include <string.h> - #include <unistd.h> - - int o_verbose = FALSE; /* -v, */ diff --git a/app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch b/app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch new file mode 100644 index 000000000000..51a6e4b48128 --- /dev/null +++ b/app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch @@ -0,0 +1,31 @@ +--- Makefile ++++ Makefile +@@ -48,15 +48,14 @@ + + INSTALL = install + +-CFLAGS = -O -DOS_$(OS_NAME) -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror ++CFLAGS += -O -DOS_$(OS_NAME) -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror + + #CFLAGS = -O -DOS_`uname -s |tr "-" "_"` -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror + +-LDFLAGS = + DEFS = + + TARGETS = bcwipe +-BC_OBJ = sha1.o sha1random.o options.o schemes.o ++BC_OBJ = sha1.o sha1random.o options.o schemes.o wipe.o + + + root=/ +@@ -64,8 +63,8 @@ + + all: $(TARGETS) + +-bcwipe: wipe.c $(BC_OBJ) +- $(CC) $(CFLAGS) $(DEFS) -o bcwipe wipe.c $(BC_OBJ) ++bcwipe: $(BC_OBJ) ++ $(CC) $(LDFLAGS) -o bcwipe $(BC_OBJ) + + install: + ./install.sh $(root) |