summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-16 12:45:39 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-16 12:45:39 +0300
commit4749801d7e6c14002fb59f62bc1150bf127971f2 (patch)
tree803fa21cc53157ef17815d7eeadd4ae867837669
parenta192fad8cb4b17ff92756c16e32e38a49f87cc15 (diff)
downloadillumos-packaging-4749801d7e6c14002fb59f62bc1150bf127971f2.tar.gz
libc: keep headers generated by rpcgen
-rw-r--r--libc/debian/patches/head-make-secondary.patch14
-rw-r--r--libc/debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/libc/debian/patches/head-make-secondary.patch b/libc/debian/patches/head-make-secondary.patch
new file mode 100644
index 0000000..a8a4079
--- /dev/null
+++ b/libc/debian/patches/head-make-secondary.patch
@@ -0,0 +1,14 @@
+Index: libc/usr/src/head/Makefile
+===================================================================
+--- libc.orig/usr/src/head/Makefile
++++ libc/usr/src/head/Makefile
+@@ -31,6 +31,9 @@
+ # include global definitions
+ include ../Makefile.master
+
++# this is to keep header files generated by rpcgen
++.SECONDARY:
++
+ sparc_HDRS=
+ i386_HDRS= stack_unwind.h
+
diff --git a/libc/debian/patches/series b/libc/debian/patches/series
index 26d7058..4bc9393 100644
--- a/libc/debian/patches/series
+++ b/libc/debian/patches/series
@@ -136,3 +136,4 @@ libc-stropts.patch
libm-i386-regs.patch
libresolv-getdomainname.patch
no-misleading-indentation.patch
+head-make-secondary.patch