Package: src:cernlib
Version: 20061220+dfsg3-4
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Hi,

The attached patch (trivial) fixes the issue w/ debian.control.new.

It was suggested/provided by Michael Tautschnig on a previous message,
and I'am attaching a debdiff w/ it for your convenience.

I can confirm the comparison of debian/control{ , .new} is now passing.
Currently it would fail as in [1]

Thanks!

[1] https://buildd.debian.org/status/fetch.php?pkg=cernlib&arch=ppc64el&ver=20061220%2Bdfsg3-4&stamp=1408774563

--
Mauricio Faria de Oliveira
IBM Linux Technology Center
diff -Nru cernlib-20061220+dfsg3/debian/cernlib-debian.mk 
cernlib-20061220+dfsg3/debian/cernlib-debian.mk
--- cernlib-20061220+dfsg3/debian/cernlib-debian.mk     2013-08-24 
06:16:07.000000000 -0300
+++ cernlib-20061220+dfsg3/debian/cernlib-debian.mk     2014-08-28 
10:16:21.000000000 -0300
@@ -177,7 +177,7 @@
        -chmod a+x $(ADDONDIR)/scripts/[a-z]*
 
 debian/control.new: $(wildcard debian/control.d/*.control)
-       cat $^ > $@
+       cat $(sort $^) > $@
 
 debian/control: debian/control.new
        cp -f $< $@
diff -Nru cernlib-20061220+dfsg3/debian/changelog 
cernlib-20061220+dfsg3/debian/changelog
--- cernlib-20061220+dfsg3/debian/changelog     2013-08-24 06:16:07.000000000 
-0300
+++ cernlib-20061220+dfsg3/debian/changelog     2014-08-28 10:22:37.000000000 
-0300
@@ -1,3 +1,12 @@
+cernlib (20061220+dfsg3-4ppc64el1) UNRELEASED; urgency=medium
+
+  * Fix 'debian/control.new' for GNU make 3.82+ (Closes: #720689)
+    Thanks Michael Tautschnig. New versions of GNU make don't 'sort' the output
+    of 'wildcard' anymore. This is reported in the following GNU make announce:
+    https://lists.gnu.org/archive/html/info-gnu/2010-07/msg00023.html
+
+ -- Mauricio Faria de Oliveira <mauri...@linux.vnet.ibm.com>  Thu, 28 Aug 2014 
10:03:28 -0300
+
 cernlib (20061220+dfsg3-4) unstable; urgency=low
 
   * cernlib-base-dev: depends on dpkg-dev to fix Multiarch support.

Reply via email to