Source: netkit-rusers
Version: 0.17-8
Tags: patch upstream
Control: block 798955 by -1

netkit-rusers assumes the location of system headers for use with
rpcgen. This will stop working with non-glibc libcs as well as a glibc
that fixes #798955. At that point, netkit-rusers will FTBFS. The
attached patch removes the assumption by putting the preprocessor (run
by rpcgen) in charge of determining the location. Please consider
applying it.

Helmut
diff -u netkit-rusers-0.17/debian/changelog netkit-rusers-0.17/debian/changelog
--- netkit-rusers-0.17/debian/changelog
+++ netkit-rusers-0.17/debian/changelog
@@ -1,3 +1,10 @@
+netkit-rusers (0.17-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't assume location of system headers. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 20 Oct 2018 13:54:05 +0200
+
 netkit-rusers (0.17-8) unstable; urgency=low
 
   * debian/control:
diff -u netkit-rusers-0.17/rpc.rusersd/Makefile 
netkit-rusers-0.17/rpc.rusersd/Makefile
--- netkit-rusers-0.17/rpc.rusersd/Makefile
+++ netkit-rusers-0.17/rpc.rusersd/Makefile
@@ -37,8 +37,8 @@
 rusers.x: 
-       ln -s $(RUSERSX) rusers.x
+       echo '#include <rpcsvc/rusers.x>' > $@
 
-rusers.h: $(RUSERSX) rusers.x
+rusers.h: rusers.x
        $(RPCGEN) -h -o rusers.h rusers.x
 
-rusers_xdr.c: $(RUSERSX)
+rusers_xdr.c:
        $(RPCGEN) -c -C -o rusers_xdr.c rusers.x
diff -u netkit-rusers-0.17/rup/Makefile netkit-rusers-0.17/rup/Makefile
--- netkit-rusers-0.17/rup/Makefile
+++ netkit-rusers-0.17/rup/Makefile
@@ -35,8 +35,8 @@
 rstat.x: 
-       ln -s $(RSTATX) $@
+       echo '#include <rpcsvc/rstat.x>' > $@
 
-rstat.h: $(RSTATX) rstat.x
+rstat.h: rstat.x
        $(RPCGEN) -h -o rstat.h rstat.x
 
-rstat_xdr.c: $(RSTATX) rstat.x
+rstat_xdr.c: rstat.x
        $(RPCGEN) -c -C -o rstat_xdr.c rstat.x
only in patch2:
unchanged:
--- netkit-rusers-0.17.orig/rusers/Makefile
+++ netkit-rusers-0.17/rusers/Makefile
@@ -34,11 +34,11 @@
 # do it in the current directory. 
 
 rusers.x:
-       ln -s $(RUSERSX) rusers.x
+       echo '#include <rpcsvc/rusers.x>' > $@
 
-rusers.h: $(RUSERSX) rusers.x
+rusers.h: rusers.x
        $(RPCGEN) -h -o rusers.h rusers.x
 
-rusers_xdr.c: $(RUSERSX) rusers.x
+rusers_xdr.c: rusers.x
        $(RPCGEN) -c -C -o rusers_xdr.c rusers.x
 

Reply via email to