1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= perl-Wx-Scintilla
7 SDESC[530]= Scintilla source code editing for wxWidgets (v530)
8 SDESC[528]= Scintilla source code editing for wxWidgets (v528)
10 CONTACT= Perl_Automaton[perl@ironwolf.systems]
13 SITES[main]= CPAN/ID:A/AZ/AZAWAWI
14 DISTFILE[1]= Wx-Scintilla-0.39.tar.gz:main
19 OPTIONS_AVAILABLE= PERL_530 PERL_528
20 OPTIONS_STANDARD= none
21 VOPTS[530]= PERL_530=ON PERL_528=OFF
22 VOPTS[528]= PERL_530=OFF PERL_528=ON
24 RUN_DEPENDS= wxWidgets:single:gtk2
26 DISTNAME= Wx-Scintilla-0.39
32 INSTALL_REQ_TOOLCHAIN= yes
34 [PERL_528].BUILD_DEPENDS_ON= perl-Alien-wxWidgets:single:528
35 perl-ExtUtils-XSpp:single:528
37 perl-Module-Build:single:528
38 [PERL_528].USES_ON= perl:528,buildmod,run
40 [PERL_530].BUILD_DEPENDS_ON= perl-Alien-wxWidgets:single:530
41 perl-ExtUtils-XSpp:single:530
43 perl-Module-Build:single:530
44 [PERL_530].USES_ON= perl:530,buildmod,run
48 '/my /s|wx-config|wxgtk2u-3.0-config|g' \
49 -e '/ret/ s|urn .flags;|urn $$flags . " -std=c++11";|' \
50 ${WRKSRC}/inc/Module/Build/Scintilla.pm
52 's|_scintilla-|_scintilla| ; \
53 s|$$major.*$$release \.|| ; \
54 /$$major.*$$release;/s|^|#| ; \
55 s|-lgtk-x11-2.0.*-lpangoft2-1.0|-lm| ; \
58 s|{ccflags}|{ccflags} . " -std=c++11"| ; \
59 s|\\$$ORIGIN|${SITE_ARCH}/auto/Wx/Scintilla|' \
60 ${WRKSRC}/inc/Module/Build/Scintilla/GTK.pm
62 [FILE:44:descriptions/desc.single]
63 Scintilla source code editing for wxWidgets
67 d6d67528a55552bb3fda2a1f22058c6c94a05eaf632dba5331afb3390defe0ea 848565 Wx-Scintilla-0.39.tar.gz
70 [FILE:1085:patches/patch-fix-stc-with-gcc6]
71 From 73e9e18ea09ffffcaac50237def0d9728a213c02 Mon Sep 17 00:00:00 2001
\r
72 From: Scott Talbert <swt@techie.net>
\r
73 Date: Sat, 20 Feb 2016 00:08:14 -0500
\r
74 Subject: [PATCH] Fix STC compilation with GCC6
\r
76 Use std::abs() from <cmath> instead of abs() from <math.h> to avoid problems
\r
77 with ambiguous overloads.
\r
81 Closes https://github.com/wxWidgets/wxWidgets/pull/222
\r
83 Bug-Debian: https://bugs.debian.org/816571
\r
84 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=112742
\r
87 src/stc/scintilla/src/Editor.cxx | 5 +++--
\r
88 1 file changed, 3 insertions(+), 2 deletions(-)
\r
90 --- wx-scintilla/src/scintilla/src/Editor.cxx
91 +++ wx-scintilla/src/scintilla/src/Editor.cxx
100 @@ -5868,9 +5869,9 @@
103 static bool Close(Point pt1, Point pt2) {
\r
104 - if (abs(pt1.x - pt2.x) > 3)
\r
105 + if (std::abs(pt1.x - pt2.x) > 3)
\r
107 - if (abs(pt1.y - pt2.y) > 3)
\r
108 + if (std::abs(pt1.y - pt2.y) > 3)
\r