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/patches | |
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/patches')
-rw-r--r-- | sysutils/vobcopy/patches/patch-ac | 22 |
1 files changed, 22 insertions, 0 deletions
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 *); |