diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /dev-libs/leveldb/files/leveldb-1.9.0-configure.patch | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'dev-libs/leveldb/files/leveldb-1.9.0-configure.patch')
-rw-r--r-- | dev-libs/leveldb/files/leveldb-1.9.0-configure.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-libs/leveldb/files/leveldb-1.9.0-configure.patch b/dev-libs/leveldb/files/leveldb-1.9.0-configure.patch deleted file mode 100644 index d25fe01f6835..000000000000 --- a/dev-libs/leveldb/files/leveldb-1.9.0-configure.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/build_detect_platform b/build_detect_platform -index 5801d20..4b4bb0d 100755 ---- a/build_detect_platform -+++ b/build_detect_platform -@@ -169,20 +169,30 @@ EOF - - # Test whether Snappy library is installed - # http://code.google.com/p/snappy/ -+if [ "${USE_SNAPPY:-auto}" = "auto" ]; then - $CXX $CXXFLAGS -x c++ - -o /dev/null 2>/dev/null <<EOF - #include <snappy.h> - int main() {} - EOF - if [ "$?" = 0 ]; then -+ USE_SNAPPY="yes" -+ fi -+fi -+ if [ "$USE_SNAPPY" = "yes" ]; then - COMMON_FLAGS="$COMMON_FLAGS -DSNAPPY" - PLATFORM_LIBS="$PLATFORM_LIBS -lsnappy" - fi - - # Test whether tcmalloc is available -+if [ "${USE_TCMALLOC:-auto}" = "auto" ]; then - $CXX $CXXFLAGS -x c++ - -o /dev/null -ltcmalloc 2>/dev/null <<EOF - int main() {} - EOF - if [ "$?" = 0 ]; then -+ USE_TCMALLOC="yes" -+ fi -+fi -+ if [ "$USE_TCMALLOC" = "yes" ]; then - PLATFORM_LIBS="$PLATFORM_LIBS -ltcmalloc" - fi - fi |