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