summaryrefslogtreecommitdiff
path: root/community/libmemcached
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/libmemcached
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/libmemcached')
-rw-r--r--community/libmemcached/PKGBUILD45
-rw-r--r--community/libmemcached/gcc-4.8.patch183
2 files changed, 0 insertions, 228 deletions
diff --git a/community/libmemcached/PKGBUILD b/community/libmemcached/PKGBUILD
deleted file mode 100644
index 25791b35d..000000000
--- a/community/libmemcached/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 93008 2013-06-22 07:02:22Z foutrelis $
-# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
-
-pkgname=libmemcached
-pkgver=1.0.17
-pkgrel=1
-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')
-options=('!libtool')
-source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz
- gcc-4.8.patch)
-sha256sums=('7bb27b2589400f918df1cf5002cb01ef7ccac6e23f818604e2386de62c80bba5'
- '4a6b5d70cf7905fbd9e58a4646a6943da5f77b5e0a87b1518c4688f437963194')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # Fix build with GCC 4.8 (patch from Debian)
- patch -Np1 -i "$srcdir/gcc-4.8.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:
diff --git a/community/libmemcached/gcc-4.8.patch b/community/libmemcached/gcc-4.8.patch
deleted file mode 100644
index 5f42d3f3c..000000000
--- a/community/libmemcached/gcc-4.8.patch
+++ /dev/null
@@ -1,183 +0,0 @@
-Description: Fix compilation with gcc-4.8
- This patch fixes the error flags made incompatible with gcc-4.8:
- g++: error: -fsanitize=address is incompatible with -fsanitize=thread
-Author: Brian Aker
-Last-Update: 2013-06-14
-Bug: https://bugs.launchpad.net/libmemcached/+bug/1164442
-
---- a/libtest/run.gdb 2012-03-26 01:08:09 +0000
-+++ b/libtest/run.gdb 2013-04-10 05:25:24 +0000
-@@ -1,5 +1,6 @@
- set logging on
- set logging overwrite on
- set environment LIBTEST_IN_GDB=1
-+set ASAN_OPTIONS=abort_on_error=1
- run
- thread apply all bt
-
---- a/m4/ax_harden_compiler_flags.m4 2013-02-12 05:44:21 +0000
-+++ b/m4/ax_harden_compiler_flags.m4 2013-04-10 05:25:24 +0000
-@@ -53,7 +53,7 @@
- # ? _APPEND_COMPILE_FLAGS_ERROR([-Wlong-long]) -- Don't turn on for
- # compatibility issues memcached_stat_st
-
--#serial 8
-+#serial 9
-
- AC_DEFUN([_WARNINGS_AS_ERRORS],
- [AC_CACHE_CHECK([if all warnings into errors],[ac_cv_warnings_as_errors],
-@@ -92,9 +92,12 @@
- _APPEND_COMPILE_FLAGS_ERROR([-H])
- _APPEND_COMPILE_FLAGS_ERROR([-ggdb])
- _APPEND_COMPILE_FLAGS_ERROR([-g])
-- _APPEND_COMPILE_FLAGS_ERROR([-O0])],
-- [_APPEND_COMPILE_FLAGS_ERROR([-g])
-- _APPEND_COMPILE_FLAGS_ERROR([-O2])])
-+ _APPEND_COMPILE_FLAGS_ERROR([-O0]),
-+ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer])
-+ ],[
-+ _APPEND_COMPILE_FLAGS_ERROR([-g])
-+ _APPEND_COMPILE_FLAGS_ERROR([-O2])
-+ ])
-
- AS_IF([test "x$ac_cv_vcs_checkout" = xyes],
- [_APPEND_COMPILE_FLAGS_ERROR([-fstack-check])
-@@ -155,26 +158,31 @@
- _APPEND_COMPILE_FLAGS_ERROR([-Wundef])
- _APPEND_COMPILE_FLAGS_ERROR([-Wunsafe-loop-optimizations])
- _APPEND_COMPILE_FLAGS_ERROR([-funsafe-loop-optimizations])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr])
-+ AS_IF([test "x$ac_cv_vcs_checkout" = xyes],[
-+ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer])
-+ AS_IF([test "x$enable_shared" = "xyes"],[
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread])
-+ ])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr])
-+ ])
- _APPEND_COMPILE_FLAGS_ERROR([-Wclobbered])
- _APPEND_COMPILE_FLAGS_ERROR([-Wunused])
- _APPEND_COMPILE_FLAGS_ERROR([-Wunused-result])
-@@ -186,6 +194,7 @@
- _APPEND_COMPILE_FLAGS_ERROR([-fwrapv])
- _APPEND_COMPILE_FLAGS_ERROR([-fmudflapt])
- _APPEND_COMPILE_FLAGS_ERROR([-pipe])
-+ _APPEND_COMPILE_FLAGS_ERROR([-Wsizeof-pointer-memaccess])
-
- AS_IF([test "x$ax_enable_debug" = xno],
- [AS_IF([test "x$ac_cv_vcs_checkout" = xyes],
-@@ -213,9 +222,12 @@
- _APPEND_COMPILE_FLAGS_ERROR([-H])
- _APPEND_COMPILE_FLAGS_ERROR([-ggdb])
- _APPEND_COMPILE_FLAGS_ERROR([-g])
-- _APPEND_COMPILE_FLAGS_ERROR([-O0])],
-- [_APPEND_COMPILE_FLAGS_ERROR([-g])
-- _APPEND_COMPILE_FLAGS_ERROR([-O2])])
-+ _APPEND_COMPILE_FLAGS_ERROR([-O0]),
-+ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer])
-+ ],[
-+ _APPEND_COMPILE_FLAGS_ERROR([-g])
-+ _APPEND_COMPILE_FLAGS_ERROR([-O2])
-+ ])
-
- AS_IF([test "x$ac_cv_vcs_checkout" = xyes],
- [_APPEND_COMPILE_FLAGS_ERROR([-fstack-check])
-@@ -268,27 +280,32 @@
- _APPEND_COMPILE_FLAGS_ERROR([-funsafe-loop-optimizations])
- _APPEND_COMPILE_FLAGS_ERROR([-Wc++11-compat])
- # _APPEND_COMPILE_FLAGS_ERROR([-Weffc++])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound])
-- _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr])
--# _APPEND_COMPILE_FLAGS_ERROR([-Wold-style-cast])
-+ AS_IF([test "x$ac_cv_vcs_checkout" = xyes],[
-+ _APPEND_COMPILE_FLAGS_ERROR([-fno-omit-frame-pointer])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=address])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer])
-+ AS_IF([test "x$enable_shared" = "xyes"],[
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=thread])
-+ ])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=memory])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=alignment])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bool])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=bounds])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=enum])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-cast-overflow])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=float-divide-by-zero])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=integer-divide-by-zero])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=null])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=object-size])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=return])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=shift])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=signed-integer-overflow])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unreachable])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=unsigned-integer-overflow])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vla-bound])
-+ _APPEND_COMPILE_FLAGS_ERROR([-fsanitize=vptr])
-+ ])
-+# _APPEND_COMPILE_FLAGS_ERROR([-Wold-style-cast])
- _APPEND_COMPILE_FLAGS_ERROR([-Wclobbered])
- _APPEND_COMPILE_FLAGS_ERROR([-Wunused])
- _APPEND_COMPILE_FLAGS_ERROR([-Wunused-result])
-@@ -301,6 +318,7 @@
- _APPEND_COMPILE_FLAGS_ERROR([-fwrapv])
- _APPEND_COMPILE_FLAGS_ERROR([-fmudflapt])
- _APPEND_COMPILE_FLAGS_ERROR([-pipe])
-+ _APPEND_COMPILE_FLAGS_ERROR([-Wsizeof-pointer-memaccess])
-
- AS_IF([test "x$ax_enable_debug" = xno],
- [AS_IF([test "x$ac_cv_vcs_checkout" = xyes],
-