libtsol (2.10-2) unstable; urgency=low
* Patch libtsol to include stdlib.h for NULL * Strip libraries
This commit is contained in:
parent
e397b5f8a5
commit
47437c2fea
|
@ -1,3 +1,10 @@
|
|||
libtsol (2.10-2) unstable; urgency=low
|
||||
|
||||
* Patch libtsol to include stdlib.h for NULL
|
||||
* Strip libraries
|
||||
|
||||
-- Igor Pashev <pashev.igor@gmail.com> Sat, 16 Mar 2013 21:30:03 +0000
|
||||
|
||||
libtsol (2.10-1) unstable; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
Index: libtsol/usr/src/lib/libtsol/common/privlib.c
|
||||
===================================================================
|
||||
--- libtsol.orig/usr/src/lib/libtsol/common/privlib.c 2012-10-08 00:25:42.000000000 +0000
|
||||
+++ libtsol/usr/src/lib/libtsol/common/privlib.c 2013-03-16 21:24:09.382820130 +0000
|
||||
@@ -25,6 +25,7 @@
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
+#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <priv.h>
|
||||
#include <sys/tsol/priv.h>
|
|
@ -1 +1,2 @@
|
|||
libtsol-include-label.h.patch
|
||||
libtsol-NULL.patch
|
||||
|
|
|
@ -48,9 +48,8 @@ headers-stamp: patch-stamp dirs-stamp
|
|||
dh_illumos_make $(libs_headers:%=usr/src/lib/%) -t install_h
|
||||
touch $@
|
||||
|
||||
install build build-arch build-indep: build-stamp
|
||||
build-stamp: patch-stamp dirs-stamp headers-stamp
|
||||
dh_illumos_make $(libs:%=usr/src/lib/%)
|
||||
install install install-arch install-indep: install-stamp
|
||||
install-stamp: build-stamp
|
||||
# Move dev symlink from /lib into /usr/lib:
|
||||
for l in `find debian/tmp/lib32 -maxdepth 1 -type l -name \*.so`; do \
|
||||
ln -sf `readlink -f $$l` debian/tmp/usr/lib32/`basename $$l`; \
|
||||
|
@ -65,8 +64,13 @@ build-stamp: patch-stamp dirs-stamp headers-stamp
|
|||
symlinks -c debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
|
||||
touch $@
|
||||
|
||||
build build-arch build-indep: build-stamp
|
||||
build-stamp: patch-stamp dirs-stamp headers-stamp
|
||||
dh_illumos_make $(libs:%=usr/src/lib/%)
|
||||
touch $@
|
||||
|
||||
binary binary-arch binary-indep: binary-stamp
|
||||
binary-stamp: build-stamp
|
||||
binary-stamp: install-stamp
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdirs
|
||||
|
@ -81,6 +85,7 @@ binary-stamp: build-stamp
|
|||
dh_makeshlibs -- -c4
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_strip
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
@ -90,5 +95,5 @@ clean: unpatch
|
|||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean
|
||||
rm -rf usr
|
||||
rm -rf usr .pc
|
||||
|
||||
|
|
Loading…
Reference in New Issue