all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob bfc5bc965d37dbcd422e96bf81538e0cd6cfdbcb 1427 bytes (raw)
name: gnu/packages/patches/minimal-hurd.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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
diff --git a/configure.ac b/configure.ac
index ecabfdf..7ede6db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,6 +83,13 @@ AC_PROG_INSTALL
 AC_PROG_AWK
 AC_PROG_SED
 
+if test "x$cross_compiling" = "xyes"; then
+   # It may be that we don't have a working libc yet, for instance
+   # because we're bootstrapping the cross-compilation tool chain.
+   # Thus, use this undocumented Autoconf macro designed for this.
+   AC_NO_EXECUTABLES
+   echo done
+fi
 AC_PROG_CC
 # Require GCC.
 if test x$GCC != xyes; then

diff --git a/configure.ac b/configure.ac
index 873ced8..e160db1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,8 +156,9 @@ else
 fi
 AC_SUBST(VERSIONING)
 
-# Check if libc contains getgrouplist and/or uselocale.
-AC_CHECK_FUNCS(getgrouplist uselocale)
+# We do not need to check if libc contains getgrouplist 
+# and/or uselocale for now.
+# AC_CHECK_FUNCS(getgrouplist uselocale)
 
 
 # From glibc HEAD, 2007-11-07.
@@ -293,9 +294,9 @@ AC_SUBST([XKB_BASE])
 AC_DEFINE_UNQUOTED([X11_PREFIX], "$X11_PREFIX")
 AC_SUBST([X11_KEYSYMDEF_H])
 
-# Check for Sun RPC headers and library.
+# Check only for Sun RPC headers. We do not need the library yet.
 AC_CHECK_HEADER([rpc/types.h], [HAVE_SUN_RPC=yes], [HAVE_SUN_RPC=no])
-AC_SEARCH_LIBS([clnt_create], [], [:], [HAVE_SUN_RPC=no])
+# AC_SEARCH_LIBS([clnt_create], [], [:], [HAVE_SUN_RPC=no])
 AC_SUBST([HAVE_SUN_RPC])
 
 if test -f ./$ac_unique_file; then

debug log:

solving bfc5bc9 ...
found bfc5bc9 in https://yhetil.org/guix/CAFtzXzMAf8xfCKmaZFNawcuECR3Y1zv6MR9BEdUN_8Mu-QwQuQ@mail.gmail.com/

applying [1/1] https://yhetil.org/guix/CAFtzXzMAf8xfCKmaZFNawcuECR3Y1zv6MR9BEdUN_8Mu-QwQuQ@mail.gmail.com/
diff --git a/gnu/packages/patches/minimal-hurd.patch b/gnu/packages/patches/minimal-hurd.patch
new file mode 100644
index 0000000..bfc5bc9

1:14: trailing whitespace.
 
1:33: trailing whitespace.
 
1:36: trailing whitespace.
+# We do not need to check if libc contains getgrouplist 
1:39: trailing whitespace.
 
1:40: trailing whitespace.
 
Checking patch gnu/packages/patches/minimal-hurd.patch...
Applied patch gnu/packages/patches/minimal-hurd.patch cleanly.
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.

index at:
100644 bfc5bc965d37dbcd422e96bf81538e0cd6cfdbcb	gnu/packages/patches/minimal-hurd.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.