public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lang/gdl/files: gdl-0.9_rc1-proj4.patch
@ 2008-05-22 15:29 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2008-05-22 15:29 UTC (permalink / raw
  To: gentoo-commits

bicatali    08/05/22 15:29:38

  Added:                gdl-0.9_rc1-proj4.patch
  Log:
  Version bump
  (Portage version: 2.1.5.2)

Revision  Changes    Path
1.1                  dev-lang/gdl/files/gdl-0.9_rc1-proj4.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/files/gdl-0.9_rc1-proj4.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gdl/files/gdl-0.9_rc1-proj4.patch?rev=1.1&content-type=text/plain

Index: gdl-0.9_rc1-proj4.patch
===================================================================
--- configure.in.orig	2008-05-22 15:03:04.000000000 +0000
+++ configure.in	2008-05-22 15:03:19.000000000 +0000
@@ -482,14 +482,14 @@
 
 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
 
-  AC_CHECK_LIB(proj4, pj_init, [AC_DEFINE([USE_LIBPROJ4], [1], [Define if you want to use LIBPROJ4])], [
+  AC_CHECK_LIB(proj, pj_init, [AC_DEFINE([USE_LIBPROJ4], [1], [Define if you want to use LIBPROJ4])], [
     echo ""
     echo "Error! LIBPROJ4 is required but was not found"
     echo "       Use --with-libproj4=DIR to specify the LIBPROJ4 directory tree"
--- src/math_utl.hpp.orig	2008-05-22 15:00:39.000000000 +0000
+++ src/math_utl.hpp	2008-05-22 15:01:46.000000000 +0000
@@ -42,7 +42,7 @@
 #define COMPLEX COMPLEX2
 
 extern "C" {
-#include "lib_proj.h"
+#include <projects.h>
 }
 
   PJ *map_init();



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-22 15:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22 15:29 [gentoo-commits] gentoo-x86 commit in dev-lang/gdl/files: gdl-0.9_rc1-proj4.patch Sebastien Fabbro (bicatali)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox