Date: Tuesday, November 1, 2016 @ 21:27:38 Author: foutrelis Revision: 194286
archrelease: copy trunk to community-i686, community-x86_64 Added: libmemcached/repos/community-i686/PKGBUILD (from rev 194285, libmemcached/trunk/PKGBUILD) libmemcached/repos/community-i686/libmemcached-fix-linking-with-libpthread.patch (from rev 194285, libmemcached/trunk/libmemcached-fix-linking-with-libpthread.patch) libmemcached/repos/community-x86_64/PKGBUILD (from rev 194285, libmemcached/trunk/PKGBUILD) libmemcached/repos/community-x86_64/libmemcached-fix-linking-with-libpthread.patch (from rev 194285, libmemcached/trunk/libmemcached-fix-linking-with-libpthread.patch) Deleted: libmemcached/repos/community-i686/PKGBUILD libmemcached/repos/community-i686/libmemcached-fix-linking-with-libpthread.patch libmemcached/repos/community-x86_64/PKGBUILD libmemcached/repos/community-x86_64/libmemcached-fix-linking-with-libpthread.patch -----------------------------------------------------------------+ /PKGBUILD | 92 ++++++++++ /libmemcached-fix-linking-with-libpthread.patch | 38 ++++ community-i686/PKGBUILD | 46 ----- community-i686/libmemcached-fix-linking-with-libpthread.patch | 19 -- community-x86_64/PKGBUILD | 46 ----- community-x86_64/libmemcached-fix-linking-with-libpthread.patch | 19 -- 6 files changed, 130 insertions(+), 130 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-11-01 21:27:10 UTC (rev 194285) +++ community-i686/PKGBUILD 2016-11-01 21:27:38 UTC (rev 194286) @@ -1,46 +0,0 @@ -# $Id$ -# Maintainer: Evangelos Foutras <evange...@foutrelis.com> - -pkgname=libmemcached -pkgver=1.0.18 -pkgrel=2 -pkgdesc="C and C++ client library to the memcached server" -arch=('i686' 'x86_64') -url="http://libmemcached.org/" -license=('GPL') -depends=('glibc' 'libsasl' 'libevent') -makedepends=('perl' 'memcached' 'python-sphinx') -source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz - libmemcached-fix-linking-with-libpthread.patch) -sha256sums=('e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82' - '02cd903ed217ef6d023bccefecb8d599ffab9b800a4f1a4e0124f4d71888d0dc') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - # Fix linking against libpthread (patch from Fedora) - # https://bugzilla.redhat.com/show_bug.cgi?id=1037707 - # https://bugs.launchpad.net/libmemcached/+bug/1281907 - patch -Np1 -i ../libmemcached-fix-linking-with-libpthread.patch -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr - make -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - - #make -k check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: Copied: libmemcached/repos/community-i686/PKGBUILD (from rev 194285, libmemcached/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-11-01 21:27:38 UTC (rev 194286) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> + +pkgname=libmemcached +pkgver=1.0.18 +pkgrel=2 +pkgdesc="C and C++ client library to the memcached server" +arch=('i686' 'x86_64') +url="http://libmemcached.org/" +license=('GPL') +depends=('glibc' 'libsasl' 'libevent') +makedepends=('perl' 'memcached' 'python-sphinx') +source=(https://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz + libmemcached-fix-linking-with-libpthread.patch) +sha256sums=('e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82' + '02cd903ed217ef6d023bccefecb8d599ffab9b800a4f1a4e0124f4d71888d0dc') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix linking against libpthread (patch from Fedora) + # https://bugzilla.redhat.com/show_bug.cgi?id=1037707 + # https://bugs.launchpad.net/libmemcached/+bug/1281907 + patch -Np1 -i ../libmemcached-fix-linking-with-libpthread.patch +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + + #make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: Deleted: community-i686/libmemcached-fix-linking-with-libpthread.patch =================================================================== --- community-i686/libmemcached-fix-linking-with-libpthread.patch 2016-11-01 21:27:10 UTC (rev 194285) +++ community-i686/libmemcached-fix-linking-with-libpthread.patch 2016-11-01 21:27:38 UTC (rev 194286) @@ -1,19 +0,0 @@ -diff -up libmemcached-1.0.16/build-aux/ltmain.sh.orig libmemcached-1.0.16/build-aux/ltmain.sh ---- libmemcached-1.0.16/build-aux/ltmain.sh.orig 2013-12-03 16:36:53.222107642 +0100 -+++ libmemcached-1.0.16/build-aux/ltmain.sh 2013-12-03 16:37:35.770132249 +0100 -@@ -5664,6 +5664,15 @@ func_mode_link () - *" $arg "*) ;; - * ) func_append new_inherited_linker_flags " $arg" ;; - esac -+ # As we are forced to pass -nostdlib to g++ during linking, the option -+ # -pthread{,s} is not in effect; add the -lpthread to $deplist -+ # explicitly to link correctly. -+ if test "$tagname" = CXX -a x"$with_gcc" = xyes; then -+ case "$arg" in -+ -pthread*) func_append deplibs " -lpthread" ;; -+ esac -+ fi -+ - continue - ;; - Copied: libmemcached/repos/community-i686/libmemcached-fix-linking-with-libpthread.patch (from rev 194285, libmemcached/trunk/libmemcached-fix-linking-with-libpthread.patch) =================================================================== --- community-i686/libmemcached-fix-linking-with-libpthread.patch (rev 0) +++ community-i686/libmemcached-fix-linking-with-libpthread.patch 2016-11-01 21:27:38 UTC (rev 194286) @@ -0,0 +1,19 @@ +diff -up libmemcached-1.0.16/build-aux/ltmain.sh.orig libmemcached-1.0.16/build-aux/ltmain.sh +--- libmemcached-1.0.16/build-aux/ltmain.sh.orig 2013-12-03 16:36:53.222107642 +0100 ++++ libmemcached-1.0.16/build-aux/ltmain.sh 2013-12-03 16:37:35.770132249 +0100 +@@ -5664,6 +5664,15 @@ func_mode_link () + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac ++ # As we are forced to pass -nostdlib to g++ during linking, the option ++ # -pthread{,s} is not in effect; add the -lpthread to $deplist ++ # explicitly to link correctly. ++ if test "$tagname" = CXX -a x"$with_gcc" = xyes; then ++ case "$arg" in ++ -pthread*) func_append deplibs " -lpthread" ;; ++ esac ++ fi ++ + continue + ;; + Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-11-01 21:27:10 UTC (rev 194285) +++ community-x86_64/PKGBUILD 2016-11-01 21:27:38 UTC (rev 194286) @@ -1,46 +0,0 @@ -# $Id$ -# Maintainer: Evangelos Foutras <evange...@foutrelis.com> - -pkgname=libmemcached -pkgver=1.0.18 -pkgrel=2 -pkgdesc="C and C++ client library to the memcached server" -arch=('i686' 'x86_64') -url="http://libmemcached.org/" -license=('GPL') -depends=('glibc' 'libsasl' 'libevent') -makedepends=('perl' 'memcached' 'python-sphinx') -source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz - libmemcached-fix-linking-with-libpthread.patch) -sha256sums=('e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82' - '02cd903ed217ef6d023bccefecb8d599ffab9b800a4f1a4e0124f4d71888d0dc') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - # Fix linking against libpthread (patch from Fedora) - # https://bugzilla.redhat.com/show_bug.cgi?id=1037707 - # https://bugs.launchpad.net/libmemcached/+bug/1281907 - patch -Np1 -i ../libmemcached-fix-linking-with-libpthread.patch -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr - make -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - - #make -k check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install -} - -# vim:set ts=2 sw=2 et: Copied: libmemcached/repos/community-x86_64/PKGBUILD (from rev 194285, libmemcached/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-11-01 21:27:38 UTC (rev 194286) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> + +pkgname=libmemcached +pkgver=1.0.18 +pkgrel=2 +pkgdesc="C and C++ client library to the memcached server" +arch=('i686' 'x86_64') +url="http://libmemcached.org/" +license=('GPL') +depends=('glibc' 'libsasl' 'libevent') +makedepends=('perl' 'memcached' 'python-sphinx') +source=(https://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz + libmemcached-fix-linking-with-libpthread.patch) +sha256sums=('e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82' + '02cd903ed217ef6d023bccefecb8d599ffab9b800a4f1a4e0124f4d71888d0dc') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix linking against libpthread (patch from Fedora) + # https://bugzilla.redhat.com/show_bug.cgi?id=1037707 + # https://bugs.launchpad.net/libmemcached/+bug/1281907 + patch -Np1 -i ../libmemcached-fix-linking-with-libpthread.patch +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + + #make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/libmemcached-fix-linking-with-libpthread.patch =================================================================== --- community-x86_64/libmemcached-fix-linking-with-libpthread.patch 2016-11-01 21:27:10 UTC (rev 194285) +++ community-x86_64/libmemcached-fix-linking-with-libpthread.patch 2016-11-01 21:27:38 UTC (rev 194286) @@ -1,19 +0,0 @@ -diff -up libmemcached-1.0.16/build-aux/ltmain.sh.orig libmemcached-1.0.16/build-aux/ltmain.sh ---- libmemcached-1.0.16/build-aux/ltmain.sh.orig 2013-12-03 16:36:53.222107642 +0100 -+++ libmemcached-1.0.16/build-aux/ltmain.sh 2013-12-03 16:37:35.770132249 +0100 -@@ -5664,6 +5664,15 @@ func_mode_link () - *" $arg "*) ;; - * ) func_append new_inherited_linker_flags " $arg" ;; - esac -+ # As we are forced to pass -nostdlib to g++ during linking, the option -+ # -pthread{,s} is not in effect; add the -lpthread to $deplist -+ # explicitly to link correctly. -+ if test "$tagname" = CXX -a x"$with_gcc" = xyes; then -+ case "$arg" in -+ -pthread*) func_append deplibs " -lpthread" ;; -+ esac -+ fi -+ - continue - ;; - Copied: libmemcached/repos/community-x86_64/libmemcached-fix-linking-with-libpthread.patch (from rev 194285, libmemcached/trunk/libmemcached-fix-linking-with-libpthread.patch) =================================================================== --- community-x86_64/libmemcached-fix-linking-with-libpthread.patch (rev 0) +++ community-x86_64/libmemcached-fix-linking-with-libpthread.patch 2016-11-01 21:27:38 UTC (rev 194286) @@ -0,0 +1,19 @@ +diff -up libmemcached-1.0.16/build-aux/ltmain.sh.orig libmemcached-1.0.16/build-aux/ltmain.sh +--- libmemcached-1.0.16/build-aux/ltmain.sh.orig 2013-12-03 16:36:53.222107642 +0100 ++++ libmemcached-1.0.16/build-aux/ltmain.sh 2013-12-03 16:37:35.770132249 +0100 +@@ -5664,6 +5664,15 @@ func_mode_link () + *" $arg "*) ;; + * ) func_append new_inherited_linker_flags " $arg" ;; + esac ++ # As we are forced to pass -nostdlib to g++ during linking, the option ++ # -pthread{,s} is not in effect; add the -lpthread to $deplist ++ # explicitly to link correctly. ++ if test "$tagname" = CXX -a x"$with_gcc" = xyes; then ++ case "$arg" in ++ -pthread*) func_append deplibs " -lpthread" ;; ++ esac ++ fi ++ + continue + ;; +