Browse Source

libtirpc: fix musl compile

Waldemar Brodkorb 3 months ago
parent
commit
49b63d5125

+ 11 - 0
package/libtirpc/patches/patch-src_clnt_bcast_c

@@ -0,0 +1,11 @@
+--- libtirpc-1.3.4.orig/src/clnt_bcast.c	2023-10-07 09:54:42.000000000 +0200
++++ libtirpc-1.3.4/src/clnt_bcast.c	2024-02-08 16:26:57.298094444 +0100
+@@ -40,7 +40,7 @@
+  */
+ #include <sys/socket.h>
+ #include <sys/types.h>
+-#include <sys/queue.h>
++#include "queue.h"
+ 
+ #include <net/if.h>
+ #include <netinet/in.h>

+ 11 - 0
package/libtirpc/patches/patch-src_clnt_fd_locks_h

@@ -0,0 +1,11 @@
+--- libtirpc-1.3.4.orig/src/clnt_fd_locks.h	2023-10-07 09:54:42.000000000 +0200
++++ libtirpc-1.3.4/src/clnt_fd_locks.h	2024-02-08 16:25:34.795598116 +0100
+@@ -30,7 +30,7 @@
+ #ifndef _CLNT_FD_LOCKS_H
+ #define _CLNT_FD_LOCKS_H
+ 
+-#include <sys/queue.h>
++#include "queue.h"
+ #include <errno.h>
+ #include <reentrant.h>
+ #include <rpc/xdr.h>