summaryrefslogtreecommitdiff
path: root/libc/debian/patches/librpcsvc-use-system-x.patch
blob: 5963e2b75e4af4dc609ff712d91fdeffe82a0e41 (plain)
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
Index: libc/usr/src/lib/librpcsvc/Makefile
===================================================================
--- libc.orig/usr/src/lib/librpcsvc/Makefile	2012-10-08 04:25:42.000000000 +0400
+++ libc/usr/src/lib/librpcsvc/Makefile	2013-09-27 18:25:14.854624400 +0400
@@ -90,8 +90,8 @@
 common/rusers_xdr.c: $(PROTOCOL_DIR)/rusers.x
 	$(RPCGEN) -c $(PROTOCOL_DIR)/rusers.x > $@
 
-common/sm_inter_xdr.c: $(PROTOCOL_DIR)/sm_inter.x
-	$(RPCGEN) -c $(PROTOCOL_DIR)/sm_inter.x > $@
+common/sm_inter_xdr.c: /usr/include/rpcsvc/sm_inter.x
+	$(RPCGEN) -c /usr/include/rpcsvc/sm_inter.x > $@
 
 common/spray_xdr.c: $(PROTOCOL_DIR)/spray.x
 	$(RPCGEN) -c $(PROTOCOL_DIR)/spray.x > $@
@@ -102,11 +102,11 @@
 common/mount_xdr.c: $(PROTOCOL_DIR)/mount.x
 	$(RPCGEN) -c $(PROTOCOL_DIR)/mount.x > $@
 
-common/nsm_addr_xdr.c: $(PROTOCOL_DIR)/nsm_addr.x
-	$(RPCGEN) -c $(PROTOCOL_DIR)/nsm_addr.x > $@
+common/nsm_addr_xdr.c: /usr/include/rpcsvc/nsm_addr.x
+	$(RPCGEN) -c /usr/include/rpcsvc/nsm_addr.x > $@
 
-common/rpc_sztypes.c: $(PROTOCOL_DIR)/rpc_sztypes.x
-	$(RPCGEN) -c $(PROTOCOL_DIR)/rpc_sztypes.x > $@
+common/rpc_sztypes.c: /usr/include/rpcsvc/rpc_sztypes.x
+	$(RPCGEN) -c /usr/include/rpcsvc/rpc_sztypes.x > $@
 
 # include library targets
 include ../Makefile.targ