[netcdf] 01/01: added patch for proper sonaming

Nico Schlömer nschloe-guest at moszumanska.debian.org
Mon May 12 12:37:31 UTC 2014


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

nschloe-guest pushed a commit to branch split-c-f-cxx
in repository netcdf.

commit 42f453e276e617398818476587bd96d0c3e95ee9
Author: Nico Schlömer <nico.schloemer at gmail.com>
Date:   Mon May 12 14:36:44 2014 +0200

    added patch for proper sonaming
    
    Compare with upstream bug <https://github.com/Unidata/netcdf-c/issues/53>.
---
 debian/patches/series                |  1 +
 debian/patches/set-soname-to-7.patch | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index e69de29..0082a22 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+set-soname-to-7.patch
diff --git a/debian/patches/set-soname-to-7.patch b/debian/patches/set-soname-to-7.patch
new file mode 100644
index 0000000..88b5c7f
--- /dev/null
+++ b/debian/patches/set-soname-to-7.patch
@@ -0,0 +1,31 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fc17c1b..b768092 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -18,7 +18,7 @@ SET(netCDF_VERSION_PATCH 2)
+ SET(netCDF_VERSION_NOTE "")
+ SET(netCDF_VERSION ${netCDF_VERSION_MAJOR}.${netCDF_VERSION_MINOR}.${netCDF_VERSION_PATCH}${netCDF_VERSION_NOTE})
+ SET(VERSION ${netCDF_VERSION})
+-SET(netCDF_SO_VERSION 7.2.0)
++SET(netCDF_SO_VERSION 7)
+ SET(PACKAGE_VERSION ${VERSION})
+ 
+ # Get system configuration, Use it to determine osname, os release, cpu. These
+@@ -642,7 +642,7 @@ IF(USE_HDF5 OR ENABLE_NETCDF_4)
+     OUTPUT_VARIABLE HDF5_VERSION
+     ERROR_QUIET
+     )
+-  
++
+   # It cannot be assumed that libhdf5.settings exists.  If it doesn't,
+   # the call to h5cc will have failed.  At this point we will have to
+   # trust the user that they have configured their system properly.
+@@ -812,7 +812,7 @@ IF(ENABLE_FSYNC)
+   SET(USE_FSYNC ON)
+ ENDIF()
+ 
+-# Temporary 
++# Temporary
+ OPTION (ENABLE_JNA "Enable jna bug fix code." OFF)
+ IF(ENABLE_JNA)
+   SET(JNA ON)

-- 
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