diff options
author | darcy <darcy@pkgsrc.org> | 2007-05-13 06:14:38 +0000 |
---|---|---|
committer | darcy <darcy@pkgsrc.org> | 2007-05-13 06:14:38 +0000 |
commit | ea9b31f7cb9d726330f067a1409a0221984918d3 (patch) | |
tree | 97216070f93a507aa80d3fcb681bbe4457b97ead /sysutils/vobcopy | |
parent | 2722b1fce06076a91af42a5190f0cbfd238fae73 (diff) | |
download | pkgsrc-ea9b31f7cb9d726330f067a1409a0221984918d3.tar.gz |
Don't declare bool enum if TRUE and FALSE are already defined. Fixes
failure in bulk build.
Diffstat (limited to 'sysutils/vobcopy')
-rw-r--r-- | sysutils/vobcopy/distinfo | 3 | ||||
-rw-r--r-- | sysutils/vobcopy/patches/patch-ac | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/sysutils/vobcopy/distinfo b/sysutils/vobcopy/distinfo index c74aab48f96..6b47e112334 100644 --- a/sysutils/vobcopy/distinfo +++ b/sysutils/vobcopy/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2006/05/19 08:32:04 joerg Exp $ +$NetBSD: distinfo,v 1.7 2007/05/13 06:14:38 darcy Exp $ SHA1 (vobcopy-0.5.14.tar.gz) = d4d7c6c5ed4380e4a57e82f561892ad7fba9593b RMD160 (vobcopy-0.5.14.tar.gz) = 47887e9897b1217e3841fd239cfaa2f2973cb9f5 Size (vobcopy-0.5.14.tar.gz) = 44420 bytes SHA1 (patch-aa) = 431d7d05356fd8e756bcdf67a822360e9183492e SHA1 (patch-ab) = eea1f5bb3004e86281663c03c8662d5b6e4ea4fe +SHA1 (patch-ac) = 47573a8ce870474a585a0dfc7bf434e822d009c0 diff --git a/sysutils/vobcopy/patches/patch-ac b/sysutils/vobcopy/patches/patch-ac new file mode 100644 index 00000000000..e4923e02a46 --- /dev/null +++ b/sysutils/vobcopy/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2007/05/13 06:14:38 darcy Exp $ + +--- vobcopy.h.orig 2004-11-22 14:12:58.000000000 -0500 ++++ vobcopy.h +@@ -5,6 +5,9 @@ + #define MAX_STRING 81 + #define MAX_DIFFER 2000 + ++#if defined(FALSE) ++typedef int bool; ++#else + #if defined(__APPLE__) && defined(__GNUC__) + typedef int bool; + +@@ -13,6 +16,7 @@ typedef int bool; + #else + typedef enum { FALSE=0, TRUE=1 } bool; + #endif /* Darwin */ ++#endif /* defined FALSE */ + + + void usage(char *); |