summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorhira <hira>2008-05-26 17:22:37 +0000
committerhira <hira>2008-05-26 17:22:37 +0000
commitb68ff706938c07fdeb959b63ba708f9e0c857b8f (patch)
tree459a0d9a908e04eed0e7ca19613d4e9bd7ac9bfb /wm
parent4fa8d51106c8b20947d32db17f35eeffcaf7b48a (diff)
downloadpkgsrc-b68ff706938c07fdeb959b63ba708f9e0c857b8f.tar.gz
Fix core dump with ini plugin (flat-file configuration backend) from
upstream. Bump PKGREVISION.
Diffstat (limited to 'wm')
-rw-r--r--wm/compiz/Makefile4
-rw-r--r--wm/compiz/distinfo3
-rw-r--r--wm/compiz/patches/patch-ac22
3 files changed, 26 insertions, 3 deletions
diff --git a/wm/compiz/Makefile b/wm/compiz/Makefile
index 392bf4834b5..e35770f1e9b 100644
--- a/wm/compiz/Makefile
+++ b/wm/compiz/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.19 2008/05/24 21:45:14 tnn Exp $
+# $NetBSD: Makefile,v 1.20 2008/05/26 17:22:37 hira Exp $
#
DISTNAME= compiz-0.6.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= wm x11
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
diff --git a/wm/compiz/distinfo b/wm/compiz/distinfo
index f9bbaede0d1..0ba83472aba 100644
--- a/wm/compiz/distinfo
+++ b/wm/compiz/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2008/05/12 01:57:37 jmcneill Exp $
+$NetBSD: distinfo,v 1.7 2008/05/26 17:22:37 hira Exp $
SHA1 (compiz-0.6.2.tar.gz) = ab5ecad856049a12a803fe6c94c3e55cdfcb5f68
RMD160 (compiz-0.6.2.tar.gz) = 6cc235570c3ac15573050b27198648045a85a804
Size (compiz-0.6.2.tar.gz) = 1784471 bytes
SHA1 (patch-aa) = 1b6ab48fd459bc2fa4173f8f1d4936aa0d5c00be
SHA1 (patch-ab) = 273430fa119b4c904287115be1f5273868073899
+SHA1 (patch-ac) = 51479150d46def76d1c9988151c37571f4954c82
diff --git a/wm/compiz/patches/patch-ac b/wm/compiz/patches/patch-ac
new file mode 100644
index 00000000000..66917b67e1f
--- /dev/null
+++ b/wm/compiz/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2008/05/26 17:22:37 hira Exp $
+
+--- plugins/ini.c.orig 2008-05-26 17:10:50.000000000 +0900
++++ plugins/ini.c 2008-05-26 17:12:01.000000000 +0900
+@@ -377,7 +377,7 @@
+ if (*optionName)
+ {
+ strncpy (*optionName, line, length);
+- *optionName[length] = 0;
++ (*optionName)[length] = 0;
+ }
+ splitPos++;
+ optionLength = strlen (splitPos);
+@@ -387,7 +387,7 @@
+ if (*optionValue)
+ {
+ strncpy (*optionValue, splitPos, optionLength);
+- *optionValue[optionLength] = 0;
++ (*optionValue)[optionLength] = 0;
+ }
+ return TRUE;
+ }