pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python24 Fixed "test ==" and improved the randomn...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e6fccaf07cb
branches:  trunk
changeset: 519859:0e6fccaf07cb
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Oct 11 18:20:37 2006 +0000

description:
Fixed "test ==" and improved the randomness of $RANDOM.

diffstat:

 lang/python24/distinfo         |   3 ++-
 lang/python24/patches/patch-aq |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r a9c63f5a7363 -r 0e6fccaf07cb lang/python24/distinfo
--- a/lang/python24/distinfo    Wed Oct 11 16:45:49 2006 +0000
+++ b/lang/python24/distinfo    Wed Oct 11 18:20:37 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2006/09/20 12:07:19 rillig Exp $
+$NetBSD: distinfo,v 1.21 2006/10/11 18:20:37 rillig Exp $
 
 SHA1 (Python-2.4.3.tar.bz2) = d6b81e1aec0045b5acff99676f2abe303da1b384
 RMD160 (Python-2.4.3.tar.bz2) = c86247554975e6c44f91d05e44e68e280d5244dc
@@ -19,3 +19,4 @@
 SHA1 (patch-an) = 0ae5b3d547c7dbe1366c5ae6c60c11516e4550b8
 SHA1 (patch-ao) = 0e8564ec8157fb5c48c801294213c66ae89a55a1
 SHA1 (patch-ap) = 477adb465ef7ba2d0458cbaec74cd2841dcdea14
+SHA1 (patch-aq) = 10f1964892763e0d1b2345bd053d7929dd4b317e
diff -r a9c63f5a7363 -r 0e6fccaf07cb lang/python24/patches/patch-aq
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python24/patches/patch-aq    Wed Oct 11 18:20:37 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aq,v 1.1 2006/10/11 18:20:37 rillig Exp $
+
+--- Tools/faqwiz/move-faqwiz.sh.orig   2006-10-11 20:11:32.000000000 +0200
++++ Tools/faqwiz/move-faqwiz.sh        2006-10-11 20:12:11.000000000 +0200
+@@ -9,7 +9,7 @@
+ #   blackjesus:~> ./move-faqwiz.sh 2\.1 3\.2
+ #   Moving FAQ question 02.001 to 03.002
+ 
+-if [ x$2 == x ]; then
++if [ $# -ne 2 ]; then
+     echo "Need 2 args: original_version final_version."
+     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-$$-$RANDOM.tmp
+ file1=faq$prefix1.$suffix1.htp
+ file2=faq$prefix2.$suffix2.htp
+ 



Home | Main Index | Thread Index | Old Index