[Xcb] Bug#620946: libpthread-stubs: Please add an udeb

Samuel Thibault sthibault at debian.org
Sun Apr 10 07:46:46 PDT 2011


tags 620946 + patch
thanks

Here is a patch

Samuel
-------------- next part --------------
--- debian/control.original	2011-04-10 14:29:16.000000000 +0000
+++ debian/control	2011-04-10 14:29:17.000000000 +0000
@@ -22,6 +22,14 @@
  platforms which already supply all the necessary pthread stubs, this
  package has no content.
 
+Package: libpthread-stubs0-udeb
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Package-Type: udeb
+Description: pthread stubs not provided by native libc - udeb
+ This is a udeb, or a microdeb, for the debian-installer.
+
 Package: libpthread-stubs0-dev
 Section: libdevel
 Architecture: any
--- debian/rules.original	2011-04-10 14:31:08.000000000 +0000
+++ debian/rules	2011-04-10 14:31:09.000000000 +0000
@@ -19,6 +19,10 @@
 	if test -f debian/tmp/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0.0.0; fi
 	if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi
 
+install/libpthread-stubs0-udeb::
+	if test -f debian/tmp/lib/libpthread-stubs.so.0.0.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0.0.0; fi
+	if test -L debian/tmp/lib/libpthread-stubs.so.0; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.so.0; fi
+
 install/libpthread-stubs0-dev::
 	if test -f debian/tmp/lib/libpthread-stubs.a; then dh_install -p$(cdbs_curpkg) debian/tmp/lib/libpthread-stubs.a usr/lib; ln -s /lib/libpthread-stubs.so.0.0.0 debian/libpthread-stubs0-dev/usr/lib/libpthread-stubs.so; fi
 	dh_install -p$(cdbs_curpkg) debian/tmp/lib/pkgconfig/pthread-stubs.pc usr/share/pkgconfig/


More information about the Xcb mailing list