summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-11 18:20:37 +0000
committerrillig <rillig@pkgsrc.org>2006-10-11 18:20:37 +0000
commit18fcd1d2fed90b7243dab632ce9f6ecb013e0798 (patch)
treee7bd23f1b49953c01cf78fdd69f38e9086d643e7 /lang
parentb016d997c5e736b426bbb0b5198cd963f717388c (diff)
downloadpkgsrc-18fcd1d2fed90b7243dab632ce9f6ecb013e0798.tar.gz
Fixed "test ==" and improved the randomness of $RANDOM.
Diffstat (limited to 'lang')
-rw-r--r--lang/python24/distinfo3
-rw-r--r--lang/python24/patches/patch-aq22
2 files changed, 24 insertions, 1 deletions
diff --git a/lang/python24/distinfo b/lang/python24/distinfo
index 9f32a8426c9..63db794ff9d 100644
--- a/lang/python24/distinfo
+++ b/lang/python24/distinfo
@@ -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-am) = a8be9e5d3558c27e38d4323601335ad3bcde1f85
SHA1 (patch-an) = 0ae5b3d547c7dbe1366c5ae6c60c11516e4550b8
SHA1 (patch-ao) = 0e8564ec8157fb5c48c801294213c66ae89a55a1
SHA1 (patch-ap) = 477adb465ef7ba2d0458cbaec74cd2841dcdea14
+SHA1 (patch-aq) = 10f1964892763e0d1b2345bd053d7929dd4b317e
diff --git a/lang/python24/patches/patch-aq b/lang/python24/patches/patch-aq
new file mode 100644
index 00000000000..a309814d7fb
--- /dev/null
+++ b/lang/python24/patches/patch-aq
@@ -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
+