aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>1999-07-05 11:33:05 +0800
committerdeischen <deischen@FreeBSD.org>1999-07-05 11:33:05 +0800
commit46d8a1454cc8eb59159fe54bfbc09414dcf49f8a (patch)
tree97d2ac04d60c1579cc5e3f8e820d3f29e1959e26
parentf1fed4ea147b4c15e25b261310b058c2c63e6ad3 (diff)
downloadfreebsd-ports-gnome-46d8a1454cc8eb59159fe54bfbc09414dcf49f8a.tar.gz
freebsd-ports-gnome-46d8a1454cc8eb59159fe54bfbc09414dcf49f8a.tar.zst
freebsd-ports-gnome-46d8a1454cc8eb59159fe54bfbc09414dcf49f8a.zip
The xmcd author released an updated version of xmcd-2.5 that
incorporated what was in patch-af. Removed patch-af and updated md5 to fix breakage caused by this release. Breakage reported by: jkh
-rw-r--r--audio/xmcd/distinfo2
-rw-r--r--audio/xmcd/files/patch-af39
2 files changed, 1 insertions, 40 deletions
diff --git a/audio/xmcd/distinfo b/audio/xmcd/distinfo
index e2bd834f5d59..67b12710d943 100644
--- a/audio/xmcd/distinfo
+++ b/audio/xmcd/distinfo
@@ -1 +1 @@
-MD5 (xmcd-2.5.tar.gz) = de8d66770be5acc492e0c7c3ff03e0a0
+MD5 (xmcd-2.5.tar.gz) = 316dd535081bc714c0745217471cfd65
diff --git a/audio/xmcd/files/patch-af b/audio/xmcd/files/patch-af
deleted file mode 100644
index 5200c47286f0..000000000000
--- a/audio/xmcd/files/patch-af
+++ /dev/null
@@ -1,39 +0,0 @@
---- xmcd_d/main.c.orig Sat Apr 24 03:41:00 1999
-+++ xmcd_d/main.c Sun May 23 11:55:01 1999
-@@ -151,6 +151,8 @@
- {
- int i;
- Display *display;
-+ uid_t euid, ruid;
-+ gid_t egid, rgid;
-
- /* Error message stream */
- errfp = stderr;
-@@ -201,6 +203,16 @@
- }
- }
-
-+ /* get real IDs */
-+ ruid = getuid();
-+ rgid = getgid();
-+ /* save effective IDs */
-+ euid = geteuid();
-+ egid = getegid();
-+ /* give up root until we have a connection to the X server */
-+ (void)seteuid(ruid);
-+ (void)setegid(rgid);
-+
- /* Initialize X toolkit */
- widgets.toplevel = XtVaAppInitialize(
- &app_context,
-@@ -210,6 +222,10 @@
- NULL,
- NULL
- );
-+
-+ /* Ok, back to root */
-+ (void)seteuid(euid);
-+ (void)setegid(egid);
-
- /* Get application options */
- XtVaGetApplicationResources(