summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-10-08 20:55:12 +0000
committerrillig <rillig@pkgsrc.org>2006-10-08 20:55:12 +0000
commit3dea722fd9aab51200584d3508d372e872608af4 (patch)
treebe7ce9b691ed4e0f3c7624235261840b43d6b32e /devel
parent5c5cb301f3b68ff9f271c5f50999f04ddd86ede3 (diff)
downloadpkgsrc-3dea722fd9aab51200584d3508d372e872608af4.tar.gz
Added two patches that replace $RANDOM with $$, since $RANDOM is only
available in ksh and bash.
Diffstat (limited to 'devel')
-rw-r--r--devel/glib2/distinfo4
-rw-r--r--devel/glib2/patches/patch-ta15
-rw-r--r--devel/glib2/patches/patch-tb15
3 files changed, 33 insertions, 1 deletions
diff --git a/devel/glib2/distinfo b/devel/glib2/distinfo
index 6af89d13b6d..310e515c8cf 100644
--- a/devel/glib2/distinfo
+++ b/devel/glib2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.73 2006/10/08 14:51:57 joerg Exp $
+$NetBSD: distinfo,v 1.74 2006/10/08 20:55:12 rillig Exp $
SHA1 (glib-2.12.4.tar.bz2) = 35be8f8a7ce47bb0f53ffcd50605a6f9596ebd04
RMD160 (glib-2.12.4.tar.bz2) = 3aac5f23cedcef25f7fd7acb6d4ebfa744e38edc
@@ -12,3 +12,5 @@ SHA1 (patch-af) = 192998d1e2188c0210d7a471786495b758c437ae
SHA1 (patch-ag) = 456ec5678684e3a440991f037e74a2b0262b156b
SHA1 (patch-ah) = 8b65c137b07659351b97089c10db0dac61f04905
SHA1 (patch-aj) = f0c15174e83dae88cca50d040d0c09438ee9053b
+SHA1 (patch-ta) = 81bdb0ef7c62eff23de9d591e858e89f03eceb5b
+SHA1 (patch-tb) = fd559f4cb3e7a0c3b23a705875df539bce53be1e
diff --git a/devel/glib2/patches/patch-ta b/devel/glib2/patches/patch-ta
new file mode 100644
index 00000000000..91dbb3ec44b
--- /dev/null
+++ b/devel/glib2/patches/patch-ta
@@ -0,0 +1,15 @@
+$NetBSD: patch-ta,v 1.1 2006/10/08 20:55:12 rillig Exp $
+
+$RANDOM is specific to Bash.
+
+--- tests/Makefile.in.orig 2006-08-30 07:46:11.000000000 +0200
++++ tests/Makefile.in 2006-10-06 09:46:35.000000000 +0200
+@@ -348,7 +348,7 @@ TESTS = $(test_programs) $(test_scripts)
+ TESTS_ENVIRONMENT = srcdir=$(srcdir) \
+ LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \
+ MALLOC_CHECK_=2 \
+- MALLOC_PERTURB_=$$(($$RANDOM % 256))
++ MALLOC_PERTURB_=`expr $$$$ % 256`
+
+
+ progs_ldadd = $(EFENCE) $(libglib) $(EFENCE)
diff --git a/devel/glib2/patches/patch-tb b/devel/glib2/patches/patch-tb
new file mode 100644
index 00000000000..4ace7e83728
--- /dev/null
+++ b/devel/glib2/patches/patch-tb
@@ -0,0 +1,15 @@
+$NetBSD: patch-tb,v 1.1 2006/10/08 20:55:12 rillig Exp $
+
+$RANDOM is specific to Bash.
+
+--- tests/gobject/Makefile.in.orig 2006-08-30 07:46:11.000000000 +0200
++++ tests/gobject/Makefile.in 2006-10-06 09:47:18.000000000 +0200
+@@ -290,7 +290,7 @@ TESTS = $(test_programs)
+ TESTS_ENVIRONMENT = srcdir=$(srcdir) \
+ LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \
+ MALLOC_CHECK_=2 \
+- MALLOC_PERTURB_=$$(($$RANDOM % 256))
++ MALLOC_PERTURB_=`expr $$$$ % 256`
+
+
+