[med-svn] [libsis-jhdf5-java] 06/07: Adapt patches

Andreas Tille tille at debian.org
Mon Nov 14 13:42:07 UTC 2016


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

tille pushed a commit to branch master
in repository libsis-jhdf5-java.

commit 6981821c514a508257e20572b35a983591c34902
Author: Andreas Tille <tille at debian.org>
Date:   Mon Nov 14 14:30:49 2016 +0100

    Adapt patches
---
 debian/patches/load_native_debian.patch | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/debian/patches/load_native_debian.patch b/debian/patches/load_native_debian.patch
index e19b1e1..722b06f 100644
--- a/debian/patches/load_native_debian.patch
+++ b/debian/patches/load_native_debian.patch
@@ -11,15 +11,15 @@ Forwarded: no
 
 --- a/source/java/ch/systemsx/cisd/hdf5/hdf5lib/H5.java
 +++ b/source/java/ch/systemsx/cisd/hdf5/hdf5lib/H5.java
-@@ -36,10 +36,7 @@
- 
-     static
+@@ -38,10 +38,7 @@ class H5
      {
--        if (NativeLibraryUtilities.loadNativeLibrary("jhdf5") == false)
--        {
--            throw new UnsupportedOperationException("No suitable HDF5 native library found for this platform.");
--        }
-+	System.loadLibrary("sis-jhdf5");
- 
-         // Important! Exit quietly
-         try
+         synchronized (ncsa.hdf.hdf5lib.H5.class)
+         {
+-            if (NativeLibraryUtilities.loadNativeLibrary("jhdf5") == false)
+-            {
+-                throw new UnsupportedOperationException("No suitable HDF5 native library found for this platform.");
+-            }
++            System.loadLibrary("sis-jhdf5");
+     
+             // Important! Exit quietly
+             try

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libsis-jhdf5-java.git



More information about the debian-med-commit mailing list