summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2011-09-28 17:43:12 +0000
committerJoe Peterson <lavajoe@gentoo.org>2011-09-28 17:43:12 +0000
commit4f61df340b1d0734be012f39f1850f48c8f557ad (patch)
tree9cb42e9ec596dafe64a9c1e79f0650e4afe0023e /media-gfx/povray/files
parentFix for vmscan count in small memcfgs. Change firmware download url for dvb t... (diff)
downloadgentoo-2-4f61df340b1d0734be012f39f1850f48c8f557ad.tar.gz
gentoo-2-4f61df340b1d0734be012f39f1850f48c8f557ad.tar.bz2
gentoo-2-4f61df340b1d0734be012f39f1850f48c8f557ad.zip
Require older libjpeg-6b for older povray-3.6.1 and use included static lib if not available (bug #382459); revert use of EROOT, etc., in povray-3.6.1 ebuild (not EAPI 3)
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/povray/files')
-rw-r--r--media-gfx/povray/files/povray-3.6.1-only-libjpeg-6b.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-gfx/povray/files/povray-3.6.1-only-libjpeg-6b.patch b/media-gfx/povray/files/povray-3.6.1-only-libjpeg-6b.patch
new file mode 100644
index 000000000000..7e84b39209dd
--- /dev/null
+++ b/media-gfx/povray/files/povray-3.6.1-only-libjpeg-6b.patch
@@ -0,0 +1,20 @@
+--- povray-3.6.1/acinclude.m4~ 2011-09-28 10:53:30.000000000 -0600
++++ povray-3.6.1/acinclude.m4 2011-09-28 10:54:17.000000000 -0600
+@@ -494,7 +494,7 @@ AC_DEFUN([POV_CHECK_LIBJPEG],
+ [jpeglib.h],
+ [
+ # check library version, update LIBS
+- AC_MSG_CHECKING([for libjpeg version >= $1])
++ AC_MSG_CHECKING([for libjpeg version == $1])
+ AC_RUN_IFELSE(
+ [
+ AC_LANG_SOURCE(
+@@ -507,7 +507,7 @@ int main (void)
+ sprintf (ver_string, "%d", JPEG_LIB_VERSION);
+ ver_string[[1]] = (ver_string[[1]] > '0') ? ver_string[[1]] + 48 : '\0';
+ fprintf (stderr, "%s\n", ver_string);
+- return ! (strcmp (ver_string, "$1") >= 0);
++ return ! (strcmp (ver_string, "$1") == 0);
+ }]
+ )
+ ],