From 8cb15a6b3721eb3f354581782649270e95d4d0ff Mon Sep 17 00:00:00 2001 From: tnn Date: Mon, 24 Nov 2008 21:35:16 +0000 Subject: Fix build w/ Sun Studio, which doesn't allow anonymous unions in C. (Will submit upstream.) --- wm/openbox/distinfo | 3 ++- wm/openbox/patches/patch-ac | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 wm/openbox/patches/patch-ac (limited to 'wm/openbox') diff --git a/wm/openbox/distinfo b/wm/openbox/distinfo index 9241ababe7f..2d55bc1410e 100644 --- a/wm/openbox/distinfo +++ b/wm/openbox/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.18 2008/04/24 20:22:00 wiz Exp $ +$NetBSD: distinfo,v 1.19 2008/11/24 21:35:16 tnn Exp $ SHA1 (openbox-3.4.7.2.tar.gz) = f34c3ec43b7e39bf57d64dbef97c35b68fea5254 RMD160 (openbox-3.4.7.2.tar.gz) = a5ab5f4c3db81625d512da48189e34aeeec244d8 Size (openbox-3.4.7.2.tar.gz) = 828190 bytes SHA1 (patch-aa) = 77043ec9f0466dbd2eb5dd54e467f983afccd9c1 SHA1 (patch-ab) = bb13ec5801c2e271f1e6b2dc4d0aa149c9e2dff1 +SHA1 (patch-ac) = cd5d329332623b97435fd72cf2be1b52049c041f diff --git a/wm/openbox/patches/patch-ac b/wm/openbox/patches/patch-ac new file mode 100644 index 00000000000..d94add0a2c8 --- /dev/null +++ b/wm/openbox/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.3 2008/11/24 21:35:16 tnn Exp $ + +--- openbox/actions/desktop.c.orig 2008-04-14 01:22:11.000000000 +0200 ++++ openbox/actions/desktop.c +@@ -21,7 +21,9 @@ typedef struct { + gboolean wrap; + ObDirection dir; + } rel; +- }; ++ } options_u; ++#define abs options_u.abs ++#define rel options_u.rel + gboolean send; + gboolean follow; + } Options; -- cgit v1.2.3