Control: tags -1 + pending

Hello Simon,

At Imagination Technologies (http://imgtec.com/) Dejan Latinovic has
found a solution to Debian bug #754754.

https://bugs.debian.org/754754

My NMU debdiff for jq_1.4-2.1 is below, at the end of this message.

With the changes in the NMU debdiff, jq builds successfully on mips,
mipsel and amd64.

Regards,

Aníbal
--
Aníbal Monsalve Salazar <anibal.monsalvesala...@imgtec.com>

debdiff jq_1.4-2.dsc jq_1.4-2.1.dsc
diff -Nru jq-1.4/debian/changelog jq-1.4/debian/changelog
--- jq-1.4/debian/changelog     2014-07-06 01:18:20.000000000 +0100
+++ jq-1.4/debian/changelog     2014-07-21 07:53:57.000000000 +0100
@@ -1,3 +1,14 @@
+jq (1.4-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Restore the 1.3-1.1 NMU changelog.
+  * Fix FTBFS on big endian architectures.
+    Add big-endian-fix.patch.
+    Patch by Dejan Latinovic <dejan.latino...@imgtec.com>.
+    Closes: #754754.
+
+ -- Anibal Monsalve Salazar <ani...@debian.org>  Mon, 21 Jul 2014 07:42:05 
+0100
+
 jq (1.4-2) unstable; urgency=medium
 
   * Set valgrind build-dep to amd64 i386 only (Closes: #752529)
@@ -14,6 +25,14 @@
 
  -- Simon Elsbrock <si...@iodev.org>  Sun, 22 Jun 2014 20:49:15 +0200
 
+jq (1.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove build dependency on valgrind on archs where the valgrind
+    tests are disabled. (Closes: #729138)
+
+ -- Christian Hofstaedtler <z...@debian.org>  Thu, 13 Feb 2014 13:30:29 +0100
+
 jq (1.3-1) unstable; urgency=low
 
   * New upstream release. (Closes: #725118)
diff -Nru jq-1.4/debian/patches/big-endian-fix.patch 
jq-1.4/debian/patches/big-endian-fix.patch
--- jq-1.4/debian/patches/big-endian-fix.patch  1970-01-01 01:00:00.000000000 
+0100
+++ jq-1.4/debian/patches/big-endian-fix.patch  2014-07-21 07:40:03.000000000 
+0100
@@ -0,0 +1,42 @@
+Date: Fri, 18 Jul 2014 16:47:47 +0100
+From: Dejan Latinovic <dejan.latino...@imgtec.com>
+Subject: fix big endian for jq
+
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754754
+
+package jq FTBFS for mips and other BE architectures.
+
+This patch from upstream fixes this issue for me.
+https://github.com/stedolan/jq/commit/20e629284f94e0c8a14e8425309c913b6ee5b280
+
+The patch is attached.
+
+Index: jq-1.4/configure.ac
+===================================================================
+--- jq-1.4.orig/configure.ac
++++ jq-1.4/configure.ac
+@@ -96,6 +96,12 @@ if test $have___thread = yes; then
+ fi
+ AC_MSG_RESULT($have___thread)
+ 
++AC_C_BIGENDIAN(
++   AC_DEFINE([IEEE_MC68k], 1, [machine is bigendian]),
++   AC_DEFINE([IEEE_8087], 1, [machine is littleendian]),
++   AC_MSG_ERROR(unknown endianess),
++   AC_MSG_ERROR(universial endianess not supported)
++)
+ 
+ AC_SUBST([BUNDLER], ["$bundle_cmd"])
+ 
+Index: jq-1.4/jv_dtoa.c
+===================================================================
+--- jq-1.4.orig/jv_dtoa.c
++++ jq-1.4/jv_dtoa.c
+@@ -187,7 +187,6 @@
+  *    used for input more than STRTOD_DIGLIM digits long (default 40).
+  */
+ 
+-#define IEEE_8087
+ #define NO_ERRNO
+ #define NO_HEX_FP
+ #define No_Hex_NaN
diff -Nru jq-1.4/debian/patches/series jq-1.4/debian/patches/series
--- jq-1.4/debian/patches/series        2014-06-22 21:36:53.000000000 +0100
+++ jq-1.4/debian/patches/series        2014-07-21 07:34:21.000000000 +0100
@@ -3,3 +3,4 @@
 remove-unecessary-rakefile-deps.patch
 patch-version-into-build.patch
 disable-shared-lib.patch
+big-endian-fix.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to