From e406636e2faf9055b592fc6efe3195f8f44505fd Mon Sep 17 00:00:00 2001 From: Rmys Date: Wed, 1 Nov 2023 17:23:40 +0300 Subject: [PATCH] boost rebuild list --- .../files/source-highlight-gcc11.patch | 34 +++++++++++++++++++ programming/misc/source-highlight/pspec.xml | 3 ++ 2 files changed, 37 insertions(+) create mode 100644 programming/misc/source-highlight/files/source-highlight-gcc11.patch diff --git a/programming/misc/source-highlight/files/source-highlight-gcc11.patch b/programming/misc/source-highlight/files/source-highlight-gcc11.patch new file mode 100644 index 0000000000..1e5b0dd8df --- /dev/null +++ b/programming/misc/source-highlight/files/source-highlight-gcc11.patch @@ -0,0 +1,34 @@ +From 904949c9026cb772dc93fbe0947a252ef47127f4 Mon Sep 17 00:00:00 2001 +From: Tom Tromey +Date: Wed, 10 Jun 2020 20:38:27 -0600 +Subject: Remove "throw" specifications + +diff --git a/lib/srchilite/fileutil.cc b/lib/srchilite/fileutil.cc +index 59a6d64..963178c 100644 +--- a/lib/srchilite/fileutil.cc ++++ b/lib/srchilite/fileutil.cc +@@ -48,7 +48,7 @@ void set_file_util_verbose(bool b) { + // FIXME avoid using a global variable + std::string start_path; + +-string readFile(const string &fileName) throw (IOException) { ++string readFile(const string &fileName) { + ifstream file(fileName.c_str()); + + if (!file.is_open()) { +diff --git a/lib/srchilite/fileutil.h b/lib/srchilite/fileutil.h +index 7335a9b..042eb56 100644 +--- a/lib/srchilite/fileutil.h ++++ b/lib/srchilite/fileutil.h +@@ -27,7 +27,7 @@ extern std::string start_path; + * @return the contents of the file + * @throw IOException + */ +-string readFile(const string &fileName) throw (IOException); ++string readFile(const string &fileName); + + //char *read_file(const string &fileName); + +-- +cgit v1.2.1 + diff --git a/programming/misc/source-highlight/pspec.xml b/programming/misc/source-highlight/pspec.xml index ab5648feb8..f2e4a6f59f 100644 --- a/programming/misc/source-highlight/pspec.xml +++ b/programming/misc/source-highlight/pspec.xml @@ -18,6 +18,9 @@ ctags boost-devel + + source-highlight-gcc11.patch +