summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--onbld/debian/patches/local-libctf.patch14
-rw-r--r--onbld/debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/onbld/debian/patches/local-libctf.patch b/onbld/debian/patches/local-libctf.patch
new file mode 100644
index 0000000..a7aad3e
--- /dev/null
+++ b/onbld/debian/patches/local-libctf.patch
@@ -0,0 +1,14 @@
+Description: Use libctf from debian/tmp
+
+Index: onbld/illumos-gate/usr/src/tools/ctf/stabs/Makefile.com
+===================================================================
+--- onbld.orig/illumos-gate/usr/src/tools/ctf/stabs/Makefile.com 2012-06-26 00:14:27.000000000 +0000
++++ onbld/illumos-gate/usr/src/tools/ctf/stabs/Makefile.com 2012-07-06 23:06:06.748274711 +0000
+@@ -38,6 +38,7 @@
+
+ include ../../Makefile.ctf
+
++LDFLAGS += -L$(ROOTLIBDIR) -L$(ROOTLIBDIR64)
+ LDLIBS += -lctf
+
+ OBJS = $(SRCS:%.c=%.o)
diff --git a/onbld/debian/patches/series b/onbld/debian/patches/series
index c983cc9..3bd8c68 100644
--- a/onbld/debian/patches/series
+++ b/onbld/debian/patches/series
@@ -10,3 +10,4 @@ protocmp.x86_64.patch
protolist.x86_64.patch
no-elfsign.patch
postpone-ctf-stabs.patch
+local-libctf.patch