--- libpthread-stubs-0.3.orig/autogen.sh +++ libpthread-stubs-0.3/autogen.sh @@ -0,0 +1,12 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" --- libpthread-stubs-0.3.orig/debian/changelog +++ libpthread-stubs-0.3/debian/changelog @@ -0,0 +1,72 @@ +libpthread-stubs (0.3-4) unstable; urgency=low + + * Stop building libpthread-stubs0{,-udeb} (closes: 706865). + + -- Julien Cristau Sun, 22 Sep 2013 16:58:17 +0200 + +libpthread-stubs (0.3-3) unstable; urgency=low + + [ Steve Langasek ] + * Build for multiarch. Closes: #632555. + + [ Julien Cristau ] + * Point Vcs-{Git,Browser} at collab-maint. + * Remove Jamey Sharp from Uploaders (closes: #568281). + * Remove Josh Triplett from Uploaders. + * Use dh instead of cdbs. In the process (and in order to be able to test + it), make the package actually buildable on hurd, which doesn't have the + stubs in libc, but whose libc.so pulls in libpthread-stubs.so, defeating + our configure checks; so make the build find an empty libpthread-stubs.so + instead of the system one. + + [ Samuel Thibault ] + * Fix pthread_exit prototype (closes: #622148). + + -- Julien Cristau Fri, 11 Nov 2011 18:40:41 +0100 + +libpthread-stubs (0.3-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Add libpthread-stubs-udeb (Closes: #620946) + + -- Samuel Thibault Mon, 13 Jun 2011 22:01:38 +0000 + +libpthread-stubs (0.3-2) unstable; urgency=low + + * Fix bogus symlink (Closes: #556222) + + -- Julien Danjou Mon, 16 Nov 2009 09:58:11 +0100 + +libpthread-stubs (0.3-1) unstable; urgency=low + + * New upstream release + + Revert sem_ symbols (Closes: #548240) + * Move static stuff in /usr/lib (Closes: #548109) + + -- Julien Danjou Wed, 14 Oct 2009 11:18:06 +0200 + +libpthread-stubs (0.2-1) unstable; urgency=low + + * New upstream release + + Provides sem function (Closes: #495229) + * Add myself as uploader + * Bump standard version + * Move lib into /lib (Closes: #480237) + * Add copyrights + * Fix substvars in debian/control + + -- Julien Danjou Wed, 23 Sep 2009 10:34:09 +0200 + +libpthread-stubs (0.1-2) unstable; urgency=low + + * Add XS-Vcs-Git and XS-Vcs-Browser fields. + * Upload to unstable. + + -- Josh Triplett Mon, 21 May 2007 14:00:38 -0700 + +libpthread-stubs (0.1-1) experimental; urgency=low + + * Initial release. + + -- Jamey Sharp Fri, 24 Nov 2006 01:01:49 -0800 + --- libpthread-stubs-0.3.orig/debian/clean +++ libpthread-stubs-0.3/debian/clean @@ -0,0 +1,2 @@ +debian/copyright +debian/libpthread-stubs.so --- libpthread-stubs-0.3.orig/debian/compat +++ libpthread-stubs-0.3/debian/compat @@ -0,0 +1 @@ +9 --- libpthread-stubs-0.3.orig/debian/control +++ libpthread-stubs-0.3/debian/control @@ -0,0 +1,27 @@ +Source: libpthread-stubs +Priority: optional +Section: libdevel +Maintainer: XCB Developers +Uploaders: Julien Danjou +Build-Depends: debhelper (>= 8.1.3), dh-autoreconf +Standards-Version: 3.8.3 +Vcs-Git: git://anonscm.debian.org/git/collab-maint/libpthread-stubs +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libpthread-stubs.git + +Package: libpthread-stubs0-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends} +Description: pthread stubs not provided by native libc, development files + This library provides weak aliases for pthread functions not provided + in libc or otherwise available by default. Libraries like libxcb rely + on pthread stubs to use pthreads optionally, becoming thread-safe when + linked to libpthread, while avoiding any performance hit when running + single-threaded. libpthread-stubs supports this behavior even on + platforms which do not supply all the necessary pthread stubs. + . + On platforms which already supply all the necessary pthread stubs, this + package ships only the pkg-config file pthread-stubs.pc, to allow + libraries to unconditionally express a dependency on pthread-stubs and + still obtain correct behavior. --- libpthread-stubs-0.3.orig/debian/copyright.debian +++ libpthread-stubs-0.3/debian/copyright.debian @@ -0,0 +1,15 @@ +This package was debianized by Jamey Sharp on +Fri, 24 Nov 2006 01:01:49 -0800. The package is co-maintained by the +XCB developers via the XCB mailing list . + +It was downloaded from http://xcb.freedesktop.org/dist + +Upstream Authors: Jamey Sharp + Josh Triplett + +Copyright: + Copyright (C) 2006 Diego Pettenò + Inspired by libX11 code copyright (c) 1995 David E. Wexelblat. + Copyright (C) 2007 Jamey Sharp + Copyright (C) 2007 Josh Triplett + --- libpthread-stubs-0.3.orig/debian/libpthread-stubs0-dev.docs +++ libpthread-stubs-0.3/debian/libpthread-stubs0-dev.docs @@ -0,0 +1 @@ +README --- libpthread-stubs-0.3.orig/debian/libpthread-stubs0-dev.install +++ libpthread-stubs-0.3/debian/libpthread-stubs0-dev.install @@ -0,0 +1 @@ +usr/lib --- libpthread-stubs-0.3.orig/debian/rules +++ libpthread-stubs-0.3/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +%: + dh $@ --with autoreconf --builddirectory=build + +override_dh_auto_configure: debian/copyright + dh_auto_configure --builddirectory=build + +override_dh_auto_install: + dh_auto_install --builddirectory=build --destdir=debian/tmp + find debian/tmp -name '*.la' -delete + +debian/copyright: debian/copyright.debian COPYING + cat $+ > $@ + --- libpthread-stubs-0.3.orig/debian/watch +++ libpthread-stubs-0.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://xcb.freedesktop.org/dist/libpthread-stubs-([0-9].*)\.tar\.gz --- libpthread-stubs-0.3.orig/stubs.c +++ libpthread-stubs-0.3/stubs.c @@ -157,7 +157,7 @@ #ifndef HAVE_PTHREAD_EXIT #define NEED_EXIT_STUB # ifdef SUPPORT_ATTRIBUTE_ALIAS -int pthread_exit() __attribute__ ((weak, alias ("__pthread_exit_stub"))); +void pthread_exit() __attribute__ ((weak, alias ("__pthread_exit_stub"))); # else # pragma weak pthread_exit = __pthread_exit_stub # endif