[gle-graphics] 15/23: Import Debian changes 4.2.4c-5

Christian T. Steigies cts at moszumanska.debian.org
Tue Oct 31 18:25:37 UTC 2017


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

cts pushed a commit to branch master
in repository gle-graphics.

commit 9af0db527fd260cb3accec02eac087efa5732198
Author: Christian T. Steigies <cts at debian.org>
Date:   Sun Sep 30 23:58:58 2012 +0200

    Import Debian changes 4.2.4c-5
    
    gle-graphics (4.2.4c-5) unstable; urgency=low
    
      * fix building on hurd-i386 with workaround from #578320
---
 debian/changelog |  6 ++++++
 debian/rules     | 13 ++++++++++---
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7900c85..3afd41c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gle-graphics (4.2.4c-5) unstable; urgency=low
+
+  * fix building on hurd-i386 with workaround from #578320
+
+ -- Christian T. Steigies <cts at debian.org>  Sun, 30 Sep 2012 23:58:58 +0200
+
 gle-graphics (4.2.4c-4) unstable; urgency=low
 
   * rewrite package description (closes: #685822)
diff --git a/debian/rules b/debian/rules
index db91712..f1f31c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,12 +7,16 @@
 export DEB_BUILD_HARDENING=1
 
 # fix build problems on the sparc buildd
-ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
-ifeq ($(ARCH),sparc)
+ifeq ($(DEB_HOST_ARCH),sparc)
 export DEB_BUILD_HARDENING=0
 #export MALLOC_CHECK_=0
 endif
 
+# fix build problems on the hurd
+ifeq ($(DEB_HOST_ARCH),hurd-i386)
+CONFIGURE_LIBS = LIBS="-Wl,--no-as-needed -Wl,-lpthread -Wl,--as-needed"
+endif
+
 %:
 	dh $@ 
 
@@ -27,7 +31,10 @@ override_dh_auto_clean:
 
 override_dh_auto_configure:
 	-autoreconf -vfi
-	./configure --build $(DEB_HOST_GNU_TYPE) --docdir=/usr/share/doc/gle-graphics/ --with-rpath=no --with-scripts=no
+	./configure --build $(DEB_HOST_GNU_TYPE) \
+		--docdir=/usr/share/doc/gle-graphics/ \
+		--with-rpath=no --with-scripts=no \
+		$(CONFIGURE_LIBS)
 
 override_dh_auto_install:
 	dh_auto_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gle-graphics.git



More information about the debian-science-commits mailing list