summaryrefslogtreecommitdiff
path: root/dev-perl/Wx/files/Wx-0.993.200-wx32-makemaker.patch
blob: ef827e6381c138a98e620388b50ad4164fb2d356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
Description: remove reference to adv lib
 The build fails with
   No such 'link' library: 'adv' at /build/libwx-perl-0.9932/build/Wx/build/MakeMaker.pm line 212.
 And https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.2.0/docs/changes.txt says for 3.1.2
   - wxAdvanced library was merged into wxCore, simply remove all references
    to "adv" from your build system, it is not needed any longer.
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2022-09-15

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -86,7 +86,7 @@
     PMLIBDIRS         => [ 'lib', 'build' ],
     EXE_FILES         => [ qw(script/wxperl_overload) ],
     WX_CORE_LIB_MAYBE => $^O eq 'darwin' ? 'media html' : '',
-    WX_CORE_LIB       => 'adv core base',
+    WX_CORE_LIB       => 'core base',
     WX_OVERLOAD       => { header  => 'cpp/ovl_const.h',
                            source  => 'cpp/ovl_const.cpp',
                          },
--- a/build/Wx/build/MakeMaker.pm
+++ b/build/Wx/build/MakeMaker.pm
@@ -48,7 +48,7 @@
   WX_CORE_LIB => 'xrc core base'
 
 link libraries from wxWidgets' core or contrib directory.
-If not spedified, defaults to 'adv html core net base' for compatibility.
+If not spedified, defaults to 'html core net base' for compatibility.
 
 =item * WX_LIB
 
@@ -362,7 +362,7 @@
 
   $args{CCFLAGS} .= $options{extra_cflags} ? ' ' . $options{extra_cflags} : '';
   $args{LIBS} .=  $options{extra_libs} ? ' ' . $options{extra_libs} : '';
-  $args{WX_CORE_LIB} ||= 'adv html core net base';
+  $args{WX_CORE_LIB} ||= 'html core net base';
 
   foreach ( keys %args ) {
     my $v = $args{$_};
--- a/ext/aui/Makefile.PL
+++ b/ext/aui/Makefile.PL
@@ -19,5 +19,5 @@
 wxWriteMakefile( NAME         => 'Wx::AUI',
                  VERSION_FROM => 'lib/Wx/AUI.pm',
                  REQUIRE_WX   => 2.007002,
-                 WX_CORE_LIB  => 'aui adv core base',
+                 WX_CORE_LIB  => 'aui core base',
                  );
--- a/ext/calendar/Makefile.PL
+++ b/ext/calendar/Makefile.PL
@@ -18,7 +18,7 @@
 
 wxWriteMakefile( NAME         => 'Wx::Calendar',
                  VERSION_FROM => 'Calendar.pm',
-                 WX_CORE_LIB  => 'adv core base',
+                 WX_CORE_LIB  => 'core base',
                  );
 
 # local variables:
--- a/ext/dataview/Makefile.PL
+++ b/ext/dataview/Makefile.PL
@@ -19,5 +19,5 @@
 wxWriteMakefile( NAME         => 'Wx::DataView',
                  VERSION_FROM => 'DataView.pm',
                  REQUIRE_WX   => 2.009000,
-                 WX_CORE_LIB  => 'adv core base',
+                 WX_CORE_LIB  => 'core base',
                  );
--- a/ext/grid/Makefile.PL
+++ b/ext/grid/Makefile.PL
@@ -16,7 +16,7 @@
 
 wxWriteMakefile( NAME         => 'Wx::Grid',
                  VERSION_FROM => 'lib/Wx/Grid.pm',
-                 WX_CORE_LIB  => 'adv core base',
+                 WX_CORE_LIB  => 'core base',
                  );
 
 # local variables:
--- a/ext/propgrid/Makefile.PL
+++ b/ext/propgrid/Makefile.PL
@@ -19,7 +19,7 @@
 wxWriteMakefile( NAME         => 'Wx::PropertyGrid',
                  VERSION_FROM => 'lib/Wx/PropertyGrid.pm',
                  REQUIRE_WX   => 2.009003,
-                 WX_CORE_LIB  => 'propgrid adv core base',
+                 WX_CORE_LIB  => 'propgrid core base',
                  REQUIRE_WX_LIB  => 'propgrid',
                  NO_WX_PLATFORMS => [ ],
                );
\ No newline at end of file
--- a/ext/ribbon/Makefile.PL
+++ b/ext/ribbon/Makefile.PL
@@ -19,7 +19,7 @@
 wxWriteMakefile( NAME         => 'Wx::Ribbon',
                  VERSION_FROM => 'lib/Wx/Ribbon.pm',
                  REQUIRE_WX   => 2.009003,
-                 WX_CORE_LIB  => 'ribbon adv core base',
+                 WX_CORE_LIB  => 'ribbon core base',
                  REQUIRE_WX_LIB  => 'ribbon',
                  NO_WX_PLATFORMS => [ ],
                  );
--- a/ext/richtext/Makefile.PL
+++ b/ext/richtext/Makefile.PL
@@ -19,5 +19,5 @@
 wxWriteMakefile( NAME         => 'Wx::RichText',
                  VERSION_FROM => 'lib/Wx/RichText.pm',
                  REQUIRE_WX   => 2.007000,
-                 WX_CORE_LIB  => 'richtext html xml adv core base',
+                 WX_CORE_LIB  => 'richtext html xml core base',
                  );
--- a/ext/xrc/Makefile.PL
+++ b/ext/xrc/Makefile.PL
@@ -16,7 +16,7 @@
 
 wxWriteMakefile( NAME            => 'Wx::XRC',
                  VERSION_FROM    => 'lib/Wx/XRC.pm',
-                 WX_CORE_LIB     => 'xrc xml html adv core base',
+                 WX_CORE_LIB     => 'xrc xml html core base',
                  );
 
 # local variables: