Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/tokumx/files: 1.5.0-Werror.diff
Date: Fri, 01 Aug 2014 13:08:13
Message-Id: 20140801130808.17AB320035@flycatcher.gentoo.org
1 chainsaw 14/08/01 13:08:06
2
3 Added: 1.5.0-Werror.diff
4 Log:
5 Initial attempt at packaging TokuMX community edition. Improvement requests welcomed in bug reports, particularly with patches.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
8
9 Revision Changes Path
10 1.1 dev-db/tokumx/files/1.5.0-Werror.diff
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokumx/files/1.5.0-Werror.diff?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokumx/files/1.5.0-Werror.diff?rev=1.1&content-type=text/plain
14
15 Index: 1.5.0-Werror.diff
16 ===================================================================
17 diff -uNr work.ORIG/mongo/CMakeLists.txt work/mongo/CMakeLists.txt
18 --- work.ORIG/mongo/CMakeLists.txt 2014-08-01 11:51:20.832614062 +0100
19 +++ work/mongo/CMakeLists.txt 2014-08-01 11:51:36.898614862 +0100
20 @@ -71,14 +71,13 @@
21 endforeach(flag)
22 endmacro(set_cxxflags_if_supported)
23
24 -set(CMAKE_C_FLAGS "-fPIC -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Werror -pipe")
25 +set(CMAKE_C_FLAGS "-fPIC -fno-strict-aliasing -ggdb -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe")
26 set(CMAKE_CXX_FLAGS "-fPIC -fno-strict-aliasing -ggdb")
27 set_cxxflags_if_supported(
28 -Wall
29 -Wsign-compare
30 -Wno-unknown-pragmas
31 -Winvalid-pch
32 - -Werror
33 -pipe
34 -Wnon-virtual-dtor
35 -Woverloaded-virtual
36 diff -uNr work.ORIG/mongo/src/third_party/ft-index/cmake_modules/TokuSetupCompiler.cmake work/mongo/src/third_party/ft-index/cmake_modules/TokuSetupCompiler.cmake
37 --- work.ORIG/mongo/src/third_party/ft-index/cmake_modules/TokuSetupCompiler.cmake 2014-08-01 11:51:20.696614056 +0100
38 +++ work/mongo/src/third_party/ft-index/cmake_modules/TokuSetupCompiler.cmake 2014-08-01 11:51:36.898614862 +0100
39 @@ -174,8 +174,8 @@
40 endif ()
41
42 ## always want these
43 -set(CMAKE_C_FLAGS "-Wall -Werror ${CMAKE_C_FLAGS}")
44 -set(CMAKE_CXX_FLAGS "-Wall -Werror ${CMAKE_CXX_FLAGS}")
45 +set(CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}")
46 +set(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}")
47
48 ## need to set -stdlib=libc++ to get real c++11 support on darwin
49 if (APPLE)
50 diff -uNr work.ORIG/mongo/src/third_party/ft-index/examples/Makefile work/mongo/src/third_party/ft-index/examples/Makefile
51 --- work.ORIG/mongo/src/third_party/ft-index/examples/Makefile 2014-08-01 11:51:20.676614055 +0100
52 +++ work/mongo/src/third_party/ft-index/examples/Makefile 2014-08-01 11:51:36.898614862 +0100
53 @@ -1,7 +1,7 @@
54 SRCS = $(wildcard *.c)
55 TARGETS = $(patsubst %.c,%,$(SRCS)) $(patsubst %.c,%-bdb,$(SRCS))
56 CPPFLAGS = -I../include -D_GNU_SOURCE
57 -CFLAGS = -g -std=c99 -Wall -Wextra -Werror -Wno-missing-field-initializers
58 +CFLAGS = -g -std=c99 -Wall -Wextra -Wno-missing-field-initializers
59 ifeq ($(USE_STATIC_LIBS),1)
60 LIBTOKUDB = tokufractaltree_static
61 LIBTOKUPORTABILITY = tokuportability_static