From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 26 11:40:25 2004 Return-Path: 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 727B416A4D4 for ; Sat, 26 Jun 2004 11:40:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EA2E43D53 for ; Sat, 26 Jun 2004 11:40:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i5QBeODj031707 for ; Sat, 26 Jun 2004 11:40:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i5QBeO6l031706; Sat, 26 Jun 2004 11:40:24 GMT (envelope-from gnats) Resent-Date: Sat, 26 Jun 2004 11:40:24 GMT Resent-Message-Id: <200406261140.i5QBeO6l031706@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, Jeremy Chadwick Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70AF216A4CE for ; Sat, 26 Jun 2004 11:40:11 +0000 (GMT) Received: from mail.parodius.com (mail.parodius.com [64.62.145.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4161C43D49 for ; Sat, 26 Jun 2004 11:40:11 +0000 (GMT) (envelope-from jdc@pentarou.parodius.com) Received: from pentarou.parodius.com (jdc@localhost [127.0.0.1]) by mail.parodius.com (8.12.11/8.12.11) with ESMTP id i5QBeAMC059254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 26 Jun 2004 04:40:10 -0700 (PDT) (envelope-from jdc@pentarou.parodius.com) Received: (from jdc@localhost) by pentarou.parodius.com (8.12.11/8.12.11/Submit) id i5QBeAQT059253; Sat, 26 Jun 2004 04:40:10 -0700 (PDT) (envelope-from jdc) Message-Id: <200406261140.i5QBeAQT059253@pentarou.parodius.com> Date: Sat, 26 Jun 2004 04:40:10 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/68363: Add support for "menucolor" patch X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jeremy Chadwick List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 11:40:25 -0000 >Number: 68363 >Category: ports >Synopsis: Add support for "menucolor" patch >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: Sat Jun 26 11:40:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 4.10-PRERELEASE i386 >Organization: Parodius Networking >Environment: System: FreeBSD pentarou.parodius.com 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #0: Wed May 5 03:33:17 PDT 2004 root@pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU i386 >Description: This modification adds the WITH_MENUCOLORS tweak for those who want the non-standard "menucolors" option. This patch will only apply to the "-nox11" version of nethack34. For further details, see the following URLs: http://www.cs.joensuu.fi/~pkalli/code/ http://www.netsonic.fi/~walker/nethack.html >How-To-Repeat: Not applicable. >Fix: See included patch below. diff -ruN nethack34.orig/Makefile nethack34/Makefile --- nethack34.orig/Makefile Tue Feb 3 21:20:33 2004 +++ nethack34/Makefile Sat Jun 26 04:31:17 2004 @@ -7,7 +7,7 @@ PORTNAME= nethack PORTVERSION= 3.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -45,6 +45,11 @@ GRAPHICS= GNOME_GRAPHICS .elif ${PKGNAMESUFFIX} == "-nox11" GRAPHICS= # none +.if defined(WITH_MENUCOLORS) +PATCHFILES+= nh343-menucolor.diff +PATCH_SITES+= http://www.cs.joensuu.fi/~pkalli/code/ +PATCH_DIST_STRIP= -p1 +.endif .elif ${PKGNAMESUFFIX} == "-qt" USE_QT_VER= 3 MAKE_ENV+= QTCPPFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \ @@ -70,6 +75,9 @@ ${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/win/Qt/qt_win.cpp .if defined(WITHOUT_SHELL) @${REINPLACE_CMD} -e 's|#define SHELL|/* #define SHELL|' ${WRKSRC}/include/unixconf.h +.endif +.if defined(WITH_MENUCOLORS) + ${REINPLACE_CMD} -e 's|||g' ${WRKSRC}/include/color.h .endif pre-configure: diff -ruN nethack34.orig/distinfo nethack34/distinfo --- nethack34.orig/distinfo Wed Jan 28 23:23:58 2004 +++ nethack34/distinfo Sat Jun 26 04:20:39 2004 @@ -1,2 +1,4 @@ MD5 (nethack-343-src.tgz) = 21479c95990eefe7650df582426457f9 SIZE (nethack-343-src.tgz) = 3497458 +MD5 (nh343-menucolor.diff) = 8177010cbf6cfa50b6fd063458f28e25 +SIZE (nh343-menucolor.diff) = 17862 >Release-Note: >Audit-Trail: >Unformatted: