]> git.pld-linux.org Git - packages/perl-Tk.git/blob - perl-Tk-link.patch
- fix linking with X11
[packages/perl-Tk.git] / perl-Tk-link.patch
1 --- Tk-804.031/Canvas/Makefile.PL~      2010-05-29 11:55:02.000000000 +0200
2 +++ Tk-804.031/Canvas/Makefile.PL       2013-06-13 15:24:32.771215659 +0200
3 @@ -2,7 +2,7 @@
4  
5  use Tk::MMutil;
6  Tk::MMutil::TkExtMakefile(
7 -      ($^O eq 'MSWin32' ? () : ('LIBS'        => ["-lm"])),
8 +      ($^O eq 'MSWin32' ? () : ('LIBS'        => ["-lm -lX11"])),
9        'dynamic_ptk' => 1
10        );
11  
12 --- Tk-804.031/Compound/Makefile.PL~    2010-05-29 11:55:24.000000000 +0200
13 +++ Tk-804.031/Compound/Makefile.PL     2013-06-13 15:36:38.135574426 +0200
14 @@ -1,3 +1,5 @@
15  use Tk::MMutil;
16 -Tk::MMutil::TkExtMakefile('dynamic_ptk' => 1);
17 +Tk::MMutil::TkExtMakefile(
18 +       'dynamic_ptk' => 1,
19 +       'LIBS'        => ["-lX11"]);
20  
21 --- Tk-804.031/Entry/Makefile.PL~       2010-05-29 11:54:52.000000000 +0200
22 +++ Tk-804.031/Entry/Makefile.PL        2013-06-13 15:37:01.075817251 +0200
23 @@ -1,7 +1,8 @@
24  
25  use Tk::MMutil;
26  Tk::MMutil::TkExtMakefile(
27 -      'dynamic_ptk' => 1
28 +      'dynamic_ptk' => 1,
29 +       'LIBS'        => ["-lX11"]
30        );
31  
32  
33 --- Tk-804.031/HList/Makefile.PL~       2010-05-29 11:54:52.000000000 +0200
34 +++ Tk-804.031/HList/Makefile.PL        2013-06-13 15:37:17.855994870 +0200
35 @@ -1,7 +1,8 @@
36  
37  use Tk::MMutil;
38  Tk::MMutil::TkExtMakefile(
39 -      'dynamic_ptk' => 1
40 +      'dynamic_ptk' => 1,
41 +       'LIBS'        => ["-lX11"]
42        );
43  
44  
45 --- Tk-804.031/InputO/Makefile.PL~      2010-05-29 11:54:52.000000000 +0200
46 +++ Tk-804.031/InputO/Makefile.PL       2013-06-13 15:37:34.782840708 +0200
47 @@ -2,7 +2,8 @@
48  
49  use Tk::MMutil;
50  Tk::MMutil::TkExtMakefile(
51 -      'dynamic_ptk' => 1
52 +      'dynamic_ptk' => 1,
53 +       'LIBS'        => ["-lX11"]
54        );
55  
56  
57 --- Tk-804.031/Listbox/Makefile.PL~     2010-05-29 11:54:52.000000000 +0200
58 +++ Tk-804.031/Listbox/Makefile.PL      2013-06-13 15:37:48.489652460 +0200
59 @@ -1,7 +1,8 @@
60  
61  use Tk::MMutil;
62  Tk::MMutil::TkExtMakefile(
63 -      'dynamic_ptk' => 1
64 +      'dynamic_ptk' => 1,
65 +       'LIBS'        => ["-lX11"]
66        );
67  
68  
69 --- Tk-804.031/Menubutton/Makefile.PL~  2010-05-29 11:54:52.000000000 +0200
70 +++ Tk-804.031/Menubutton/Makefile.PL   2013-06-13 15:38:01.246454155 +0200
71 @@ -1,7 +1,8 @@
72  
73  use Tk::MMutil;
74  Tk::MMutil::TkExtMakefile(
75 -      'dynamic_ptk' => 1
76 +      'dynamic_ptk' => 1,
77 +       'LIBS'        => ["-lX11"]
78        );
79  
80  
81 --- Tk-804.031/Mwm/Makefile.PL~ 2010-05-29 11:54:52.000000000 +0200
82 +++ Tk-804.031/Mwm/Makefile.PL  2013-06-13 15:38:16.663284007 +0200
83 @@ -1,7 +1,8 @@
84  
85  use Tk::MMutil;
86  Tk::MMutil::TkExtMakefile(
87 -      'dynamic_ptk' => 1
88 +      'dynamic_ptk' => 1,
89 +       'LIBS'        => ["-lX11"]
90        );
91  
92  
93 --- Tk-804.031/NBFrame/Makefile.PL~     2010-05-29 11:54:52.000000000 +0200
94 +++ Tk-804.031/NBFrame/Makefile.PL      2013-06-13 15:38:30.380095863 +0200
95 @@ -1,7 +1,8 @@
96  
97  use Tk::MMutil;
98  Tk::MMutil::TkExtMakefile(
99 -      'dynamic_ptk' => 1
100 +      'dynamic_ptk' => 1,
101 +       'LIBS'        => ["-lX11"]
102        );
103  
104  
105 --- Tk-804.031/Scale/Makefile.PL~       2010-05-29 11:55:02.000000000 +0200
106 +++ Tk-804.031/Scale/Makefile.PL        2013-06-13 15:38:50.166971968 +0200
107 @@ -1,7 +1,7 @@
108  
109  use Tk::MMutil;
110  Tk::MMutil::TkExtMakefile(
111 -      ($^O eq 'MSWin32' ? () : ('LIBS'        => ["-lm"])),
112 +      ($^O eq 'MSWin32' ? () : ('LIBS'        => ["-lm -lX11"])),
113        'dynamic_ptk' => 1
114        );
115  
116 --- Tk-804.031/Scrollbar/Makefile.PL~   2010-05-29 11:54:52.000000000 +0200
117 +++ Tk-804.031/Scrollbar/Makefile.PL    2013-06-13 15:39:13.013880462 +0200
118 @@ -1,5 +1,7 @@
119  
120  use Tk::MMutil;
121 -Tk::MMutil::TkExtMakefile('dynamic_ptk' => 1);
122 +Tk::MMutil::TkExtMakefile('dynamic_ptk' => 1,
123 +       'LIBS'        => ["-lX11"]
124 +);
125  
126  
127 --- Tk-804.031/TList/Makefile.PL~       2010-05-29 11:55:02.000000000 +0200
128 +++ Tk-804.031/TList/Makefile.PL        2013-06-13 15:39:25.744015206 +0200
129 @@ -1,7 +1,8 @@
130  
131  use Tk::MMutil;
132  Tk::MMutil::TkExtMakefile(
133 -      'dynamic_ptk' => 1
134 +      'dynamic_ptk' => 1,
135 +       'LIBS'        => ["-lX11"]
136        );
137  
138  
139 --- Tk-804.031/Text/Makefile.PL~        2010-05-29 11:54:52.000000000 +0200
140 +++ Tk-804.031/Text/Makefile.PL 2013-06-13 15:39:39.227491255 +0200
141 @@ -1,7 +1,8 @@
142  
143  use Tk::MMutil;
144  Tk::MMutil::TkExtMakefile(
145 -      'dynamic_ptk' => 1
146 +      'dynamic_ptk' => 1,
147 +       'LIBS'        => ["-lX11"]
148        );
149  
150  
151 --- Tk-804.031/TixGrid/Makefile.PL~     2010-05-29 11:55:02.000000000 +0200
152 +++ Tk-804.031/TixGrid/Makefile.PL      2013-06-13 15:39:52.847635419 +0200
153 @@ -1,7 +1,8 @@
154  
155  use Tk::MMutil;
156  Tk::MMutil::TkExtMakefile(
157 -      'dynamic_ptk' => 1
158 +      'dynamic_ptk' => 1,
159 +       'LIBS'        => ["-lX11"]
160        );
161  
162  
163 --- Tk-804.031/WinPhoto/Makefile.PL~    2010-05-29 11:55:18.000000000 +0200
164 +++ Tk-804.031/WinPhoto/Makefile.PL     2013-06-13 15:40:15.051203765 +0200
165 @@ -1,5 +1,7 @@
166  use Tk::MMutil;
167 -Tk::MMutil::TkExtMakefile( 'dynamic_ptk' => 1 );
168 +Tk::MMutil::TkExtMakefile( 'dynamic_ptk' => 1,
169 +       'LIBS'        => ["-lX11"]
170 +);
171  
172  
173  
174 --- Tk-804.031/Xlib/Makefile.PL~        2010-05-29 11:54:52.000000000 +0200
175 +++ Tk-804.031/Xlib/Makefile.PL 2013-06-13 15:40:27.581336389 +0200
176 @@ -1,7 +1,8 @@
177  
178  use Tk::MMutil;
179  Tk::MMutil::TkExtMakefile(
180 -      'dynamic_ptk' => 0
181 +      'dynamic_ptk' => 0,
182 +       'LIBS'        => ["-lX11"]
183        );
184  
185  
This page took 0.064737 seconds and 3 git commands to generate.