pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/mxterm Fix build on Darwin.
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb57511e0e8e
branches: trunk
changeset: 348135:eb57511e0e8e
user: youri <youri%pkgsrc.org@localhost>
date: Tue Jun 07 22:54:29 2016 +0000
description:
Fix build on Darwin.
diffstat:
x11/mxterm/distinfo | 4 ++--
x11/mxterm/patches/patch-aa | 25 ++++++++++++++++++++++++-
2 files changed, 26 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r 521cab12c66d -r eb57511e0e8e x11/mxterm/distinfo
--- a/x11/mxterm/distinfo Tue Jun 07 21:23:21 2016 +0000
+++ b/x11/mxterm/distinfo Tue Jun 07 22:54:29 2016 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.5 2016/04/21 13:32:17 jperkin Exp $
+$NetBSD: distinfo,v 1.6 2016/06/07 22:54:29 youri Exp $
SHA1 (mxterm_129.tar.gz) = 863732aa1096aac58f42f8f6c94c95bfa189aaf7
RMD160 (mxterm_129.tar.gz) = 67e40886f25c60752d94cdb3bda831baf1863eb9
SHA512 (mxterm_129.tar.gz) = c4f8f4b0e84d9ab367becb4b734f9ad2845575de4ccada9c8cd2f99e4f69b6a3aabd10fb6cecc7458de91393db3764e1dd1efcc16c4864eb3031bd61943f8152
Size (mxterm_129.tar.gz) = 743816 bytes
SHA1 (patch-Tekproc.c) = 28a411a3fcd4a098a60d7406958c9fd629035636
-SHA1 (patch-aa) = 468366b780812910781265a163c5cfca66b20536
+SHA1 (patch-aa) = 94a9c204ca256f74e47e241e16be230df4d5793c
SHA1 (patch-ac) = 7c76bcbd737aeedbc90be22ce4391373ed1b91b1
diff -r 521cab12c66d -r eb57511e0e8e x11/mxterm/patches/patch-aa
--- a/x11/mxterm/patches/patch-aa Tue Jun 07 21:23:21 2016 +0000
+++ b/x11/mxterm/patches/patch-aa Tue Jun 07 22:54:29 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2013/07/19 12:58:20 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2016/06/07 22:54:29 youri Exp $
--- main.c.orig 2005-05-09 01:14:32.000000000 +0000
+++ main.c
@@ -20,3 +20,26 @@
#ifdef AMOEBA
#include <amoeba.h>
#include <cmdreg.h>
+@@ -3284,13 +3290,21 @@ spawn (void)
+ #endif
+ ioctl(0, TIOCSPGRP, (char *)&pgrp);
+ #ifndef __osf__
++#ifdef __APPLE__
++ setpgid(0,0);
++#else
+ setpgrp(0,0);
++#endif
+ #else
+ setpgid(0,0);
+ #endif
+ close(open(ttydev, O_WRONLY, 0));
+-#ifndef __osf__
++#ifndef __osf__
++#ifdef __APPLE__
++ setpgid (0, pgrp);
++#else
+ setpgrp (0, pgrp);
++#endif
+ #else
+ setpgid (0, pgrp);
+ #endif
Home |
Main Index |
Thread Index |
Old Index