summaryrefslogtreecommitdiff
path: root/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch')
-rw-r--r--dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch b/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch
new file mode 100644
index 000000000000..92a5af0c4892
--- /dev/null
+++ b/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch
@@ -0,0 +1,13 @@
+Uses std::auto_ptr which has been officially removed in C++17.
+While GCC still has it present LLVM has explicitly removed it.
+
+--- a/inc/Module/Build/Scintilla/GTK.pm
++++ b/inc/Module/Build/Scintilla/GTK.pm
+@@ -50,6 +50,7 @@
+ '-o ' . $object_name,
+ '-O2',
+ '-Wall',
++ '-std=c++11',
+ $object_name !~ /((Plat|Scintilla)WX|scintilla)\.o/
+ ? '-Wno-missing-braces -Wno-char-subscripts'
+ : '',