summaryrefslogtreecommitdiff
path: root/mdb/debian
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-04-16 17:11:18 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-04-16 17:11:18 +0400
commit693c213230f794e72623b8eb723fe469c8669627 (patch)
treebdc4cd11c2d875ae601a69ddac6d14bac61b401a /mdb/debian
parentcf290c81964ec598194e14d58772dbd736c38823 (diff)
downloadillumos-packaging-693c213230f794e72623b8eb723fe469c8669627.tar.gz
Use system sys/dtrace.h
Diffstat (limited to 'mdb/debian')
-rw-r--r--mdb/debian/patches/mdb-dtrace-headers.patch48
-rw-r--r--mdb/debian/patches/series1
2 files changed, 49 insertions, 0 deletions
diff --git a/mdb/debian/patches/mdb-dtrace-headers.patch b/mdb/debian/patches/mdb-dtrace-headers.patch
new file mode 100644
index 0000000..6a9d593
--- /dev/null
+++ b/mdb/debian/patches/mdb-dtrace-headers.patch
@@ -0,0 +1,48 @@
+Index: mdb/usr/src/cmd/mdb/intel/amd64/dof/Makefile
+===================================================================
+--- mdb.orig/usr/src/cmd/mdb/intel/amd64/dof/Makefile 2014-03-01 16:18:00.000000000 +0400
++++ mdb/usr/src/cmd/mdb/intel/amd64/dof/Makefile 2014-04-16 17:10:06.142037370 +0400
+@@ -40,5 +40,5 @@
+ LDLIBS += -ldtrace
+ CLEANFILES += dof_names.c
+
+-dof_names.c: $(MODSRCS_DIR)/mkdof.sh $(SRC)/uts/common/sys/dtrace.h
+- sh $(MODSRCS_DIR)/mkdof.sh < $(SRC)/uts/common/sys/dtrace.h > $@
++dof_names.c: $(MODSRCS_DIR)/mkdof.sh /usr/include/sys/dtrace.h
++ sh $(MODSRCS_DIR)/mkdof.sh < /usr/include/sys/dtrace.h > $@
+Index: mdb/usr/src/cmd/mdb/intel/amd64/dtrace/Makefile
+===================================================================
+--- mdb.orig/usr/src/cmd/mdb/intel/amd64/dtrace/Makefile 2014-03-01 16:18:00.000000000 +0400
++++ mdb/usr/src/cmd/mdb/intel/amd64/dtrace/Makefile 2014-04-16 17:10:06.117276674 +0400
+@@ -42,5 +42,5 @@
+ LDLIBS += -ldtrace -lm
+ CLEANFILES += dof_names.c
+
+-dof_names.c: $(MODSRCS_DIR)/mkdof.sh $(SRC)/uts/common/sys/dtrace.h
+- sh $(MODSRCS_DIR)/mkdof.sh < $(SRC)/uts/common/sys/dtrace.h > $@
++dof_names.c: $(MODSRCS_DIR)/mkdof.sh /usr/include/sys/dtrace.h
++ sh $(MODSRCS_DIR)/mkdof.sh < /usr/include/sys/dtrace.h > $@
+Index: mdb/usr/src/cmd/mdb/intel/ia32/dof/Makefile
+===================================================================
+--- mdb.orig/usr/src/cmd/mdb/intel/ia32/dof/Makefile 2014-03-01 16:18:00.000000000 +0400
++++ mdb/usr/src/cmd/mdb/intel/ia32/dof/Makefile 2014-04-16 17:10:06.122432570 +0400
+@@ -39,5 +39,5 @@
+ LDLIBS += -ldtrace
+ CLEANFILES += dof_names.c
+
+-dof_names.c: $(MODSRCS_DIR)/mkdof.sh $(SRC)/uts/common/sys/dtrace.h
+- sh $(MODSRCS_DIR)/mkdof.sh < $(SRC)/uts/common/sys/dtrace.h > $@
++dof_names.c: $(MODSRCS_DIR)/mkdof.sh /usr/include/sys/dtrace.h
++ sh $(MODSRCS_DIR)/mkdof.sh < /usr/include/sys/dtrace.h > $@
+Index: mdb/usr/src/cmd/mdb/intel/ia32/dtrace/Makefile
+===================================================================
+--- mdb.orig/usr/src/cmd/mdb/intel/ia32/dtrace/Makefile 2014-03-01 16:18:00.000000000 +0400
++++ mdb/usr/src/cmd/mdb/intel/ia32/dtrace/Makefile 2014-04-16 17:10:06.139993991 +0400
+@@ -41,5 +41,5 @@
+ LDLIBS += -ldtrace -lm
+ CLEANFILES += dof_names.c
+
+-dof_names.c: $(MODSRCS_DIR)/mkdof.sh $(SRC)/uts/common/sys/dtrace.h
+- sh $(MODSRCS_DIR)/mkdof.sh < $(SRC)/uts/common/sys/dtrace.h > $@
++dof_names.c: $(MODSRCS_DIR)/mkdof.sh /usr/include/sys/dtrace.h
++ sh $(MODSRCS_DIR)/mkdof.sh < /usr/include/sys/dtrace.h > $@
diff --git a/mdb/debian/patches/series b/mdb/debian/patches/series
index bca7f7b..5809911 100644
--- a/mdb/debian/patches/series
+++ b/mdb/debian/patches/series
@@ -72,3 +72,4 @@ mdb-gcore-prdata.h.patch
mdb-includes.patch
mdb-only-needs-libtinfo.patch
mdb-root-detect.patch
+mdb-dtrace-headers.patch