Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 00:40:05 -0700 (PDT)
From:      Stijn Hoop <stijn@win.tue.nl>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/41082: New port: emulators/dosbox - emulator of a PC running DOS
Message-ID:  <200209030740.g837e5SK048758@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/41082; it has been noted by GNATS.

From: Stijn Hoop <stijn@win.tue.nl>
To: knyghtmare@knyghtmare.com, freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/41082: New port: emulators/dosbox - emulator of a PC running DOS
Date: Tue, 3 Sep 2002 09:38:15 +0200

 Bah, didn't test enough before submitting. Apply the following patch to the
 port directory after unpacking the previous shar to prevent dosbox from
 bombing out.
 
 Sorry for the confusion.
 
 --Stijn
 
 diff -ur dosbox/Makefile dosbox.new/Makefile
 --- dosbox/Makefile	Tue Sep  3 09:36:23 2002
 +++ dosbox.new/Makefile	Tue Sep  3 09:29:18 2002
 @@ -22,9 +22,11 @@
  
  USE_REINPLACE=	yes
  
 -pre-patch:
 +post-patch:
  	${REINPLACE_CMD} -e 's#<SDL/#<SDL11/#' ${WRKSRC}/include/timer.h \
  		${WRKSRC}/src/gui/sdlmain.cpp ${WRKSRC}/src/hardware/mixer.cpp
 +	${REINPLACE_CMD} -e "s#@@PREFIX@@#${PREFIX}#" \
 +		${WRKSRC}/src/misc/messages.cpp
  
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${PREFIX}/bin/dosbox
 diff -ur dosbox/files/patch-src::misc::messages.cpp dosbox.new/files/patch-src::misc::messages.cpp
 --- dosbox/files/patch-src::misc::messages.cpp	Tue Sep  3 09:36:23 2002
 +++ dosbox.new/files/patch-src::misc::messages.cpp	Tue Sep  3 09:29:34 2002
 @@ -1,10 +1,12 @@
  --- src/misc/messages.cpp.orig	Tue Jul 30 15:13:10 2002
 -+++ src/misc/messages.cpp	Tue Sep  3 09:09:20 2002
 -@@ -102,6 +102,6 @@
 ++++ src/misc/messages.cpp	Tue Sep  3 09:29:12 2002
 +@@ -101,7 +101,7 @@
 + 	/* Load the messages from "dosbox.lang file" */
   	first_message=0;
   	char filein[CROSS_LEN];
 - 	strcpy(filein,dosbox_basedir);
 +-	strcpy(filein,dosbox_basedir);
  -	strcat(filein,"dosbox.lang");
 -+	strcat(filein,"../share/dosbox/dosbox.lang");
 ++	strcpy(filein,"@@PREFIX@@/share/dosbox/dosbox.lang");
 ++/*	strcat(filein,"dosbox.lang"); */
   	LoadMessageFile(filein);
   }
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209030740.g837e5SK048758>