From 47274e31684cf50fe4cbc1e5ce7c1d2e212b1488 Mon Sep 17 00:00:00 2001 From: drochner Date: Sat, 31 May 2008 12:21:14 +0000 Subject: make it build on DragonFly or FreeBSD, from Hasso Tepper per PR misc/38807 --- x11/gnome-panel/distinfo | 4 +++- x11/gnome-panel/patches/patch-ad | 15 +++++++++++++++ x11/gnome-panel/patches/patch-ae | 15 +++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 x11/gnome-panel/patches/patch-ad create mode 100644 x11/gnome-panel/patches/patch-ae (limited to 'x11') diff --git a/x11/gnome-panel/distinfo b/x11/gnome-panel/distinfo index 71d4304039e..d8cfe050e20 100644 --- a/x11/gnome-panel/distinfo +++ b/x11/gnome-panel/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.44 2008/05/29 11:15:49 drochner Exp $ +$NetBSD: distinfo,v 1.45 2008/05/31 12:21:14 drochner Exp $ SHA1 (gnome-panel-2.22.2.tar.bz2) = 73752c3ce6224886c2381b0b13111253008bc6f7 RMD160 (gnome-panel-2.22.2.tar.bz2) = 64a37f44b9f34f74d30f30aca349749a24c80859 @@ -6,3 +6,5 @@ Size (gnome-panel-2.22.2.tar.bz2) = 3255261 bytes SHA1 (patch-aa) = 192ebd41ddcca1d6db8898b7b65e3acfb200ce00 SHA1 (patch-ab) = 961186c5db258557294fae4a280d13efdcfe1de1 SHA1 (patch-ac) = 266fbb403a11c4776a17cd257d3f577b97f01c66 +SHA1 (patch-ad) = c24a5d0a8c1c88d46edfa3e8fc3e4528637a8d31 +SHA1 (patch-ae) = d85575dc403c67a4fcb0818904ab9b0517f7b8e0 diff --git a/x11/gnome-panel/patches/patch-ad b/x11/gnome-panel/patches/patch-ad new file mode 100644 index 00000000000..4ca7131e28a --- /dev/null +++ b/x11/gnome-panel/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.5 2008/05/31 12:21:15 drochner Exp $ + +--- applets/clock/clock.c.orig 2008-05-31 14:09:38.000000000 +0200 ++++ applets/clock/clock.c +@@ -64,6 +64,10 @@ + #include "set-timezone.h" + #include "system-timezone.h" + ++#if defined(__FreeBSD__) || defined(__DragonFly__) ++#define daylight 1 ++#endif ++ + #define INTERNETSECOND (864) + #define INTERNETBEAT (86400) + diff --git a/x11/gnome-panel/patches/patch-ae b/x11/gnome-panel/patches/patch-ae new file mode 100644 index 00000000000..c1eb5a84d18 --- /dev/null +++ b/x11/gnome-panel/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.5 2008/05/31 12:21:15 drochner Exp $ + +--- applets/clock/clock-location.c.orig 2008-05-31 14:10:48.000000000 +0200 ++++ applets/clock/clock-location.c +@@ -27,6 +27,10 @@ + #include "set-timezone.h" + #include "system-timezone.h" + ++#if defined(__FreeBSD__) || defined(__DragonFly__) ++#define daylight 1 ++#endif ++ + G_DEFINE_TYPE (ClockLocation, clock_location, G_TYPE_OBJECT) + + typedef struct { -- cgit v1.2.3