Control: tags 843496 + patch

Dear maintainer,

I've prepared an NMU for graphviz (versioned as 2.38.0-16.1). The diff
is attached to this message.

Regards.

-- 
Jonathan Wiltshire                                      j...@debian.org
Debian Developer                         http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51

diff -Nru graphviz-2.38.0/debian/changelog graphviz-2.38.0/debian/changelog
--- graphviz-2.38.0/debian/changelog	2016-10-20 18:43:26.000000000 +0100
+++ graphviz-2.38.0/debian/changelog	2017-01-28 13:26:14.000000000 +0000
@@ -1,3 +1,11 @@
+graphviz (2.38.0-16.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use DEB_BUILD_MULTIARCH from dpkg-architecture to avoid
+    changing paths when the baseline ISA changes (closes: #843496)
+
+ -- Jonathan Wiltshire <j...@debian.org>  Sat, 28 Jan 2017 13:26:14 +0000
+
 graphviz (2.38.0-16) unstable; urgency=low
 
   * Fix libgv-python broken symlink (closes: #839176).
diff -Nru graphviz-2.38.0/debian/rules graphviz-2.38.0/debian/rules
--- graphviz-2.38.0/debian/rules	2016-10-20 18:43:26.000000000 +0100
+++ graphviz-2.38.0/debian/rules	2017-01-28 13:26:14.000000000 +0000
@@ -63,7 +63,7 @@
 
 	# Configure the package
 	dh_autoreconf
-	./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
+	./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_MULTIARCH) \
 	--disable-silent-rules \
 	--prefix=/usr \
 	--datadir=\$${prefix}/share \
@@ -258,8 +258,8 @@
 	dh_perl -a
 	dh_python2 -a
 	# recreate correct _gv.*.so symlink
-	ln -s libgv_python27.$(DEB_BUILD_GNU_TYPE).so \
-		$(PYTHON_PACKAGE)/usr/lib/python2.7/dist-packages/_gv.$(DEB_BUILD_GNU_TYPE).so
+	ln -s libgv_python27.$(DEB_HOST_MULTIARCH).so \
+		$(PYTHON_PACKAGE)/usr/lib/python2.7/dist-packages/_gv.$(DEB_HOST_MULTIARCH).so
 	dh_link -a usr/share/man/man1/gxl2gv.1 usr/share/man/man1/gxl2dot.1 usr/share/man/man1/gxl2gv.1 usr/share/man/man1/dot2gxl.1
 	dh_strip -a
 	dh_lintian -a

Reply via email to