浏览代码

libtirpc: fix musl compile

Waldemar Brodkorb 3 月之前
父节点
当前提交
49b63d5125
共有 2 个文件被更改,包括 22 次插入0 次删除
  1. 11 0
      package/libtirpc/patches/patch-src_clnt_bcast_c
  2. 11 0
      package/libtirpc/patches/patch-src_clnt_fd_locks_h

+ 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>