diff options
Diffstat (limited to 'app-crypt/bcwipe/files')
-rw-r--r-- | app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch | 20 | ||||
-rw-r--r-- | app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch | 11 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch b/app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch new file mode 100644 index 000000000000..f24a6acdb600 --- /dev/null +++ b/app-crypt/bcwipe/files/bcwipe-1.9.7-fix_warnings.patch @@ -0,0 +1,20 @@ +--- schemes.c ++++ schemes.c +@@ -15,6 +15,7 @@ + * + *******************************************************************/ + #include "config.h" ++#include <ctype.h> + #include <stdlib.h> + #include <stdio.h> + #include <errno.h> +--- wipe.c ++++ wipe.c +@@ -42,6 +42,7 @@ + #include <sys/ioctl.h> + #include <signal.h> + #include <time.h> ++#include <sys/time.h> + #include <ctype.h> + + #if HAVE_SYS_DISKIO_H /* HP-UX */ diff --git a/app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch b/app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch new file mode 100644 index 000000000000..ac91518e0270 --- /dev/null +++ b/app-crypt/bcwipe/files/bcwipe-1.9.8-fix-flags.patch @@ -0,0 +1,11 @@ +--- Makefile.in 2011-02-23 01:07:29.841894634 +0100 ++++ Makefile.in 2011-02-23 01:07:46.626793943 +0100 +@@ -174,7 +174,7 @@ + bcwipe_SOURCES = wipe.c wipe.h options.c options.h schemes.c schemes.h sha1.c sha1.h sha1random.c sha1random.h log.c log.h standard.h rand.h rand.c prng.c + man_MANS = bcwipe.1 + EXTRA_DIST = $(man_MANS) bcwipe.spec.in osxpkg.sh.in +-AM_CFLAGS = -g -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ++AM_CFLAGS = -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-am + |