From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 21 03:40:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC9116A41F for ; Sun, 21 Aug 2005 03:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C3F743D45 for ; Sun, 21 Aug 2005 03:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7L3eF1v092115 for ; Sun, 21 Aug 2005 03:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7L3eFBL092114; Sun, 21 Aug 2005 03:40:15 GMT (envelope-from gnats) Resent-Date: Sun, 21 Aug 2005 03:40:15 GMT Resent-Message-Id: <200508210340.j7L3eFBL092114@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frank Ruell Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29D0916A41F; Sun, 21 Aug 2005 03:31:24 +0000 (GMT) (envelope-from stoerte@dreamwarrior.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A91A43D46; Sun, 21 Aug 2005 03:31:23 +0000 (GMT) (envelope-from stoerte@dreamwarrior.net) Received: from reverse-82-141-60-103.dialin.kamp-dsl.de [82.141.60.103] (helo=sisyphos.foobar.ath.cx) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML29c-1E6gYL3Miz-0006nr; Sun, 21 Aug 2005 05:31:21 +0200 Received: from stoerte by sisyphos.foobar.ath.cx with local (Exim 4.52 (FreeBSD)) id 1E6gZA-000GP8-Oh; Sun, 21 Aug 2005 05:32:12 +0200 Message-Id: Date: Sun, 21 Aug 2005 05:32:12 +0200 From: Frank Ruell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: dd@FreeBSD.org Subject: ports/85169: [patch] update editors/mg X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Ruell List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2005 03:40:17 -0000 >Number: 85169 >Category: ports >Synopsis: [patch] update editors/mg >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Aug 21 03:40:15 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Frank Ruell >Release: FreeBSD 6.0-BETA2 i386 >Organization: >Environment: System: FreeBSD sisyphos.foobar.ath.cx 6.0-BETA2 FreeBSD 6.0-BETA2 #1: Fri Aug 19 17:50:12 CEST 2005 root@sisyphos.foobar.ath.cx:/usr/obj/usr/src/sys/SISYPHOS i386 >Description: It's mostly the same version that comes with OpenBSD 3.7. Most important improvements that comes with this update: * resizing your xterm doesn't hose Mg anymore * modbar is now displayed correctly * it has undo! it overall just "feels" better. Patches are shamelessly stollen from Han: * http://www.xs4all.nl/~hanb/software/mg/ who maintains a portable version of Mg. >How-To-Repeat: make tarball && make makesum && make install >Fix: --- editors_mg_20050820.diff begins here --- diff -rN -u old-mg/Makefile new-mg/Makefile --- old-mg/Makefile 2005-08-21 04:59:23.000000000 +0200 +++ new-mg/Makefile 2005-08-21 04:59:23.000000000 +0200 @@ -6,7 +6,7 @@ # PORTNAME= mg -PORTVERSION= 20010514 +PORTVERSION= 20050820 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= dd @@ -44,10 +44,11 @@ # Ports build/install stuff stops here. Tarball creation stuff begins here. # CVS_CMD?= cvs -z3 -CVS_DATE= Mon May 14 17:41:46 PDT 2001 +CVS_DATE= Sat Aug 20 21:22:23 UTC 2005 CVS_SITES?= anoncvs@anoncvs3.usa.openbsd.org:/cvs \ anoncvs@anoncvs1.ca.openbsd.org:/cvs CVS_MODULE= src/usr.bin/mg +CVS_STRTONUM= src/lib/libc/stdlib/strtonum.c # # CVS checkout stuff mostly stolen from security/openssh-askpass port by @@ -59,12 +60,14 @@ for CVS_SITE in ${CVS_SITES}; do \ ${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \ if ${CVS_CMD} -d $${CVS_SITE} co -D "${CVS_DATE}" \ - ${CVS_MODULE}; then \ + ${CVS_MODULE} ${CVS_STRTONUM}; then \ cd ${DISTDIR}; \ ${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \ ${ECHO_MSG} ">> \"${PKGNAME}.tar.gz\"."; \ ${MV} ${PKGNAME}/${CVS_MODULE} \ ${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \ + ${MV} ${PKGNAME}/${CVS_STRTONUM} \ + ${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \ ${TAR} -cz \ -X ${FILESDIR}/tarignore \ -f ${PKGNAME}.tar.gz \ diff -rN -u old-mg/distinfo new-mg/distinfo --- old-mg/distinfo 2005-08-21 04:59:23.000000000 +0200 +++ new-mg/distinfo 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -MD5 (mg-20010514.tar.gz) = 36c7ef4af945ccedded2ca9e0635eb2a -SIZE (mg-20010514.tar.gz) = 100747 diff -rN -u old-mg/files/patch-Makefile new-mg/files/patch-Makefile --- old-mg/files/patch-Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new-mg/files/patch-Makefile 2005-08-21 04:59:23.000000000 +0200 @@ -0,0 +1,10 @@ +diff -u -x _darcs -ur _darcs/current/Makefile ./Makefile +--- _darcs/current/Makefile Thu Mar 10 19:27:47 2005 ++++ ./Makefile Sun Aug 21 02:41:52 2005 +@@ -29,4 +29,6 @@ + # + SRCS+= grep.c theo.c mail.c + ++SRCS+= strtonum.c ++ + .include diff -rN -u old-mg/files/patch-def.h new-mg/files/patch-def.h --- old-mg/files/patch-def.h 1970-01-01 01:00:00.000000000 +0100 +++ new-mg/files/patch-def.h 2005-08-21 04:59:23.000000000 +0200 @@ -0,0 +1,11 @@ +diff -u -x _darcs -ur _darcs/current/def.h ./def.h +--- _darcs/current/def.h Tue Jun 14 20:14:40 2005 ++++ ./def.h Sun Aug 21 02:30:50 2005 +@@ -3,6 +3,7 @@ + /* This file is in the public domain. */ + + #include ++#include "queue.h" + + /* + * This file is the general header file for all parts diff -rN -u old-mg/files/patch-queue.h new-mg/files/patch-queue.h --- old-mg/files/patch-queue.h 1970-01-01 01:00:00.000000000 +0100 +++ new-mg/files/patch-queue.h 2005-08-21 04:59:23.000000000 +0200 @@ -0,0 +1,4 @@ +--- /dev/null Sun Aug 21 03:44:00 2005 ++++ queue.h Sun Aug 21 02:27:51 2005 +@@ -0,0 +1 @@ ++#define LIST_END(head) NULL diff -rN -u old-mg/files/patch-sysdef.h new-mg/files/patch-sysdef.h --- old-mg/files/patch-sysdef.h 2005-08-21 04:59:23.000000000 +0200 +++ new-mg/files/patch-sysdef.h 2005-08-21 04:59:23.000000000 +0200 @@ -1,9 +1,11 @@ ---- sysdef.h.orig Mon Dec 29 11:37:41 2003 -+++ sysdef.h Mon Dec 29 11:38:00 2003 -@@ -23,5 +23,5 @@ - struct fileinfo { - mode_t fi_mode; - uid_t fi_uid; -- gid_t short fi_gid; -+ gid_t fi_gid; +diff -u -x _darcs -ur _darcs/current/sysdef.h ./sysdef.h +--- _darcs/current/sysdef.h Tue Jun 14 20:14:40 2005 ++++ ./sysdef.h Sun Aug 21 02:47:40 2005 +@@ -26,3 +26,7 @@ + gid_t fi_gid; + mode_t fi_mode; }; ++ ++#ifndef LOGIN_NAME_MAX ++#define LOGIN_NAME_MAX MAXLOGNAME ++#endif --- editors_mg_20050820.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: