unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 7f0542836efad644c593f9caf238a37e7970013a 510 bytes (raw)
name: gnu/packages/patches/nfs-utils-missing-headers.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
 
Fix compilation failure with glibc 2.26 caused by missing type
declarations:

------
rpc.c: In function ‘nsm_recv_getport’:
rpc.c:469:13: error: ‘UINT16_MAX’ undeclared (first use in this function)
  if (port > UINT16_MAX) {
------

--- a/support/nsm/rpc.c.orig	2016-08-03 20:25:15.000000000 +0200
+++ b/support/nsm/rpc.c	2017-08-26 07:41:11.884000000 +0200
@@ -40,6 +40,7 @@
 
 #include <time.h>
 #include <stdbool.h>
+#include <stdint.h>
 #include <string.h>
 #include <unistd.h>
 #include <fcntl.h>

debug log:

solving 7f0542836 ...
found 7f0542836 in https://git.savannah.gnu.org/cgit/guix.git

(*) 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).