1 |
jer 14/03/30 16:53:34 |
2 |
|
3 |
Added: cppcheck-1.64-tinyxml2.patch |
4 |
Log: |
5 |
Version bump by Christian Strahl (bug #503320). Do not use bundled tinyxml2 (bug #506248 by Jérôme Borme). Set up src_test(). |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-util/cppcheck/files/cppcheck-1.64-tinyxml2.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppcheck/files/cppcheck-1.64-tinyxml2.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cppcheck/files/cppcheck-1.64-tinyxml2.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: cppcheck-1.64-tinyxml2.patch |
16 |
=================================================================== |
17 |
--- a/Makefile |
18 |
+++ b/Makefile |
19 |
@@ -81,15 +81,15 @@ |
20 |
endif |
21 |
|
22 |
ifndef INCLUDE_FOR_LIB |
23 |
- INCLUDE_FOR_LIB=-Ilib -Iexternals -Iexternals/tinyxml |
24 |
+ INCLUDE_FOR_LIB=-Ilib |
25 |
endif |
26 |
|
27 |
ifndef INCLUDE_FOR_CLI |
28 |
- INCLUDE_FOR_CLI=-Ilib -Iexternals -Iexternals/tinyxml |
29 |
+ INCLUDE_FOR_CLI=-Ilib |
30 |
endif |
31 |
|
32 |
ifndef INCLUDE_FOR_TEST |
33 |
- INCLUDE_FOR_TEST=-Ilib -Icli -Iexternals -Iexternals/tinyxml |
34 |
+ INCLUDE_FOR_TEST=-Ilib -Icli |
35 |
endif |
36 |
|
37 |
BIN=$(DESTDIR)$(PREFIX)/bin |
38 |
@@ -226,7 +226,7 @@ |
39 |
$(CXX) -std=c++0x -o dmake tools/dmake.cpp cli/filelister.cpp lib/path.cpp -Ilib $(LDFLAGS) |
40 |
|
41 |
reduce: tools/reduce.cpp |
42 |
- $(CXX) -std=c++0x -g -o reduce tools/reduce.cpp -Ilib -Iexternals/tinyxml lib/*.cpp externals/tinyxml/tinyxml2.cpp |
43 |
+ $(CXX) -std=c++0x -g -o reduce tools/reduce.cpp -Ilib lib/*.cpp |
44 |
|
45 |
clean: |
46 |
rm -f build/*.o lib/*.o cli/*.o test/*.o externals/tinyxml/*.o testrunner reduce cppcheck cppcheck.1 |