From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 13 06:20:04 2007 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 [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6041C16A403 for ; Tue, 13 Mar 2007 06:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 497BC13C457 for ; Tue, 13 Mar 2007 06:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2D6K4Wq050139 for ; Tue, 13 Mar 2007 06:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2D6K3dW050138; Tue, 13 Mar 2007 06:20:03 GMT (envelope-from gnats) Resent-Date: Tue, 13 Mar 2007 06:20:03 GMT Resent-Message-Id: <200703130620.l2D6K3dW050138@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, Alex Kozlov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D39D816A403 for ; Tue, 13 Mar 2007 06:15:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id B2ECF13C458 for ; Tue, 13 Mar 2007 06:15:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2D6FJBl068090 for ; Tue, 13 Mar 2007 06:15:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l2D6FJNN068089; Tue, 13 Mar 2007 06:15:19 GMT (envelope-from nobody) Message-Id: <200703130615.l2D6FJNN068089@www.freebsd.org> Date: Tue, 13 Mar 2007 06:15:19 GMT From: Alex Kozlov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/110250: [patch] emulators/dosbox update request X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2007 06:20:04 -0000 >Number: 110250 >Category: ports >Synopsis: [patch] emulators/dosbox update request >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 13 06:20:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Alex Kozlov >Release: FreeBSD 6.2 >Organization: private >Environment: >Description: Update dosbox to 0.70 >How-To-Repeat: >Fix: Patch attached with submission follows: Index: emulators/dosbox/Makefile @@ -6,8 +6,7 @@ # PORTNAME= dosbox -PORTVERSION= 0.65 -PORTREVISION= 1 +PORTVERSION= 0.70 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,6 +16,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png +USE_AUTOTOOLS= autoconf:259 aclocal:19 GNU_CONFIGURE= yes USE_SDL= sdl net Index: emulators/dosbox/distinfo @@ -1,3 +1,3 @@ -MD5 (dosbox-0.65.tar.gz) = fef84c292c3aeae747368b9875c1575a -SHA256 (dosbox-0.65.tar.gz) = 23fd001e2006f66ffdfe63adb6478ba85027f65b5078d6c69ad59e7f678d761f -SIZE (dosbox-0.65.tar.gz) = 848989 +MD5 (dosbox-0.70.tar.gz) = ea0a936e88eb294038e67eeb0d7129c4 +SHA256 (dosbox-0.70.tar.gz) = 05fdfd561eee33de12d978795b7f12338327c6da1ce65971463b58f2e90b48e4 +SIZE (dosbox-0.70.tar.gz) = 934649 Index: emulators/dosbox/files/patch-configure.in @@ -0,0 +1,12 @@ +--- configure.in.orig ++++ configure.in +@@ -335,6 +335,9 @@ + AC_DEFINE(OS2, 1, [Compiling on OS/2 EMX]) + AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).]) + ;; ++ *-*-freebsd*) ++ AC_DEFINE(FREEBSD, 1, [Compiling on FREEBSD]) ++ AC_DEFINE(C_DIRECTSERIAL, 1, [ Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).]) + esac + + dnl Some stuff for the icon. Index: emulators/dosbox/files/patch-src::hardware::serialport::misc_util.cpp @@ -0,0 +1,11 @@ +--- src/hardware/serialport/misc_util.cpp.orig ++++ src/hardware/serialport/misc_util.cpp +@@ -6,7 +6,7 @@ + // C++ SDLnet wrapper + + // Socket inheritance +-#if defined LINUX || defined OS2 ++#if defined LINUX || defined OS2 || defined FREEBSD + #define CAPWORD (NETWRAPPER_TCP|NETWRAPPER_TCP_NATIVESOCKET) + #ifdef OS2 + typedef int socklen_t; Index: emulators/dosbox/files/patch-src::hardware::serialport::misc_util.h @@ -0,0 +1,11 @@ +--- src/hardware/serialport/misc_util.h.orig ++++ src/hardware/serialport/misc_util.h +@@ -6,7 +6,7 @@ + #include "SDL_net.h" + #include "support.h" + +-#if defined LINUX || defined OS2 ++#if defined LINUX || defined OS2 || defined FREEBSD + #define NATIVESOCKETS + + #elif defined WIN32 >Release-Note: >Audit-Trail: >Unformatted: