aboutsummaryrefslogtreecommitdiff
path: root/development/srcML/srcML-0.9.5-boost-optional.patch
diff options
context:
space:
mode:
authorMarcel Steinbeck <marcel dot steinbeck at googlemail dot com>2017-04-09 00:54:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:27:46 +0700
commit89f6ac9939728d7cfa8dfa8937205ff390b308b2 (patch)
tree755230255b9f86afd90c1fb715991c8fe9c75034 /development/srcML/srcML-0.9.5-boost-optional.patch
parente5380977a1a09f7aa85feb75786d58d62faede49 (diff)
development/srcML: Added (XML representation of source code).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/srcML/srcML-0.9.5-boost-optional.patch')
-rw-r--r--development/srcML/srcML-0.9.5-boost-optional.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/development/srcML/srcML-0.9.5-boost-optional.patch b/development/srcML/srcML-0.9.5-boost-optional.patch
new file mode 100644
index 0000000000000..80890dc2f6189
--- /dev/null
+++ b/development/srcML/srcML-0.9.5-boost-optional.patch
@@ -0,0 +1,11 @@
+--- srcML-src.orig/src/libsrcml/srcml_reader_handler.hpp 2015-05-20 03:36:48.000000000 +0200
++++ srcML-src/src/libsrcml/srcml_reader_handler.hpp 2017-04-07 17:10:40.137339217 +0200
+@@ -456,7 +456,7 @@
+
+ if(uri == SRCML_CPP_NS_URI) {
+
+- if(archive->language != 0) {
++ if(archive->language) {
+
+ if(*archive->language == "C++" || *archive->language == "C" || *archive->language == "Objective-C")
+ archive->options |= SRCML_OPTION_CPP | SRCML_OPTION_CPP_NOMACRO;