The following commit has been merged in the master branch:
commit 0355429eab7ac4cfd62a51d888e437ff058b3749
Author: Francesco Paolo Lovergine <fran...@debian.org>
Date:   Mon May 9 17:12:07 2011 +0200

    Introduced symbol versioning for all symbols in the library.

diff --git a/debian/gdal.ver b/debian/gdal.ver
new file mode 100644
index 0000000..120827f
--- /dev/null
+++ b/debian/gdal.ver
@@ -0,0 +1,3 @@
+GDAL_1.8 {
+    *;
+};
diff --git a/debian/patches/series b/debian/patches/series
index 485f840..1cae244 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ hdf4
 gdal-grass
 ecw-plugin
 mrsid-plugin
+symver
diff --git a/debian/patches/symver b/debian/patches/symver
new file mode 100644
index 0000000..da31115
--- /dev/null
+++ b/debian/patches/symver
@@ -0,0 +1,16 @@
+Index: gdal/GNUmakefile
+===================================================================
+--- gdal.orig/GNUmakefile      2011-05-09 17:04:39.000000000 +0200
++++ gdal/GNUmakefile   2011-05-09 17:09:23.000000000 +0200
+@@ -39,9 +39,9 @@
+ 
+ $(LIBGDAL):   $(GDAL_OBJ:.o=.lo)
+       $(LD) $(LDFLAGS) $(LIBS) -o $@ $(GDAL_OBJ:.o=.lo) \
+-          -rpath $(INST_LIB) \
+           -no-undefined \
+-          -version-info $(LIBGDAL_CURRENT):$(LIBGDAL_REVISION):$(LIBGDAL_AGE)
++          -version-info $(LIBGDAL_CURRENT):$(LIBGDAL_REVISION):$(LIBGDAL_AGE) 
\
++              -Wl,--version-script,$(GDAL_ROOT)/debian/gdal.ver
+ ifeq ($(MACOSX_FRAMEWORK),yes)
+       install_name_tool -id ${OSX_VERSION_FRAMEWORK_PREFIX}/GDAL 
.libs/libgdal.dylib
+ endif

-- 
GDAL/OGR library and tools

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to