rpms/perl/devel perl-5.8.8-bz178343.patch,NONE,1.1.2.1
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Jan 31 01:31:59 UTC 2006
- Previous message (by thread): rpms/selinux-policy/devel .cvsignore, 1.32, 1.33 modules-mls.conf, 1.10, 1.11 modules-strict.conf, 1.1, 1.2 modules-targeted.conf, 1.13, 1.14 policy-20060104.patch, 1.27, 1.28 selinux-policy.spec, 1.96, 1.97 sources, 1.36, 1.37
- Next message (by thread): rpms/gnome-terminal/devel gnome-terminal-2.13.90-invisible-char.patch, NONE, 1.1 .cvsignore, 1.19, 1.20 gnome-terminal.spec, 1.29, 1.30 sources, 1.19, 1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jvdias
Update of /cvs/dist/rpms/perl/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv29205
Added Files:
Tag: perl-5_8_8-0_RC1
perl-5.8.8-bz178343.patch
Log Message:
fix bug 178343
perl-5.8.8-bz178343.patch:
Configure | 11 +++++++++++
utils/h2ph.PL | 17 ++++++++++++-----
2 files changed, 23 insertions(+), 5 deletions(-)
--- NEW FILE perl-5.8.8-bz178343.patch ---
--- perl-5.8.8-RC1/Configure.bz178343 2006-01-30 19:42:47.000000000 -0500
+++ perl-5.8.8-RC1/Configure 2006-01-30 20:04:53.000000000 -0500
@@ -20279,6 +20279,17 @@
chmod +x Cppsym.try
$eunicefix Cppsym.try
./Cppsym < Cppsym.know > Cppsym.true
+: Add in any cpp "predefined macros" :
+tHdrH=`mktemp ./XXXXXX`
+rm -f $tHdrH'.h' $tHdrH
+touch $tHdrH'.h'
+if cpp -dM $tHdrH'.h' > $tHdrH'_cppsym.h' && [ -s $tHdrH'_cppsym.h' ] ; then
+ sed 's/#define[\ \ ]*//;s/[\ \ ].*$//' < $tHdrH'_cppsym.h' > $tHdrH'_cppsym.real';
+ if [ -s $tHdrH'_cppsym.real' ]; then
+ cat $tHdrH'_cppsym.real' Cppsym.know | sort | uniq | ./Cppsym | sort | uniq > Cppsym.true
+ fi
+fi
+rm -f $tHdrH'.h' $tHdrH'_cppsym.h' $tHdrH'_cppsym.real'
: now check the C compiler for additional symbols
postprocess_cc_v=''
case "$osname" in
--- perl-5.8.8-RC1/utils/h2ph.PL.bz178343 2006-01-13 12:56:47.000000000 -0500
+++ perl-5.8.8-RC1/utils/h2ph.PL 2006-01-30 20:01:15.000000000 -0500
@@ -778,8 +778,16 @@
if ($opt_D) {
print PREAMBLE "# $_=$define{$_}\n";
}
-
- if ($define{$_} =~ /^(\d+)U?L{0,2}$/i) {
+ if ($define{$_} =~ /^\((.*)\)$/) {
+ # parenthesized value: d=(v)
+ $define{$_} = $1;
+ };
+ if ($define{$_} =~ /^([+-]?(\d+)?\.\d+([eE][+-]?\d+)?)[FL]?$/ ) {
+ # float:
+ print PREAMBLE
+ "unless (defined &$_) { sub $_() { $1 } }\n\n";
+ } elsif ($define{$_} =~ /^([+-]?\d+)U?L{0,2}$/i) {
+ # integer:
print PREAMBLE
"unless (defined &$_) { sub $_() { $1 } }\n\n";
} elsif ($define{$_} =~ /^\w+$/) {
@@ -805,9 +813,8 @@
@Config{'ccsymbols', 'cppsymbols', 'cppccsymbols'};
# Split compiler pre-definitions into `key=value' pairs:
- foreach (split /\s+/, $allsymbols) {
- /(.+?)=(.+)/ and $define{$1} = $2;
-
+ while( $allsymbols=~/([^\s]+)=((\\\s|[^\s])+)/g ) {
+ $define{$1} = $2;
if ($opt_D) {
print STDERR "$_: $1 -> $2\n";
}
- Previous message (by thread): rpms/selinux-policy/devel .cvsignore, 1.32, 1.33 modules-mls.conf, 1.10, 1.11 modules-strict.conf, 1.1, 1.2 modules-targeted.conf, 1.13, 1.14 policy-20060104.patch, 1.27, 1.28 selinux-policy.spec, 1.96, 1.97 sources, 1.36, 1.37
- Next message (by thread): rpms/gnome-terminal/devel gnome-terminal-2.13.90-invisible-char.patch, NONE, 1.1 .cvsignore, 1.19, 1.20 gnome-terminal.spec, 1.29, 1.30 sources, 1.19, 1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list