summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRashad Kanavath <rashad.kanavath@c-s.fr>2016-05-04 10:07:59 (GMT)
committerRashad Kanavath <rashad.kanavath@c-s.fr>2016-05-04 10:07:59 (GMT)
commit52f45813d4ce6b327400fef282330881fe952c0a (patch)
treed541e28fe2d80d7a2fd7ad8ee92db82f562e5f83
parentfc01badf03d07773a82b15117130c275935fc959 (diff)
downloadmxe-52f45813d4ce6b327400fef282330881fe952c0a.zip
mxe-52f45813d4ce6b327400fef282330881fe952c0a.tar.gz
mxe-52f45813d4ce6b327400fef282330881fe952c0a.tar.bz2
proj4: libproj-0.dll is checked by GDAL if the platform is windows
For mingw, proj4 creates libproj-9.dll and GDAL library consider this as missing dll. GDAL has a workaround to use PROJSO env variable that allows to set proj-9.dll. But it is better if proj library could simply output the dll with the other name https://trac.osgeo.org/gdal/browser/branches/2.1/gdal/ogr/ogrct.cpp#L86
-rw-r--r--src/proj-1-fixes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/proj-1-fixes.patch b/src/proj-1-fixes.patch
new file mode 100644
index 0000000..3792b1c
--- /dev/null
+++ b/src/proj-1-fixes.patch
@@ -0,0 +1,12 @@
+diff -bruN proj-4.9.1.original/src/Makefile.in proj-4.9.1/src/Makefile.in
+--- proj-4.9.1.original/src/Makefile.in 2016-04-05 10:59:38.834624359 +0200
++++ proj-4.9.1/src/Makefile.in 2016-04-05 11:00:11.073813213 +0200
+@@ -400,7 +400,7 @@
+ multistresstest_LDADD = libproj.la -lpthread
+ test228_LDADD = libproj.la -lpthread
+ lib_LTLIBRARIES = libproj.la
+-libproj_la_LDFLAGS = -no-undefined -version-info 9:0:0
++libproj_la_LDFLAGS = -no-undefined -version-info 0:0:0
+ libproj_la_SOURCES = \
+ pj_list.h \
+ PJ_aeqd.c PJ_gnom.c PJ_laea.c PJ_mod_ster.c \