pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python23 Fixed "test ==" and $RANDOM.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a0fdfd4a41d
branches:  trunk
changeset: 519658:0a0fdfd4a41d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Oct 07 07:57:58 2006 +0000

description:
Fixed "test ==" and $RANDOM.

diffstat:

 lang/python23/distinfo         |   3 ++-
 lang/python23/patches/patch-ed |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 6e864f7973ae -r 0a0fdfd4a41d lang/python23/distinfo
--- a/lang/python23/distinfo    Sat Oct 07 07:57:04 2006 +0000
+++ b/lang/python23/distinfo    Sat Oct 07 07:57:58 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2006/04/13 02:26:54 joerg Exp $
+$NetBSD: distinfo,v 1.38 2006/10/07 07:57:58 rillig Exp $
 
 SHA1 (Python-2.3.5.tgz) = 2729d068f5d1abe7b743f32012d4f7c4b0508a3c
 RMD160 (Python-2.3.5.tgz) = 2104a393ca7c91b72b990ced53a0da752ccf42ef
@@ -23,3 +23,4 @@
 SHA1 (patch-ea) = babfed4a0e5ae599441423a06622d4820ab237b1
 SHA1 (patch-eb) = b72694d414b55d11e324cc76d6ed03b7c8e7630c
 SHA1 (patch-ec) = 9bec8cc75868ca785810b92ffe60406117bdc3fd
+SHA1 (patch-ed) = 4e032197f21b16c99331b6d744c4d1d72e650d4d
diff -r 6e864f7973ae -r 0a0fdfd4a41d lang/python23/patches/patch-ed
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python23/patches/patch-ed    Sat Oct 07 07:57:58 2006 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ed,v 1.1 2006/10/07 07:57:58 rillig Exp $
+
+--- Tools/faqwiz/move-faqwiz.sh.orig   2002-03-18 09:56:23.000000000 +0100
++++ Tools/faqwiz/move-faqwiz.sh        2006-10-07 09:29:25.000000000 +0200
+@@ -9,13 +9,13 @@
+ #   blackjesus:~> ./move-faqwiz.sh 2\.1 3\.2
+ #   Moving FAQ question 02.001 to 03.002
+ 
+-if [ x$2 == x ]; then
+-    echo "Need 2 args: original_version final_version."
++if [ $# -ne 2 ]; then
++    echo "Need 2 args: original_version final_version." 1>&2
+     exit 2
+ fi
+ 
+ if [ ! -d data -o ! -d data/RCS ]; then
+-    echo "Run this inside the faqwiz data/ directory's parent dir."
++    echo "Run this inside the faqwiz data/ directory's parent dir." 1>&2
+     exit 2
+ fi
+ 
+@@ -28,7 +28,7 @@ cut_n_pad $1 1 prefix1
+ cut_n_pad $1 2 suffix1
+ cut_n_pad $2 1 prefix2
+ cut_n_pad $2 2 suffix2
+-tmpfile=tmp$RANDOM.tmp
++tmpfile=tmp$$.tmp
+ file1=faq$prefix1.$suffix1.htp
+ file2=faq$prefix2.$suffix2.htp
+ 



Home | Main Index | Thread Index | Old Index