summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorrillig <rillig>2006-10-02 23:52:51 +0000
committerrillig <rillig>2006-10-02 23:52:51 +0000
commitf555b8d00b5faf4adc6832ba7a6b3b3bc219606a (patch)
treeb48bcb74267b1abeeb2a41a0fbb40bd444c23cb1 /wm
parent4f0949625f8c2cd26ca814c6c2715fe6f639dc0c (diff)
downloadpkgsrc-f555b8d00b5faf4adc6832ba7a6b3b3bc219606a.tar.gz
Fixed the usage of test(1) together with "==".
Diffstat (limited to 'wm')
-rw-r--r--wm/afterstep/distinfo3
-rw-r--r--wm/afterstep/patches/patch-ab24
2 files changed, 26 insertions, 1 deletions
diff --git a/wm/afterstep/distinfo b/wm/afterstep/distinfo
index f81001949a8..2e3dcc395fd 100644
--- a/wm/afterstep/distinfo
+++ b/wm/afterstep/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2005/12/06 13:14:06 joerg Exp $
+$NetBSD: distinfo,v 1.11 2006/10/02 23:52:51 rillig Exp $
SHA1 (AfterStep-2.1.2.tar.bz2) = c367e7c73561ddf03b3725f80d2f39f50d2b45bd
RMD160 (AfterStep-2.1.2.tar.bz2) = f891ded642b9190bd261f3e3f92cb595da2d785b
Size (AfterStep-2.1.2.tar.bz2) = 5079333 bytes
SHA1 (patch-aa) = c903ca64b609e4270ead1f1e03cb6ea962b294f8
+SHA1 (patch-ab) = b513b41f5be32170c3e7027d53e44625cbb4958a
diff --git a/wm/afterstep/patches/patch-ab b/wm/afterstep/patches/patch-ab
new file mode 100644
index 00000000000..ee9a0169ea1
--- /dev/null
+++ b/wm/afterstep/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.3 2006/10/02 23:52:51 rillig Exp $
+
+POSIX test(1) does not have a "==" operator.
+
+--- configure.orig 2006-10-03 01:46:57.000000000 +0200
++++ configure 2006-10-03 01:47:58.000000000 +0200
+@@ -1802,7 +1802,7 @@ fi;
+ # Check whether --enable-reuse-font or --disable-reuse-font was given.
+ if test "${enable_reuse_font+set}" = set; then
+ enableval="$enable_reuse_font"
+- if test x$enableval == "xyes"; then
++ if test x$enableval = "xyes"; then
+ cat >>confdefs.h <<\_ACEOF
+ #define MODULE_REUSE_LOADED_FONT 1
+ _ACEOF
+@@ -5844,7 +5844,7 @@ fi
+
+ have_shmimage=no
+
+-if test "x$CYGWIN" == "xyes"; then
++if test "x$CYGWIN" = "xyes"; then
+ enable_shmimage=no
+ fi
+