[Debichem-devel] Bug#963305: indigo: diff for NMU version 1.2.3-3.1

Sudip Mukherjee sudipm.mukherjee at gmail.com
Wed Jul 22 23:56:34 BST 2020


Control: tags 963305 + patch
Control: tags 963305 + pending


Dear maintainer,

I've prepared an NMU for indigo (versioned as 1.2.3-3.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru indigo-1.2.3/debian/changelog indigo-1.2.3/debian/changelog
--- indigo-1.2.3/debian/changelog	2020-01-17 05:54:17.000000000 +0000
+++ indigo-1.2.3/debian/changelog	2020-07-22 23:41:31.000000000 +0100
@@ -1,3 +1,10 @@
+indigo (1.2.3-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use the correct API to fix FTBFS. (Closes: #963305)
+
+ -- Sudip Mukherjee <sudipm.mukherjee at gmail.com>  Wed, 22 Jul 2020 23:41:31 +0100
+
 indigo (1.2.3-3) unstable; urgency=medium
 
   * No-change source-only upload.
diff -Nru indigo-1.2.3/debian/patches/fix_ftbfs.patch indigo-1.2.3/debian/patches/fix_ftbfs.patch
--- indigo-1.2.3/debian/patches/fix_ftbfs.patch	1970-01-01 01:00:00.000000000 +0100
+++ indigo-1.2.3/debian/patches/fix_ftbfs.patch	2020-07-22 23:17:52.000000000 +0100
@@ -0,0 +1,22 @@
+Description: Use getString()
+ The api public String getString(long offset, boolean wide) was removed
+ in the latest version of libjna-java. The call with 'false' should now
+ use getString(), and the ones with 'true' should use getWideString().
+
+Author: Sudip Mukherjee <sudipm.mukherjee at gmail.com>
+Bug-Debian: https://bugs.debian.org/963305
+Forwarded: no
+
+---
+
+--- indigo-1.2.3.orig/api/java/src/main/java/com/epam/indigo/Indigo.java
++++ indigo-1.2.3/api/java/src/main/java/com/epam/indigo/Indigo.java
+@@ -92,7 +92,7 @@ public class Indigo {
+         if (result == Pointer.NULL)
+             throw new IndigoException(obj, _lib.indigoGetLastError());
+ 
+-        return result.getString(0, false);
++        return result.getString(0);
+     }
+ 
+     static public Pointer checkResultPointer(Object obj, Pointer result) {
diff -Nru indigo-1.2.3/debian/patches/series indigo-1.2.3/debian/patches/series
--- indigo-1.2.3/debian/patches/series	2020-01-17 05:54:17.000000000 +0000
+++ indigo-1.2.3/debian/patches/series	2020-07-22 23:14:06.000000000 +0100
@@ -4,3 +4,4 @@
 xlocale_ftbfs_fix.patch
 pixman_fix_library_name.patch
 indigo-deco_build_fix.patch
+fix_ftbfs.patch



More information about the Debichem-devel mailing list