libtirpc/libtirpc-1.3.5-var-run.patch

25 lines
1.0 KiB
Diff

diff -Nru libtirpc-1.3.5.orig/tirpc/rpc/rpcb_prot.h libtirpc-1.3.5/tirpc/rpc/rpcb_prot.h
--- libtirpc-1.3.5.orig/tirpc/rpc/rpcb_prot.h 2024-07-22 13:10:59.000000000 +0200
+++ libtirpc-1.3.5/tirpc/rpc/rpcb_prot.h 2024-07-25 18:52:15.299261527 +0200
@@ -476,7 +476,7 @@
#define RPCBVERS_3 RPCBVERS
#define RPCBVERS_4 RPCBVERS4
-#define _PATH_RPCBINDSOCK "/var/run/rpcbind.sock"
+#define _PATH_RPCBINDSOCK "/run/rpcbind.sock"
#define _PATH_RPCBINDSOCK_ABSTRACT "\0/run/rpcbind.sock"
#else /* ndef _KERNEL */
diff -Nru libtirpc-1.3.5.orig/tirpc/rpc/rpcb_prot.x libtirpc-1.3.5/tirpc/rpc/rpcb_prot.x
--- libtirpc-1.3.5.orig/tirpc/rpc/rpcb_prot.x 2024-07-22 13:10:59.000000000 +0200
+++ libtirpc-1.3.5/tirpc/rpc/rpcb_prot.x 2024-07-25 18:52:03.804236673 +0200
@@ -410,7 +410,7 @@
%#define RPCBVERS_3 RPCBVERS
%#define RPCBVERS_4 RPCBVERS4
%
-%#define _PATH_RPCBINDSOCK "/var/run/rpcbind.sock"
+%#define _PATH_RPCBINDSOCK "/run/rpcbind.sock"
%#define _PATH_RPCBINDSOCK_ABSTRACT "\0/run/rpcbind.sock"
%
%#else /* ndef _KERNEL */