summaryrefslogtreecommitdiff
path: root/dev-perl/Wx-Scintilla/files/Wx-Scintilla-0.39-force-c++11.patch
blob: 92a5af0c48924e3f449ef278358da1df80ce219d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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'
 		: '',