summaryrefslogtreecommitdiff
path: root/libc/debian/patches/libnsl-cxx-wtf.patch
blob: 1fe2c2cf5676ae4cf76a6ddd19b4bd261bd3c02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: GNU make tries to compile nis_clnt.h via c++
 C++ here is nonsense.
Index: b/usr/src/lib/libnsl/Makefile.com
===================================================================
--- a/usr/src/lib/libnsl/Makefile.com
+++ b/usr/src/lib/libnsl/Makefile.com
@@ -154,10 +154,6 @@ pics/%.o: ../nis/gen/%.c ../nis/gen/nis_
 	$(POST_PROCESS_O)
 
 
-pics/%.o: ../nis/gen/nis_clnt.h
-	$(COMPILE.cc) -o $@ $<
-	$(POST_PROCESS_O)
-
 # include library definitions
 include ../../Makefile.lib