Dash:
[t2.git] / package / perl / gtk-perl10 / gtk-perl-build.patch
blob72fe8e5ef87c5b67d714271e300071343bd2fd87
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gtk-perl10/gtk-perl-build.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 diff -ur Gtk-Perl-0.7008/Applet/Makefile.PL Applet/Makefile.PL
19 --- Gtk-Perl-0.7008/Applet/Makefile.PL Sat Mar 24 10:44:08 2001
20 +++ Gtk-Perl-0.7008/Applet/Makefile.PL Mon Jul 22 10:20:27 2002
21 @@ -102,7 +102,7 @@
22 sub MY::c_o {
23 package MY; # so that "SUPER" works right
24 my $inherited = shift->SUPER::c_o(@_);
25 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
26 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
27 $inherited;
30 diff -ur Gtk-Perl-0.7008/Bonobo/Makefile.PL Bonobo/Makefile.PL
31 --- Gtk-Perl-0.7008/Bonobo/Makefile.PL Wed May 30 08:39:05 2001
32 +++ Gtk-Perl-0.7008/Bonobo/Makefile.PL Mon Jul 22 10:20:17 2002
33 @@ -96,7 +96,7 @@
34 sub MY::c_o {
35 package MY; # so that "SUPER" works right
36 my $inherited = shift->SUPER::c_o(@_);
37 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
38 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
39 $inherited;
42 diff -ur Gtk-Perl-0.7008/GdkImlib/Makefile.PL GdkImlib/Makefile.PL
43 --- Gtk-Perl-0.7008/GdkImlib/Makefile.PL Fri Mar 23 08:57:07 2001
44 +++ Gtk-Perl-0.7008/GdkImlib/Makefile.PL Mon Jul 22 10:20:40 2002
45 @@ -43,6 +43,6 @@
46 sub MY::c_o {
47 package MY; # so that "SUPER" works right
48 my $inherited = shift->SUPER::c_o(@_);
49 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
50 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
51 $inherited;
53 diff -ur Gtk-Perl-0.7008/GdkPixbuf/Makefile.PL GdkPixbuf/Makefile.PL
54 --- Gtk-Perl-0.7008/GdkPixbuf/Makefile.PL Fri Mar 23 08:57:07 2001
55 +++ Gtk-Perl-0.7008/GdkPixbuf/Makefile.PL Mon Jul 22 10:20:49 2002
56 @@ -89,6 +89,6 @@
57 sub MY::c_o {
58 package MY; # so that "SUPER" works right
59 my $inherited = shift->SUPER::c_o(@_);
60 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
61 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
62 $inherited;
64 diff -ur Gtk-Perl-0.7008/Glade/Makefile.PL Glade/Makefile.PL
65 --- Gtk-Perl-0.7008/Glade/Makefile.PL Fri Mar 23 08:57:07 2001
66 +++ Gtk-Perl-0.7008/Glade/Makefile.PL Mon Jul 22 10:20:31 2002
67 @@ -108,7 +108,7 @@
68 sub MY::c_o {
69 package MY; # so that "SUPER" works right
70 my $inherited = shift->SUPER::c_o(@_);
71 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
72 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
73 $inherited;
76 diff -ur Gtk-Perl-0.7008/Gnome/Makefile.PL Gnome/Makefile.PL
77 --- Gtk-Perl-0.7008/Gnome/Makefile.PL Fri Mar 23 08:57:08 2001
78 +++ Gtk-Perl-0.7008/Gnome/Makefile.PL Mon Jul 22 10:20:04 2002
79 @@ -125,7 +125,7 @@
80 sub MY::c_o {
81 package MY; # so that "SUPER" works right
82 my $inherited = shift->SUPER::c_o(@_);
83 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
84 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
85 $inherited;
88 diff -ur Gtk-Perl-0.7008/GnomePrint/Makefile.PL GnomePrint/Makefile.PL
89 --- Gtk-Perl-0.7008/GnomePrint/Makefile.PL Fri Mar 23 08:57:08 2001
90 +++ Gtk-Perl-0.7008/GnomePrint/Makefile.PL Mon Jul 22 10:20:45 2002
91 @@ -112,7 +112,7 @@
92 sub MY::c_o {
93 package MY; # so that "SUPER" works right
94 my $inherited = shift->SUPER::c_o(@_);
95 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
96 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
97 $inherited;
100 diff -ur Gtk-Perl-0.7008/Gtk/Makefile.PL Gtk/Makefile.PL
101 --- Gtk-Perl-0.7008/Gtk/Makefile.PL Sat May 26 11:08:38 2001
102 +++ Gtk-Perl-0.7008/Gtk/Makefile.PL Mon Jul 22 10:12:47 2002
103 @@ -190,7 +190,7 @@
104 sub MY::c_o {
105 package MY; # so that "SUPER" works right
106 my $inherited = shift->SUPER::c_o(@_);
107 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
108 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
109 $inherited;
112 diff -ur Gtk-Perl-0.7008/GtkGLArea/Makefile.PL GtkGLArea/Makefile.PL
113 --- Gtk-Perl-0.7008/GtkGLArea/Makefile.PL Fri Mar 23 08:57:08 2001
114 +++ Gtk-Perl-0.7008/GtkGLArea/Makefile.PL Mon Jul 22 10:20:01 2002
115 @@ -104,7 +104,7 @@
116 sub MY::c_o {
117 package MY; # so that "SUPER" works right
118 my $inherited = shift->SUPER::c_o(@_);
119 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
120 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
121 $inherited;
124 diff -ur Gtk-Perl-0.7008/GtkHTML/Makefile.PL GtkHTML/Makefile.PL
125 --- Gtk-Perl-0.7008/GtkHTML/Makefile.PL Fri Mar 23 08:57:08 2001
126 +++ Gtk-Perl-0.7008/GtkHTML/Makefile.PL Mon Jul 22 10:20:52 2002
127 @@ -107,7 +107,7 @@
128 sub MY::c_o {
129 package MY; # so that "SUPER" works right
130 my $inherited = shift->SUPER::c_o(@_);
131 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
132 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
133 $inherited;
136 diff -ur Gtk-Perl-0.7008/GtkXmHTML/Makefile.PL GtkXmHTML/Makefile.PL
137 --- Gtk-Perl-0.7008/GtkXmHTML/Makefile.PL Fri Mar 23 08:57:08 2001
138 +++ Gtk-Perl-0.7008/GtkXmHTML/Makefile.PL Mon Jul 22 10:20:36 2002
139 @@ -95,7 +95,7 @@
140 sub MY::c_o {
141 package MY; # so that "SUPER" works right
142 my $inherited = shift->SUPER::c_o(@_);
143 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
144 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
145 $inherited;
148 diff -ur Gtk-Perl-0.7008/Mozilla/Makefile.PL Mozilla/Makefile.PL
149 --- Gtk-Perl-0.7008/Mozilla/Makefile.PL Fri Mar 23 08:57:08 2001
150 +++ Gtk-Perl-0.7008/Mozilla/Makefile.PL Mon Jul 22 10:20:20 2002
151 @@ -94,7 +94,7 @@
152 sub MY::c_o {
153 package MY; # so that "SUPER" works right
154 my $inherited = shift->SUPER::c_o(@_);
155 - $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/m;
156 + $inherited =~ s/CCCMD.*$/$&\n\t\@if test -f `basename \$*.o` -a "`basename \$*.o`" != "\$*.o"; then mv `basename \$*.o` \$*.o; fi/mg;
157 $inherited;