diff src/of-mapping-1-cross-fixes.patch @ 4089:98a8748f0438

of-mapping: update to 1.2.1 * build_packages.m: update mapping version * src/of-mapping.mk: update checksum,version, subdir and add dependancy on gdal * src/of-mapping-1-cross-fixes.patch: new file
author John Donoghue <john.donoghue@ieee.org>
date Mon, 08 Feb 2016 06:15:11 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/of-mapping-1-cross-fixes.patch	Mon Feb 08 06:15:11 2016 -0500
@@ -0,0 +1,28 @@
+diff -ur mapping-1.2.1.orig/src/configure mapping-1.2.1/src/configure
+--- mapping-1.2.1.orig/src/configure	2016-02-08 12:49:21.906234446 -0500
++++ mapping-1.2.1/src/configure	2016-02-08 12:50:26.136276230 -0500
+@@ -1810,8 +1810,8 @@
+   OCTAVE=octave
+ fi
+ 
+-HAS_RAD2DEG=`$OCTAVE -qf --eval "printf ('%i', exist ('rad2deg'))"`
+-HAS_DEG2RAD=`$OCTAVE -qf --eval "printf ('%i', exist ('deg2rad'))"`
++HAS_RAD2DEG=0 #`$OCTAVE -qf --eval "printf ('%i', exist ('rad2deg'))"`
++HAS_DEG2RAD=0 #`$OCTAVE -qf --eval "printf ('%i', exist ('deg2rad'))"`
+ 
+ if test "$HAS_RAD2DEG" == 0; then
+   ac_config_files="$ac_config_files rad2deg.m"
+diff -ur mapping-1.2.1.orig/src/configure.ac mapping-1.2.1/src/configure.ac
+--- mapping-1.2.1.orig/src/configure.ac	2016-02-08 12:49:21.906234446 -0500
++++ mapping-1.2.1/src/configure.ac	2016-02-08 12:50:01.067650216 -0500
+@@ -11,8 +11,8 @@
+   OCTAVE=octave
+ fi
+ 
+-HAS_RAD2DEG=`$OCTAVE -qf --eval "printf ('%i', exist ('rad2deg'))"`
+-HAS_DEG2RAD=`$OCTAVE -qf --eval "printf ('%i', exist ('deg2rad'))"`
++HAS_RAD2DEG=0 #`$OCTAVE -qf --eval "printf ('%i', exist ('rad2deg'))"`
++HAS_DEG2RAD=0 #`$OCTAVE -qf --eval "printf ('%i', exist ('deg2rad'))"`
+ 
+ if test "$HAS_RAD2DEG" == 0; then
+   AC_CONFIG_FILES([rad2deg.m])