[netcdf] 06/08: Add patch to revert SOVERSION decrement.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat May 14 12:04:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository netcdf.

commit bc251f57653d85718bc45c849e8e8fff7efdd3f4
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat May 14 13:25:58 2016 +0200

    Add patch to revert SOVERSION decrement.
---
 debian/changelog               |  1 +
 debian/patches/series          |  1 +
 debian/patches/soversion.patch | 28 ++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0d1c7f0..e032704 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ netcdf (1:4.4.1~rc2-1) UNRELEASED; urgency=medium
   * New upstream release candidate.
   * Refresh patches.
   * Add patch to fix tst_fileinfo linking to libhdf5.
+  * Add patch to revert SOVERSION decrement.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 14 May 2016 01:11:10 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index dac6fb5..6458356 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ link-private.patch
 privacy-breach-logo.patch
 hdf5-library-path.patch
 tst_fileinfo-link-hdf5.patch
+soversion.patch
diff --git a/debian/patches/soversion.patch b/debian/patches/soversion.patch
new file mode 100644
index 0000000..ed4c49f
--- /dev/null
+++ b/debian/patches/soversion.patch
@@ -0,0 +1,28 @@
+Description: Revert SOVERSION decrement.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/Unidata/netcdf-c/issues/262
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -31,8 +31,8 @@ SET(NC_VERSION_NOTE "-rc2")
+ SET(netCDF_VERSION ${NC_VERSION_MAJOR}.${NC_VERSION_MINOR}.${NC_VERSION_PATCH}${NC_VERSION_NOTE})
+ SET(VERSION ${netCDF_VERSION})
+ SET(NC_VERSION ${netCDF_VERSION})
+-SET(netCDF_LIB_VERSION 11.2.0)
+-SET(netCDF_SO_VERSION 11)
++SET(netCDF_LIB_VERSION 12.0.0)
++SET(netCDF_SO_VERSION 12)
+ SET(PACKAGE_VERSION ${VERSION})
+ 
+ # Get system configuration, Use it to determine osname, os release, cpu. These
+--- a/liblib/Makefile.am
++++ b/liblib/Makefile.am
+@@ -18,7 +18,7 @@ lib_LTLIBRARIES = libnetcdf.la
+ # for information regarding incrementing `-version-info`.
+ ##
+ 
+-libnetcdf_la_LDFLAGS = -version-info 11:2:0 ${NOUNDEFINED}
++libnetcdf_la_LDFLAGS = -version-info 12:0:0 ${NOUNDEFINED}
+ 
+ libnetcdf_la_CPPFLAGS = ${AM_CPPFLAGS}
+ libnetcdf_la_LIBADD =

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/netcdf.git



More information about the Pkg-grass-devel mailing list