summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-03-27 17:20:26 +0000
committerJustin Lecher <jlec@gentoo.org>2011-03-27 17:20:26 +0000
commit325884c55d288b19711cfaf39700a660d8077647 (patch)
tree8775cd1f759afdb72ecd60ca13be28e3552bfd14 /dev-tcltk/tkimg/files
parentDrop unused entries (diff)
downloadgentoo-2-325884c55d288b19711cfaf39700a660d8077647.tar.gz
gentoo-2-325884c55d288b19711cfaf39700a660d8077647.tar.bz2
gentoo-2-325884c55d288b19711cfaf39700a660d8077647.zip
Fix double declaration of BOOLEAN, #359241; thanks Dennis Yxun
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/tkimg/files')
-rw-r--r--dev-tcltk/tkimg/files/tkimg-1.4.20100510-boolean.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-tcltk/tkimg/files/tkimg-1.4.20100510-boolean.patch b/dev-tcltk/tkimg/files/tkimg-1.4.20100510-boolean.patch
new file mode 100644
index 000000000000..0ac51973a3a6
--- /dev/null
+++ b/dev-tcltk/tkimg/files/tkimg-1.4.20100510-boolean.patch
@@ -0,0 +1,12 @@
+diff --git a/compat/libjpeg/jmorecfg.h b/compat/libjpeg/jmorecfg.h
+index 4196885..d1eb675 100644
+--- a/compat/libjpeg/jmorecfg.h
++++ b/compat/libjpeg/jmorecfg.h
+@@ -253,6 +253,7 @@ typedef unsigned int JDIMENSION;
+ #endif
+
+ #ifndef HAVE_BOOLEAN
++#define HAVE_BOOLEAN
+ #if defined(_WINDOWS) || defined(__WIN32__) || defined(_Windows)
+ typedef unsigned char boolean;
+ #else