unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob cae1a40dbdfe8999ff38935f77a6ae3958677a64 641 bytes (raw)
name: gnu/packages/patches/glibc-hurd-libs.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
Link libmachuser and libhurduser automatically with libc, since they are
considered a standard part of the API in GNU-land.
See <http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00112.html>

---
 Makerules |    3 +++
 1 file changed, 3 insertions(+)
--- a/Makerules
+++ b/Makerules
@@ -1001,6 +1001,9 @@ $(inst_libdir)/libc.so: $(common-objpfx)
 	      '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
 	      ' AS_NEEDED (' $(rtlddir)/$(rtld-installed-name) ') )' \
 	) > $@.new
+ifeq ($(patsubst gnu%,,$(config-os)),)
+	echo 'INPUT ( AS_NEEDED ( -lmachuser -lhurduser ) )' >> $@.new
+endif
 	mv -f $@.new $@
 
 endif

debug log:

solving cae1a40 ...
found cae1a40 in https://yhetil.org/guix-devel/CAFtzXzMUWGhrVNPtam2tXZo_2ST_fFwD4isJSMbFXi8AZeBS-Q@mail.gmail.com/ ||
	https://yhetil.org/guix-devel/CAFtzXzM58qY=p=28702coXVsV6HBcMx8-UxtNtOjx-Qn-Bpz+g@mail.gmail.com/

applying [1/1] https://yhetil.org/guix-devel/CAFtzXzMUWGhrVNPtam2tXZo_2ST_fFwD4isJSMbFXi8AZeBS-Q@mail.gmail.com/
diff --git a/gnu/packages/patches/glibc-hurd-libs.patch b/gnu/packages/patches/glibc-hurd-libs.patch
new file mode 100644
index 0000000..cae1a40

1:17: space before tab in indent.
 	      '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
1:18: space before tab in indent.
 	      ' AS_NEEDED (' $(rtlddir)/$(rtld-installed-name) ') )' \
1:19: space before tab in indent.
 	) > $@.new
1:23: space before tab in indent.
 	mv -f $@.new $@
1:24: trailing whitespace.
 
Checking patch gnu/packages/patches/glibc-hurd-libs.patch...
Applied patch gnu/packages/patches/glibc-hurd-libs.patch cleanly.
warning: 5 lines add whitespace errors.

skipping https://yhetil.org/guix-devel/CAFtzXzM58qY=p=28702coXVsV6HBcMx8-UxtNtOjx-Qn-Bpz+g@mail.gmail.com/ for cae1a40
index at:
100644 cae1a40dbdfe8999ff38935f77a6ae3958677a64	gnu/packages/patches/glibc-hurd-libs.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).