pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/gnome2-utils Add DragonFly support. Fix errno.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29caa97e3a45
branches:  trunk
changeset: 506633:29caa97e3a45
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 20 03:15:35 2006 +0000

description:
Add DragonFly support. Fix errno.

diffstat:

 misc/gnome2-utils/distinfo         |   5 ++++-
 misc/gnome2-utils/patches/patch-aa |  31 +++++++++++++++++++++++++++++++
 misc/gnome2-utils/patches/patch-ab |  12 ++++++++++++
 misc/gnome2-utils/patches/patch-ac |  13 +++++++++++++
 4 files changed, 60 insertions(+), 1 deletions(-)

diffs (81 lines):

diff -r c530c74b40d0 -r 29caa97e3a45 misc/gnome2-utils/distinfo
--- a/misc/gnome2-utils/distinfo        Fri Jan 20 03:09:17 2006 +0000
+++ b/misc/gnome2-utils/distinfo        Fri Jan 20 03:15:35 2006 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.12 2005/10/16 12:13:48 jmmv Exp $
+$NetBSD: distinfo,v 1.13 2006/01/20 03:15:35 joerg Exp $
 
 SHA1 (gnome-utils-2.12.1.tar.bz2) = 0c6d59c3c5460d3c56c18b1aa91d4672e2ccf6a2
 RMD160 (gnome-utils-2.12.1.tar.bz2) = 4e40596e33fcb980d0f9b77088b4b91fd49c4511
 Size (gnome-utils-2.12.1.tar.bz2) = 1714248 bytes
+SHA1 (patch-aa) = b7b08b7b1fa16b7a2a8980459c121e83255b7a6a
+SHA1 (patch-ab) = 2b04e92d0000d30ea9d83af2385a1686b94d142b
+SHA1 (patch-ac) = 331b43a0f5d79555f79d448c6ea2a36ce6783ea5
diff -r c530c74b40d0 -r 29caa97e3a45 misc/gnome2-utils/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gnome2-utils/patches/patch-aa        Fri Jan 20 03:15:35 2006 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.3 2006/01/20 03:16:14 joerg Exp $
+
+--- logview/logrtns.c.orig     2005-06-14 22:11:16.000000000 +0000
++++ logview/logrtns.c
+@@ -613,7 +613,7 @@ ReadLogStats (Log *log, gchar **buffer_l
+          if (IsLeapYear (curmark->year - lastyear + thisyear))
+                  curmark->time += 24 * 60 * 60;               /*  Add one day */
+          
+-#if defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+          curmark->time += correction - tmptm->tm_gmtoff;
+ #else
+          curmark->time += correction - timezone;
+@@ -637,7 +637,7 @@ ReadLogStats (Log *log, gchar **buffer_l
+    if (IsLeapYear (thisyear))
+          log->lstats.enddate += 24 * 60 * 60; /*  Add one day */
+    
+-#if defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+    log->lstats.enddate += correction - tmptm->tm_gmtoff;
+ #else
+    log->lstats.enddate += correction - timezone;
+@@ -648,7 +648,7 @@ ReadLogStats (Log *log, gchar **buffer_l
+    if (IsLeapYear (thisyear - lastyear))
+          log->lstats.startdate += 24 * 60 * 60;       /*  Add one day */
+ 
+-#if defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+    log->lstats.startdate += correction - tmptm->tm_gmtoff;
+ #else
+    log->lstats.startdate += correction - timezone;
diff -r c530c74b40d0 -r 29caa97e3a45 misc/gnome2-utils/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gnome2-utils/patches/patch-ab        Fri Jan 20 03:15:35 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.3 2006/01/20 03:16:14 joerg Exp $
+
+--- gsearchtool/gsearchtool-support.c.orig     2006-01-20 02:44:25.000000000 +0000
++++ gsearchtool/gsearchtool-support.c
+@@ -29,6 +29,7 @@
+ #  include <config.h>
+ #endif
+ 
++#include <sys/types.h>
+ #include <glib/gi18n.h>
+ #include <regex.h>
+ #include <gdk/gdkx.h>
diff -r c530c74b40d0 -r 29caa97e3a45 misc/gnome2-utils/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gnome2-utils/patches/patch-ac        Fri Jan 20 03:15:35 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.3 2006/01/20 03:16:14 joerg Exp $
+
+--- gnome-screenshot/screenshot-save.c.orig    2006-01-20 02:52:06.000000000 +0000
++++ gnome-screenshot/screenshot-save.c
+@@ -12,8 +12,6 @@ static char *tmp_filename = NULL;
+ static SaveFunction save_callback = NULL;
+ static gpointer save_user_data = NULL;
+ 
+-extern int errno;
+-
+ 
+ 
+ /* Strategy for saving:



Home | Main Index | Thread Index | Old Index