From 1e35265e45fc0f2a3bf5250c719b229d80ee7549 Mon Sep 17 00:00:00 2001 From: Matteo Croce Date: Sat, 5 Jul 2008 19:29:54 +0000 Subject: [PATCH] perl: refresh patch and fix generate_uudmap permissions SVN-Revision: 11669 --- lang/perl/patches/100-static_uudmap.patch | 24 +++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/lang/perl/patches/100-static_uudmap.patch b/lang/perl/patches/100-static_uudmap.patch index 49f922d4a..cc9990090 100644 --- a/lang/perl/patches/100-static_uudmap.patch +++ b/lang/perl/patches/100-static_uudmap.patch @@ -1,6 +1,5 @@ -diff -urN perl-5.10.0.orig/generate_uudmap perl-5.10.0/generate_uudmap ---- perl-5.10.0.orig/generate_uudmap 1970-01-01 01:00:00.000000000 +0100 -+++ perl-5.10.0/generate_uudmap 2008-07-05 20:23:22.122800470 +0200 +--- a/generate_uudmap 1970-01-01 01:00:00.000000000 +0100 ++++ b/generate_uudmap 2008-07-05 20:23:22.122800470 +0200 @@ -0,0 +1,7 @@ +#!/bin/bash +echo \{ @@ -9,9 +8,8 @@ diff -urN perl-5.10.0.orig/generate_uudmap perl-5.10.0/generate_uudmap +for i in {0..63}; do echo -n " $i,"; done +echo +echo \} -diff -urN perl-5.10.0.orig/Makefile.micro perl-5.10.0/Makefile.micro ---- perl-5.10.0.orig/Makefile.micro 2007-12-18 11:47:07.000000000 +0100 -+++ perl-5.10.0/Makefile.micro 2008-07-05 20:38:56.428673229 +0200 +--- a/Makefile.micro 2007-12-18 11:47:07.000000000 +0100 ++++ b/Makefile.micro 2008-07-05 20:38:56.428673229 +0200 @@ -173,13 +173,8 @@ uxsutils$(_O): $(HE) xsutils.c $(CC) $(CCFLAGS) -o $@ $(CFLAGS) xsutils.c @@ -29,23 +27,23 @@ diff -urN perl-5.10.0.orig/Makefile.micro perl-5.10.0/Makefile.micro + $(RUN) ./generate_uudmap >uudmap.h # That's it, folks! -diff -urN perl-5.10.0.orig/Makefile.SH perl-5.10.0/Makefile.SH ---- perl-5.10.0.orig/Makefile.SH 2007-12-18 11:47:07.000000000 +0100 -+++ perl-5.10.0/Makefile.SH 2008-07-05 20:32:48.699799105 +0200 +--- a/Makefile.SH 2007-12-18 11:47:07.000000000 +0100 ++++ b/Makefile.SH 2008-07-05 21:26:49.383799357 +0200 @@ -478,11 +478,13 @@ globals\$(OBJ_EXT): uudmap.h -uudmap.h: generate_uudmap\$(EXE_EXT) - \$(RUN) ./generate_uudmap\$(EXE_EXT) >uudmap.h -+uudmap.h: generate_uudmap -+ \$(RUN) ./generate_uudmap >uudmap.h - +- -generate_uudmap\$(EXE_EXT): generate_uudmap\$(OBJ_EXT) - \$(CC) -o generate_uudmap \$(LDFLAGS) generate_uudmap\$(OBJ_EXT) \$(libs) ++uudmap.h: generate_uudmap ++ chmod a+x generate_uudmap ++ \$(RUN) ./generate_uudmap >uudmap.h ++ +generate_uudmap: + cp ../generate_uudmap . -+ chmod a+x generate_uudmap + touch generate_uudmap !GROK!THIS! -- 2.30.2