pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/gtk+extra Remove invalid use of getdomainname(3) t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f90df9cbfc3d
branches: trunk
changeset: 490433:f90df9cbfc3d
user: tv <tv%pkgsrc.org@localhost>
date: Thu Mar 10 14:17:15 2005 +0000
description:
Remove invalid use of getdomainname(3) to determine "local host name".
(That's a NIS domain name, not a hostname.)
diffstat:
x11/gtk+extra/Makefile | 4 ++--
x11/gtk+extra/distinfo | 3 ++-
x11/gtk+extra/patches/patch-ad | 14 ++++++++++++++
3 files changed, 18 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 78fa3c7651c8 -r f90df9cbfc3d x11/gtk+extra/Makefile
--- a/x11/gtk+extra/Makefile Thu Mar 10 14:13:37 2005 +0000
+++ b/x11/gtk+extra/Makefile Thu Mar 10 14:17:15 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2004/10/03 00:18:33 tv Exp $
+# $NetBSD: Makefile,v 1.16 2005/03/10 14:17:15 tv Exp $
#
DISTNAME= gtk+extra-0.99.17
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= x11
MASTER_SITES= http://gtkextra.sourceforge.net/src/
diff -r 78fa3c7651c8 -r f90df9cbfc3d x11/gtk+extra/distinfo
--- a/x11/gtk+extra/distinfo Thu Mar 10 14:13:37 2005 +0000
+++ b/x11/gtk+extra/distinfo Thu Mar 10 14:17:15 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 17:36:11 wiz Exp $
+$NetBSD: distinfo,v 1.6 2005/03/10 14:17:15 tv Exp $
SHA1 (gtk+extra-0.99.17.tar.gz) = 5dec008ef56469024f51d6631856b5b31f2158e7
RMD160 (gtk+extra-0.99.17.tar.gz) = f306384bdd15f64d2009d3b6a4183e6b27f90e51
@@ -6,3 +6,4 @@
SHA1 (patch-aa) = d798284aa820f24dec4d3764761810e6c4503122
SHA1 (patch-ab) = 2206f755a7d9d4494e75d201413f1caca5c8ecf3
SHA1 (patch-ac) = 56ca2e0570a2825bd6718feb20a1467fbef86f1a
+SHA1 (patch-ad) = e2c45a044ef08c4e01df8f24ef174dc7d62a95f6
diff -r 78fa3c7651c8 -r f90df9cbfc3d x11/gtk+extra/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/gtk+extra/patches/patch-ad Thu Mar 10 14:17:15 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1 2005/03/10 14:17:16 tv Exp $
+
+--- gtkextra/gtkdirtree.c.orig Fri Nov 30 10:12:16 2001
++++ gtkextra/gtkdirtree.c
+@@ -259,8 +259,7 @@ gtk_dir_tree_init (GtkDirTree *dir_tree)
+
+ /* Get the local hostname. */
+ #ifndef G_OS_WIN32
+- if ((gethostname (localhost, MAXHOSTNAMELEN) != 0) &&
+- (getdomainname (localhost, MAXHOSTNAMELEN) != 0))
++ if (gethostname (localhost, MAXHOSTNAMELEN) != 0)
+ strcpy (localhost, "LocalHost");
+ #else
+ strcpy (localhost, "My PC");
Home |
Main Index |
Thread Index |
Old Index