summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-03-10 14:17:15 +0000
committertv <tv@pkgsrc.org>2005-03-10 14:17:15 +0000
commitc436a5e19913308c54e5682a77a0ac7d03298ae1 (patch)
treef05f05c1ed6ccd282cb1bbb613d3a442edada339 /x11
parentf9bfeaeb451c4b7db3f814cfe4219b31a8236efa (diff)
downloadpkgsrc-c436a5e19913308c54e5682a77a0ac7d03298ae1.tar.gz
Remove invalid use of getdomainname(3) to determine "local host name".
(That's a NIS domain name, not a hostname.)
Diffstat (limited to 'x11')
-rw-r--r--x11/gtk+extra/Makefile4
-rw-r--r--x11/gtk+extra/distinfo3
-rw-r--r--x11/gtk+extra/patches/patch-ad14
3 files changed, 18 insertions, 3 deletions
diff --git a/x11/gtk+extra/Makefile b/x11/gtk+extra/Makefile
index 5a01fe66471..1e2b472c4d9 100644
--- a/x11/gtk+extra/Makefile
+++ b/x11/gtk+extra/Makefile
@@ -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 --git a/x11/gtk+extra/distinfo b/x11/gtk+extra/distinfo
index 23aa9526da3..f41a00cec43 100644
--- a/x11/gtk+extra/distinfo
+++ b/x11/gtk+extra/distinfo
@@ -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 @@ Size (gtk+extra-0.99.17.tar.gz) = 426952 bytes
SHA1 (patch-aa) = d798284aa820f24dec4d3764761810e6c4503122
SHA1 (patch-ab) = 2206f755a7d9d4494e75d201413f1caca5c8ecf3
SHA1 (patch-ac) = 56ca2e0570a2825bd6718feb20a1467fbef86f1a
+SHA1 (patch-ad) = e2c45a044ef08c4e01df8f24ef174dc7d62a95f6
diff --git a/x11/gtk+extra/patches/patch-ad b/x11/gtk+extra/patches/patch-ad
new file mode 100644
index 00000000000..612b0e6f17f
--- /dev/null
+++ b/x11/gtk+extra/patches/patch-ad
@@ -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");