diff -Nru curlftpfs-0.9.2/debian/changelog curlftpfs-0.9.2/debian/changelog --- curlftpfs-0.9.2/debian/changelog 2011-07-30 19:37:00.000000000 +0000 +++ curlftpfs-0.9.2/debian/changelog 2013-04-06 18:51:59.000000000 +0000 @@ -1,3 +1,9 @@ +curlftpfs (0.9.2-5ubuntu1) raring; urgency=low + + * Added missing pthread lib to link, fixing FTBFS. + + -- Daniel T Chen Sat, 06 Apr 2013 14:51:47 -0400 + curlftpfs (0.9.2-5) unstable; urgency=low * Depends on fuse [linux-any] | fuse4bsd [kfreebsd-any] to allow diff -Nru curlftpfs-0.9.2/debian/control curlftpfs-0.9.2/debian/control --- curlftpfs-0.9.2/debian/control 2011-07-30 19:37:04.000000000 +0000 +++ curlftpfs-0.9.2/debian/control 2013-04-06 18:51:43.000000000 +0000 @@ -1,7 +1,8 @@ Source: curlftpfs Section: utils Priority: optional -Maintainer: Vincent Bernat +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Vincent Bernat Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), libglib2.0-dev, libcurl4-gnutls-dev, libfuse-dev Build-Conflicts: libcurl4-openssl-dev diff -Nru curlftpfs-0.9.2/debian/patches/pthread_underlinkage.patch curlftpfs-0.9.2/debian/patches/pthread_underlinkage.patch --- curlftpfs-0.9.2/debian/patches/pthread_underlinkage.patch 1970-01-01 00:00:00.000000000 +0000 +++ curlftpfs-0.9.2/debian/patches/pthread_underlinkage.patch 2013-04-06 18:53:17.000000000 +0000 @@ -0,0 +1,31 @@ +Index: curlftpfs-0.9.2/Makefile.am +=================================================================== +--- curlftpfs-0.9.2.orig/Makefile.am 2008-04-23 06:56:44.000000000 -0400 ++++ curlftpfs-0.9.2/Makefile.am 2013-04-06 14:52:48.097007204 -0400 +@@ -12,9 +12,9 @@ + + curlftpfs_SOURCES = ftpfs.c + if FUSE_OPT_COMPAT +-curlftpfs_LDADD = libcurlftpfs.a compat/libcompat.la ++curlftpfs_LDADD = libcurlftpfs.a compat/libcompat.la -lpthread + else +-curlftpfs_LDADD = libcurlftpfs.a ++curlftpfs_LDADD = libcurlftpfs.a -lpthread + endif + + noinst_LIBRARIES = libcurlftpfs.a +Index: curlftpfs-0.9.2/Makefile.in +=================================================================== +--- curlftpfs-0.9.2.orig/Makefile.in 2008-04-23 07:38:00.000000000 -0400 ++++ curlftpfs-0.9.2/Makefile.in 2013-04-06 14:53:13.484552239 -0400 +@@ -218,8 +218,8 @@ + AM_CPPFLAGS = -DFUSE_USE_VERSION=26 + AM_LDFLAGS = $(LIBICONV) + curlftpfs_SOURCES = ftpfs.c +-@FUSE_OPT_COMPAT_FALSE@curlftpfs_LDADD = libcurlftpfs.a +-@FUSE_OPT_COMPAT_TRUE@curlftpfs_LDADD = libcurlftpfs.a compat/libcompat.la ++@FUSE_OPT_COMPAT_FALSE@curlftpfs_LDADD = libcurlftpfs.a -lpthread ++@FUSE_OPT_COMPAT_TRUE@curlftpfs_LDADD = libcurlftpfs.a compat/libcompat.la -lpthread + noinst_LIBRARIES = libcurlftpfs.a + libcurlftpfs_a_SOURCES = cache.c cache.h \ + ftpfs-ls.c ftpfs-ls.h \ diff -Nru curlftpfs-0.9.2/debian/patches/series curlftpfs-0.9.2/debian/patches/series --- curlftpfs-0.9.2/debian/patches/series 2011-02-22 06:29:04.000000000 +0000 +++ curlftpfs-0.9.2/debian/patches/series 2013-04-06 18:52:14.000000000 +0000 @@ -1,3 +1,4 @@ fix-CURLOPT_INFILESIZE.patch free_ftpfs_file-memleak-fix.patch nocache-memleak-fix.patch +pthread_underlinkage.patch