summaryrefslogtreecommitdiff
path: root/mdb/debian
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-04-27 05:40:52 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-04-27 05:40:52 +0400
commit11bba21126e3df73dbbaa5f3533f42e0488ecb60 (patch)
tree71d750b03798b91d7fcc622a45432b073f6416bb /mdb/debian
parent6a53de435568b636ecd0b76e2a5d3e926be3ef18 (diff)
downloadillumos-packaging-11bba21126e3df73dbbaa5f3533f42e0488ecb60.tar.gz
Use libstandumem-dev
Diffstat (limited to 'mdb/debian')
-rw-r--r--mdb/debian/control3
-rw-r--r--mdb/debian/patches/mdb-kmdb-libstandumem-patch37
-rw-r--r--mdb/debian/patches/series1
3 files changed, 40 insertions, 1 deletions
diff --git a/mdb/debian/control b/mdb/debian/control
index 4877f1c..d1dc190 100644
--- a/mdb/debian/control
+++ b/mdb/debian/control
@@ -11,7 +11,8 @@ Build-Depends:
libncurses5-dev , lib32ncurses5-dev [illumos-amd64] ,
libproc1-dev , lib32proc1-dev [illumos-amd64] ,
libscf1-dev , lib32scf1-dev [illumos-amd64] ,
- libstanddisasm-dev , lib32standdisasm-dev [illumos-amd64] ,
+ libstanddisasm-dev ,
+ libstandumem-dev ,
libsundisasm1-dev , lib32sundisasm1-dev [illumos-amd64] ,
libsunelf-dev , lib32sunelf-dev [illumos-amd64] ,
libumem-dev , lib32umem-dev [illumos-amd64] ,
diff --git a/mdb/debian/patches/mdb-kmdb-libstandumem-patch b/mdb/debian/patches/mdb-kmdb-libstandumem-patch
new file mode 100644
index 0000000..1c147a4
--- /dev/null
+++ b/mdb/debian/patches/mdb-kmdb-libstandumem-patch
@@ -0,0 +1,37 @@
+Index: mdb/usr/src/cmd/mdb/intel/Makefile.kmdb
+===================================================================
+--- mdb.orig/usr/src/cmd/mdb/intel/Makefile.kmdb 2012-10-08 04:25:29.000000000 +0400
++++ mdb/usr/src/cmd/mdb/intel/Makefile.kmdb 2013-04-27 05:39:57.961263207 +0400
+@@ -58,7 +58,7 @@
+
+ STANDLIBS += \
+ ../libstandctf/libstandctf.so \
+- $(SRC)/lib/libumem/$(MACHDIR)/libstandumem.so \
++ $(STANDUMEM) \
+ ../libstand/libstand.a
+
+ KMDBLIBS = $(STANDLIBS) ../mdb_ks/kmod/mdb_ks
+Index: mdb/usr/src/cmd/mdb/intel/amd64/kmdb/Makefile
+===================================================================
+--- mdb.orig/usr/src/cmd/mdb/intel/amd64/kmdb/Makefile 2013-04-27 02:52:42.449249693 +0400
++++ mdb/usr/src/cmd/mdb/intel/amd64/kmdb/Makefile 2013-04-27 05:38:58.918261242 +0400
+@@ -62,6 +62,7 @@
+ include ../../../Makefile.kmdb
+
+ STANDLIBS += $(DEB_USRLIBDIR_64)/libstanddisasm.so
++STANDUMEM = $(DEB_USRLIBDIR_64)/libstandumem.so
+
+ INCDIRS += $(SRC)/uts/i86pc $(SRC)/common/dis/i386
+
+Index: mdb/usr/src/cmd/mdb/intel/ia32/kmdb/Makefile
+===================================================================
+--- mdb.orig/usr/src/cmd/mdb/intel/ia32/kmdb/Makefile 2013-04-27 02:52:42.451676453 +0400
++++ mdb/usr/src/cmd/mdb/intel/ia32/kmdb/Makefile 2013-04-27 05:39:26.560467082 +0400
+@@ -53,6 +53,7 @@
+ include ../../../Makefile.kmdb
+
+ STANDLIBS += $(DEB_USRLIBDIR_32)/libstanddisasm.so
++STANDUMEM = $(DEB_USRLIBDIR_32)/libstandumem.so
+
+ INCDIRS += $(SRC)/uts/i86pc
+
diff --git a/mdb/debian/patches/series b/mdb/debian/patches/series
index b3fc378..26b5333 100644
--- a/mdb/debian/patches/series
+++ b/mdb/debian/patches/series
@@ -25,3 +25,4 @@ mdb-demangle.patch
mdb-no-isaexec.patch
mdb-kvm_amd64dep.c-pointers.patch
mdb-libc_db-dlopen.patch
+mdb-kmdb-libstandumem-patch