diff options
author | tnn <tnn@pkgsrc.org> | 2008-11-24 21:35:16 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-11-24 21:35:16 +0000 |
commit | 8cb15a6b3721eb3f354581782649270e95d4d0ff (patch) | |
tree | 104a3b2b45c14185f2e17afc6bb73dd281cd214c /wm/openbox/patches | |
parent | 853e5a9c1017511fd0e63efb4a91e73031726317 (diff) | |
download | pkgsrc-8cb15a6b3721eb3f354581782649270e95d4d0ff.tar.gz |
Fix build w/ Sun Studio, which doesn't allow anonymous unions in C.
(Will submit upstream.)
Diffstat (limited to 'wm/openbox/patches')
-rw-r--r-- | wm/openbox/patches/patch-ac | 15 |
1 files changed, 15 insertions, 0 deletions
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; |