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/patches/patch-ac | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 wm/openbox/patches/patch-ac (limited to 'wm/openbox/patches') 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