diff options
author | Michael Weber <xmw@gentoo.org> | 2016-05-07 23:49:04 +0200 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2016-05-07 23:55:20 +0200 |
commit | 115808d2e8efde4b9392365b52becc80a5b6f463 (patch) | |
tree | 0e702c51ade07492b60373b2a4598acda4deb558 /dev-util/cppcheck/files | |
parent | Revert "x11-misc/shutterbug: Fix global scope use* calls, #582206" - repoman ... (diff) | |
download | gentoo-115808d2e8efde4b9392365b52becc80a5b6f463.tar.gz gentoo-115808d2e8efde4b9392365b52becc80a5b6f463.tar.bz2 gentoo-115808d2e8efde4b9392365b52becc80a5b6f463.zip |
dev-util/cppcheck: Drop old.
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-util/cppcheck/files')
-rw-r--r-- | dev-util/cppcheck/files/cppcheck-1.69-c++0x.patch | 12 | ||||
-rw-r--r-- | dev-util/cppcheck/files/cppcheck-1.69-tinyxml2.patch | 67 | ||||
-rw-r--r-- | dev-util/cppcheck/files/cppcheck-1.71-tinyxml2.patch | 67 |
3 files changed, 0 insertions, 146 deletions
diff --git a/dev-util/cppcheck/files/cppcheck-1.69-c++0x.patch b/dev-util/cppcheck/files/cppcheck-1.69-c++0x.patch deleted file mode 100644 index 8e9635c28354..000000000000 --- a/dev-util/cppcheck/files/cppcheck-1.69-c++0x.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- cppcheck-1.69/gui/gui.pro -+++ cppcheck-1.69/gui/gui.pro -@@ -146,9 +146,7 @@ - LIBS += -lshlwapi - } - --contains(QMAKE_CC, gcc) { - QMAKE_CXXFLAGS += -std=c++0x --} - - macx { - contains(QMAKE_CXX, clang++) { diff --git a/dev-util/cppcheck/files/cppcheck-1.69-tinyxml2.patch b/dev-util/cppcheck/files/cppcheck-1.69-tinyxml2.patch deleted file mode 100644 index 0b0c9f84ba36..000000000000 --- a/dev-util/cppcheck/files/cppcheck-1.69-tinyxml2.patch +++ /dev/null @@ -1,67 +0,0 @@ ---- cppcheck-1.69/gui/gui.pro -+++ cppcheck-1.69/gui/gui.pro -@@ -15,7 +15,7 @@ contains(LINKCORE, [yY][eE][sS]) { - LIBS += -l../bin/cppcheck-core - DEFINES += CPPCHECKLIB_IMPORT - } --LIBS += -L$$PWD/../externals -+LIBS += `pkg-config --libs tinyxml2` - - DESTDIR = . - RCC_DIR = temp ---- cppcheck-1.69/tools/dmake.cpp -+++ cppcheck-1.69/tools/dmake.cpp -@@ -171,7 +171,6 @@ int main(int argc, char **argv) - } - - std::vector<std::string> externalfiles; -- getCppFiles(externalfiles, "externals/", true); - - - // QMAKE - lib/lib.pri -@@ -180,10 +179,6 @@ int main(int argc, char **argv) - if (fout1.is_open()) { - fout1 << "# no manual edits - this file is autogenerated by dmake\n\n"; - fout1 << "include($$PWD/pcrerules.pri)\n"; -- fout1 << "BASEPATH = ../externals/tinyxml/\n"; -- fout1 << "include($$PWD/../externals/tinyxml/tinyxml.pri)\n"; -- fout1 << "BASEPATH = ../lib/\n"; -- fout1 << "INCLUDEPATH += ../externals/tinyxml\n"; - fout1 << "HEADERS += $${BASEPATH}check.h \\\n"; - for (unsigned int i = 0; i < libfiles.size(); ++i) { - std::string fname(libfiles[i].substr(4)); -@@ -209,7 +204,6 @@ int main(int argc, char **argv) - std::ofstream fout1("test/testfiles.pri"); - if (fout1.is_open()) { - fout1 << "# no manual edits - this file is autogenerated by dmake\n\n"; -- fout1 << "INCLUDEPATH += ../externals/tinyxml\n"; - fout1 << "\n\nSOURCES += "; - for (unsigned int i = 0; i < testfiles.size(); ++i) { - const std::string filename(testfiles[i].substr(5)); -@@ -357,9 +351,9 @@ int main(int argc, char **argv) - - makeConditionalVariable(fout, "CXX", "g++"); - makeConditionalVariable(fout, "PREFIX", "/usr"); -- makeConditionalVariable(fout, "INCLUDE_FOR_LIB", "-Ilib -Iexternals/tinyxml"); -- makeConditionalVariable(fout, "INCLUDE_FOR_CLI", "-Ilib -Iexternals/tinyxml"); -- makeConditionalVariable(fout, "INCLUDE_FOR_TEST", "-Ilib -Icli -Iexternals/tinyxml"); -+ makeConditionalVariable(fout, "INCLUDE_FOR_LIB", "-Ilib"); -+ makeConditionalVariable(fout, "INCLUDE_FOR_CLI", "-Ilib"); -+ makeConditionalVariable(fout, "INCLUDE_FOR_TEST", "-Ilib -Icli"); - - fout << "BIN=$(DESTDIR)$(PREFIX)/bin\n\n"; - fout << "# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml on Linux\n"; -@@ -399,10 +393,10 @@ int main(int argc, char **argv) - fout << "dmake:\ttools/dmake.o cli/filelister.o lib/path.o\n"; - fout << "\t$(CXX) $(CXXFLAGS) -std=c++0x -o dmake tools/dmake.o cli/filelister.o lib/path.o -Ilib $(LDFLAGS)\n"; - fout << "\t./dmake\n\n"; -- fout << "reduce:\ttools/reduce.o externals/tinyxml/tinyxml2.o $(LIBOBJ)\n"; -- fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -std=c++0x -g -o reduce tools/reduce.o -Ilib -Iexternals/tinyxml $(LIBOBJ) $(LIBS) externals/tinyxml/tinyxml2.o $(LDFLAGS) $(RDYNAMIC)\n\n"; -+ fout << "reduce:\ttools/reduce.o $(LIBOBJ)\n"; -+ fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -std=c++0x -g -o reduce tools/reduce.o -Ilib $(LIBOBJ) $(LIBS) $(LDFLAGS) $(RDYNAMIC)\n\n"; - fout << "clean:\n"; -- fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/tinyxml/*.o testrunner reduce dmake cppcheck cppcheck.1\n\n"; -+ fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o testrunner reduce dmake cppcheck cppcheck.1\n\n"; - fout << "man:\tman/cppcheck.1\n\n"; - fout << "man/cppcheck.1:\t$(MAN_SOURCE)\n\n"; - fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n"; diff --git a/dev-util/cppcheck/files/cppcheck-1.71-tinyxml2.patch b/dev-util/cppcheck/files/cppcheck-1.71-tinyxml2.patch deleted file mode 100644 index 4b82c21e0f66..000000000000 --- a/dev-util/cppcheck/files/cppcheck-1.71-tinyxml2.patch +++ /dev/null @@ -1,67 +0,0 @@ ---- cppcheck-1.71/gui/gui.pro -+++ cppcheck-1.71/gui/gui.pro -@@ -14,7 +14,7 @@ - LIBS += -l../bin/cppcheck-core - DEFINES += CPPCHECKLIB_IMPORT - } --LIBS += -L$$PWD/../externals -+LIBS += `pkg-config --libs tinyxml2` - - DESTDIR = . - RCC_DIR = temp ---- cppcheck-1.71/tools/dmake.cpp -+++ cppcheck-1.71/tools/dmake.cpp -@@ -174,7 +174,6 @@ - } - - std::vector<std::string> externalfiles; -- getCppFiles(externalfiles, "externals/", true); - - - // QMAKE - lib/lib.pri -@@ -183,10 +182,6 @@ - if (fout1.is_open()) { - fout1 << "# no manual edits - this file is autogenerated by dmake\n\n"; - fout1 << "include($$PWD/pcrerules.pri)\n"; -- fout1 << "BASEPATH = ../externals/tinyxml/\n"; -- fout1 << "include($$PWD/../externals/tinyxml/tinyxml.pri)\n"; -- fout1 << "BASEPATH = ../lib/\n"; -- fout1 << "INCLUDEPATH += ../externals/tinyxml\n"; - fout1 << "HEADERS += $${BASEPATH}check.h \\\n"; - for (unsigned int i = 0; i < libfiles.size(); ++i) { - std::string fname(libfiles[i].substr(4)); -@@ -212,7 +207,6 @@ - std::ofstream fout1("test/testfiles.pri"); - if (fout1.is_open()) { - fout1 << "# no manual edits - this file is autogenerated by dmake\n\n"; -- fout1 << "INCLUDEPATH += ../externals/tinyxml\n"; - fout1 << "\n\nSOURCES += "; - for (unsigned int i = 0; i < testfiles.size(); ++i) { - const std::string filename(testfiles[i].substr(5)); -@@ -376,9 +370,9 @@ - << "endif\n\n"; - - makeConditionalVariable(fout, "PREFIX", "/usr"); -- makeConditionalVariable(fout, "INCLUDE_FOR_LIB", "-Ilib -Iexternals/tinyxml"); -- makeConditionalVariable(fout, "INCLUDE_FOR_CLI", "-Ilib -Iexternals/tinyxml"); -- makeConditionalVariable(fout, "INCLUDE_FOR_TEST", "-Ilib -Icli -Iexternals/tinyxml"); -+ makeConditionalVariable(fout, "INCLUDE_FOR_LIB", "-Ilib"); -+ makeConditionalVariable(fout, "INCLUDE_FOR_CLI", "-Ilib"); -+ makeConditionalVariable(fout, "INCLUDE_FOR_TEST", "-Ilib -Icli"); - - fout << "BIN=$(DESTDIR)$(PREFIX)/bin\n\n"; - fout << "# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml on Linux\n"; -@@ -419,10 +413,10 @@ - fout << "\t$(CXX) $(CXXFLAGS) -o dmake tools/dmake.o cli/filelister.o cli/pathmatch.o lib/path.o -Ilib $(LDFLAGS)\n\n"; - fout << "run-dmake: dmake\n"; - fout << "\t./dmake\n\n"; -- fout << "reduce:\ttools/reduce.o externals/tinyxml/tinyxml2.o $(LIBOBJ)\n"; -- fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -g -o reduce tools/reduce.o -Ilib -Iexternals/tinyxml $(LIBOBJ) $(LIBS) externals/tinyxml/tinyxml2.o $(LDFLAGS) $(RDYNAMIC)\n\n"; -+ fout << "reduce:\ttools/reduce.o $(LIBOBJ)\n"; -+ fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o reduce tools/reduce.o -Ilib $(LIBOBJ) $(LIBS) $(LDFLAGS) $(RDYNAMIC)\n\n"; - fout << "clean:\n"; -- fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/tinyxml/*.o testrunner reduce dmake cppcheck cppcheck.1\n\n"; -+ fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o testrunner reduce dmake cppcheck cppcheck.1\n\n"; - fout << "man:\tman/cppcheck.1\n\n"; - fout << "man/cppcheck.1:\t$(MAN_SOURCE)\n\n"; - fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n"; |