summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-24 16:52:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-24 16:52:40 +0000
commit83923c18046f78f793a327d0e5bf96a8236702af (patch)
tree8c370faef307cfc244465184ac815110f5ddf58f /media-gfx/openexr_viewers/files
parentalpha/ia64/sparc stable wrt #329265 (diff)
downloadhistorical-83923c18046f78f793a327d0e5bf96a8236702af.tar.gz
historical-83923c18046f78f793a327d0e5bf96a8236702af.tar.bz2
historical-83923c18046f78f793a327d0e5bf96a8236702af.zip
Version bump wrt #329713 by Arfrever Frehtes Taifersar Arahesis.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/openexr_viewers/files')
-rw-r--r--media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch
new file mode 100644
index 000000000000..e39a0c1da789
--- /dev/null
+++ b/media-gfx/openexr_viewers/files/openexr_viewers-1.0.2-nvidia-automagic.patch
@@ -0,0 +1,16 @@
+--- configure.ac
++++ configure.ac
+@@ -188,8 +188,11 @@
+
+ dnl
+ dnl check for Cg
+-dnlCG_LD
+-if test "${have_fltk}" = yes; then
++dnl CG_LD
++AC_ARG_ENABLE(nvidia, AC_HELP_STRING([--enable-nvidia],
++ [enable nvidia cg support [[default=check]]]), [want_nvidia="${enableval}"], [want_nvidia=yes])
++
++if test "${have_fltk}" = yes -a "${want_nvidia}" != "no"; then
+ AM_PATH_CG(have_cg=yes, have_cg=no)
+ if test "${have_cg}" = yes; then
+ AC_DEFINE(HAVE_FRAGMENT_SHADERS)