aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2008-04-29 23:01:44 +0000
committergrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2008-04-29 23:01:44 +0000
commit78066f75486687067197067c56e6aad3752d2775 (patch)
tree57a40b316cb92bf35379299aeb2eece47e384f57 /sci-visualization/udav/files/udav-fltk.patch
parentmathgl-1.6.2: Math Graphics Library (diff)
downloadsci-78066f75486687067197067c56e6aad3752d2775.tar.gz
sci-78066f75486687067197067c56e6aad3752d2775.tar.bz2
sci-78066f75486687067197067c56e6aad3752d2775.zip
udav-0.3.2: Universal Data Array Visualization
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@1033 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-visualization/udav/files/udav-fltk.patch')
-rw-r--r--sci-visualization/udav/files/udav-fltk.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-visualization/udav/files/udav-fltk.patch b/sci-visualization/udav/files/udav-fltk.patch
new file mode 100644
index 000000000..96953820c
--- /dev/null
+++ b/sci-visualization/udav/files/udav-fltk.patch
@@ -0,0 +1,20 @@
+diff -U2 --recursive udav-0.3.2.orig/configure.ac udav-0.3.2/configure.ac
+--- udav-0.3.2.orig/configure.ac 2008-04-03 01:24:14.000000000 +0700
++++ udav-0.3.2/configure.ac 2008-04-30 13:43:19.000000000 +0700
+@@ -18,6 +18,6 @@
+ )
+
+-AC_CHECK_HEADERS([FL/Fl_Export.H],,[echo "Please install FLTK library"; exit])
+-AC_CHECK_LIB([fltk], [main], [FLTK_LIBS="-lfltk -lfltk_images" AC_SUBST(FLTK_LIBS)],
++AC_CHECK_HEADERS([fltk-1.1/FL/Fl_Export.H],,[echo "Please install FLTK library"; exit])
++AC_CHECK_LIB([fltk], [main], [FLTK_LIBS="-L/usr/lib/fltk-1.1 -lfltk -lfltk_images -lXft" AC_SUBST(FLTK_LIBS)],
+ [echo "Please install FLTK library (libfltk)"; exit],\
+ )
+diff -U2 --recursive udav-0.3.2.orig/src/Makefile.am udav-0.3.2/src/Makefile.am
+--- udav-0.3.2.orig/src/Makefile.am 2008-04-03 01:24:14.000000000 +0700
++++ udav-0.3.2/src/Makefile.am 2008-04-30 13:53:00.000000000 +0700
+@@ -8,3 +8,3 @@
+
+ udav_LDADD = $(MGL_LIBS) $(FLTK_LIBS)
+-udav_CPPFLAGS = -O2 -DDOC_DIR=\"$(docdir)/\"
++udav_CPPFLAGS = -I/usr/include/fltk-1.1 -DDOC_DIR=\"$(docdir)/\"