summaryrefslogtreecommitdiff
path: root/x11/gnome-libs/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-09-22 03:39:02 +0000
committerjlam <jlam@pkgsrc.org>2001-09-22 03:39:02 +0000
commit28e363a1fe7f9cad3dcd355511192dc40c3c8c45 (patch)
treefa1384e6113e6e6c94273cf9e2c701f29e3bc3c7 /x11/gnome-libs/patches
parentfe24267d90ef971b97ea1337acfd631cc5c59b43 (diff)
downloadpkgsrc-28e363a1fe7f9cad3dcd355511192dc40c3c8c45.tar.gz
Instead of "chown root ...; chgrp root ...", do "chown 0 ...; chgrp 0 ...".
UID/GID of 0 reliably points to the root user and group across NetBSD, Solaris and Linux. This fixes the problem noted in pkg/14034 by Sen Nagata <sen@eccosys.com>.
Diffstat (limited to 'x11/gnome-libs/patches')
-rw-r--r--x11/gnome-libs/patches/patch-ax13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/gnome-libs/patches/patch-ax b/x11/gnome-libs/patches/patch-ax
index 45557de4b18..00364e58d4f 100644
--- a/x11/gnome-libs/patches/patch-ax
+++ b/x11/gnome-libs/patches/patch-ax
@@ -1,7 +1,7 @@
-$NetBSD: patch-ax,v 1.1 2001/06/16 20:04:52 jlam Exp $
+$NetBSD: patch-ax,v 1.2 2001/09/22 03:39:02 jlam Exp $
--- zvt/Makefile.in.orig Fri Mar 16 14:47:34 2001
-+++ zvt/Makefile.in Sat Jun 16 09:03:34 2001
++++ zvt/Makefile.in
@@ -150,7 +150,7 @@
libzvtincludedir = $(includedir)/zvt
@@ -11,3 +11,12 @@ $NetBSD: patch-ax,v 1.1 2001/06/16 20:04:52 jlam Exp $
libzvt_la_SOURCES = gnome-login-support.h gnome-login-support.c lists.c subshell.h subshell.c subshell-includes.h update.c vt.c zvtterm.c
+@@ -524,7 +524,7 @@
+
+ install-exec-local:
+ -file=$(DESTDIR)$(sbindir)/gnome-pty-helper; \
+- chown root $$file && chgrp root $$file && chmod u+s $$file
++ chown 0 $$file && chgrp 0 $$file && chmod u+s $$file
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.