rpms/perl-PAR-Packer/devel perl-PAR-Packer-cflags.patch, NONE, 1.1 perl-PAR-Packer-open.patch, NONE, 1.1
Štěpán Kasal
kasal at fedoraproject.org
Mon Sep 21 17:33:54 UTC 2009
- Previous message (by thread): rpms/evolution/devel evolution.spec,1.394.2.56,1.394.2.57
- Next message (by thread): rpms/elfutils/devel elfutils-0.143.tar.bz2.sig, NONE, 1.1 .cvsignore, 1.49, 1.50 Makefile, 1.31, 1.32 elfutils-portability.patch, 1.45, 1.46 elfutils-robustify.patch, 1.18, 1.19 elfutils.spec, 1.118, 1.119 sources, 1.53, 1.54 elfutils-0.142.tar.bz2.sig, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kasal
Update of /cvs/extras/rpms/perl-PAR-Packer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3821
Added Files:
perl-PAR-Packer-cflags.patch perl-PAR-Packer-open.patch
Log Message:
- patch to use $RPM_OPT_FLAGS
- patch to submit the third parameter to open()
perl-PAR-Packer-cflags.patch:
Makefile.PL | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- NEW FILE perl-PAR-Packer-cflags.patch ---
--- PAR-Packer-0.991/myldr/Makefile.PL.cflags 2009-03-21 11:58:51.000000000 +0100
+++ PAR-Packer-0.991/myldr/Makefile.PL 2009-09-21 17:14:11.000000000 +0200
@@ -123,6 +123,7 @@
my $cflags = "$ccdebug$warn$pccflags";
+my $optimize = $Config{optimize};
my $ldflags = "$lddebug$pldflags";
my $static_ldflags = $ldflags;
@@ -206,6 +207,7 @@
LD=$ld
CC=$cc
CFLAGS=$cflags
+OPTIMIZE=$optimize
LDFLAGS=$Config{ldflags}
PERL_LDFLAGS=$ldflags
STATIC_LDFLAGS=$static_ldflags
@@ -214,7 +216,7 @@
OBJECTS=main$o my_par_pl$o $res
.c$o:
- \$(CC) -c \$(CFLAGS) \$<
+ \$(CC) -c \$(CFLAGS) \$(OPTIMIZE) \$<
all: $all
perl-PAR-Packer-open.patch:
static.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE perl-PAR-Packer-open.patch ---
--- PAR-Packer-0.991/myldr/static.c.orig 2009-09-21 17:29:38.000000000 +0200
+++ PAR-Packer-0.991/myldr/static.c 2009-09-21 17:28:42.000000000 +0200
@@ -31,7 +31,7 @@
if ( (unsigned long)PL_statbuf.st_size == size ) return -2;
}
- i = open(my_file, O_CREAT | O_WRONLY | OPEN_O_BINARY);
+ i = open(my_file, O_CREAT | O_WRONLY | OPEN_O_BINARY, 0777);
if (i == -1) {
fprintf(stderr, "%s: creation of %s failed - aborting with %i.\n", argv0, my_file, errno);
- Previous message (by thread): rpms/evolution/devel evolution.spec,1.394.2.56,1.394.2.57
- Next message (by thread): rpms/elfutils/devel elfutils-0.143.tar.bz2.sig, NONE, 1.1 .cvsignore, 1.49, 1.50 Makefile, 1.31, 1.32 elfutils-portability.patch, 1.45, 1.46 elfutils-robustify.patch, 1.18, 1.19 elfutils.spec, 1.118, 1.119 sources, 1.53, 1.54 elfutils-0.142.tar.bz2.sig, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list