[redeclipse] 446/494: Fix FTBFS on hurd-i386: missing link to rt

Martin Werner arand-guest at moszumanska.debian.org
Sun Jun 21 20:53:01 UTC 2015


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

arand-guest pushed a commit to branch debdir
in repository redeclipse.

commit f8cf3d8076f7fc39815b337dbec3e8dd8129c8ea
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Tue Dec 17 18:48:30 2013 +0100

    Fix FTBFS on hurd-i386: missing link to rt
    
    Add debian/patches/gnu-link-rt.patch from #707028 (modified upstream),
    closing the mentioned bug.
---
 changelog                 |  7 +++++++
 patches/gnu-link-rt.patch | 29 +++++++++++++++++++++++++++++
 patches/series            |  1 +
 3 files changed, 37 insertions(+)

diff --git a/changelog b/changelog
index 261dcc5..d145942 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,10 @@
+redeclipse (1.4-5) UNRELEASED; urgency=low
+
+  * Fix FTBFS on hurd-i386: missing link to rt (Closes: #712894)
+    - Add debian/patches/gnu-link-rt.patch
+
+ -- Martin Erik Werner <martinerikwerner at gmail.com>  Tue, 17 Dec 2013 18:26:55 +0100
+
 redeclipse (1.4-4) unstable; urgency=low
 
   * Fix FTBFS due to d/control typo lib{lg->gl}1-mesa-dev (Closes: #707028)
diff --git a/patches/gnu-link-rt.patch b/patches/gnu-link-rt.patch
new file mode 100644
index 0000000..40ed566
--- /dev/null
+++ b/patches/gnu-link-rt.patch
@@ -0,0 +1,29 @@
+Description:
+ (paraphrased from http://bugs.debian.org/712894#5)
+ .
+ Redeclipse fails to compile on GNU/Hurd.
+ .
+ The problem is that, when libc provides the _POSIX_SHARED_MEMORY_OBJECTS
+ define, shm_* is used, which is implemented in librt (currently linked
+ only on Linux).
+ .
+ Easy fix, is to link to rt when the platform string contains "GNU" (i.e.
+ on GNU-based OSes, which are using GNU libc).
+Author: Pino Toscano <pino at debian.org>
+Applied-Upstream: http://redeclipse.net/svn/5621
+Debian-Bug: http://bugs.debian.org/712894
+Last-Update: 2013-12-17
+
+--- a/src/core.mk
++++ b/src/core.mk
+@@ -70,6 +70,10 @@
+ endif
+ ifeq ($(PLATFORM),Linux)
+ CLIENT_LIBS+= -lrt
++else
++ifneq (,$(findstring GNU,$(PLATFORM)))
++CLIENT_LIBS+= -lrt        
++endif         
+ endif
+ CLIENT_OBJS= \
+ 	shared/crypto.o \
diff --git a/patches/series b/patches/series
index b400436..57aa3f0 100644
--- a/patches/series
+++ b/patches/series
@@ -3,3 +3,4 @@ build-with-system-enet.patch
 desktop-file-don-t-quote-icon-app-name.patch
 system-install-symlink-to-version.cfg-in-server-inst.patch
 don-t-check-for-keymap-when-using-standalone.patch
+gnu-link-rt.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/redeclipse.git



More information about the Pkg-games-commits mailing list