summaryrefslogtreecommitdiff
path: root/onbld/debian/patches/local-libctf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'onbld/debian/patches/local-libctf.patch')
-rw-r--r--onbld/debian/patches/local-libctf.patch14
1 files changed, 14 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)