aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-08-01 16:26:42 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2007-08-01 16:26:42 +0000
commite91a39900397e5d6d946e990a37f510dc1b9ee49 (patch)
tree99e45819a0517355ea049b77c8491224524a0237 /dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch
parentdev-python/pygsl: pygsl: version bump (diff)
downloadsci-e91a39900397e5d6d946e990a37f510dc1b9ee49.tar.gz
sci-e91a39900397e5d6d946e990a37f510dc1b9ee49.tar.bz2
sci-e91a39900397e5d6d946e990a37f510dc1b9ee49.zip
dev-lang/gdl: gdl: version update
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@670 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch')
-rw-r--r--dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch b/dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch
new file mode 100644
index 000000000..c3991aba1
--- /dev/null
+++ b/dev-lang/gdl/files/gdl-0.9_pre5-proj4.patch
@@ -0,0 +1,39 @@
+--- configure.orig 2007-07-05 20:53:22.000000000 +0100
++++ configure 2007-08-01 11:42:25.853492000 +0100
+@@ -20805,20 +20805,20 @@
+
+ if test "x$with_libproj4" != "xno"; then
+ if test "x$with_libproj4" != "xyes"; then
+- LIBS="$LIBS -L$with_libproj4/lib -lproj4"
++ LIBS="$LIBS -L$with_libproj4/lib -lproj"
+ INCLUDES="$INCLUDES -I$with_libproj4/include"
+ else
+ INCLUDES="$INCLUDES -I/usr/include"
+- LIBS="$LIBS -lproj4"
++ LIBS="$LIBS -lproj"
+ fi
+
+- { echo "$as_me:$LINENO: checking for pj_init in -lproj4" >&5
+-echo $ECHO_N "checking for pj_init in -lproj4... $ECHO_C" >&6; }
++ { echo "$as_me:$LINENO: checking for pj_init in -lproj" >&5
++echo $ECHO_N "checking for pj_init in -lproj... $ECHO_C" >&6; }
+ if test "${ac_cv_lib_proj4_pj_init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lproj4 $LIBS"
++LIBS="-lproj $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+--- src/math_utl.hpp.orig 2007-07-05 19:09:24.000000000 +0100
++++ src/math_utl.hpp 2007-08-01 12:33:11.118722250 +0100
+@@ -42,7 +42,7 @@
+ #define COMPLEX COMPLEX2
+
+ extern "C" {
+-#include "lib_proj.h"
++#include "projects.h"
+ }
+
+ PJ *map_init();