[Pkg-cgit-commits] [pkg-cgit] 01/02: Link with -ldl on GNU Hurd
Peter Colberg
peter at colberg.org
Fri Nov 25 21:18:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
pc-guest pushed a commit to branch master
in repository pkg-cgit.
commit 88841032de70f2787af01b24f9c773886fa82f61
Author: Peter Colberg <peter at colberg.org>
Date: Fri Nov 25 16:01:38 2016 -0500
Link with -ldl on GNU Hurd
---
debian/patches/link-with-ldl-on-gnu-hurd.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/link-with-ldl-on-gnu-hurd.patch b/debian/patches/link-with-ldl-on-gnu-hurd.patch
new file mode 100644
index 0000000..41825fa
--- /dev/null
+++ b/debian/patches/link-with-ldl-on-gnu-hurd.patch
@@ -0,0 +1,17 @@
+Description: Link with -ldl on GNU Hurd
+Author: Peter Colberg <peter at colberg.org>
+Forwarded: https://lists.zx2c4.com/pipermail/cgit/2016-November/003440.html
+Last-Update: 2016-11-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/cgit.mk
++++ b/cgit.mk
+@@ -54,7 +54,7 @@ endif
+ endif
+
+ # Add -ldl to linker flags on systems that commonly use GNU libc.
+-ifneq (,$(filter $(uname_S),Linux GNU/kFreeBSD))
++ifneq (,$(filter $(uname_S),Linux GNU GNU/kFreeBSD))
+ CGIT_LIBS += -ldl
+ endif
+
diff --git a/debian/patches/series b/debian/patches/series
index 21c9df8..75ae9bb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ add-highlighting-rules-to-cgit.css.patch
use-debian-binary-name-rst2html.patch
syntax-highlighting.patch
fix-crash-when-using-path-limit.patch
+link-with-ldl-on-gnu-hurd.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cgit/pkg-cgit.git
More information about the Pkg-cgit-commits
mailing list