Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2003 10:50:27 -0700 (PDT)
From:      "alexander" <arundel@gmx.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/56376: New port: VisualBoyAdvance
Message-ID:  <200309251750.h8PHoRu6028637@freefall.freebsd.org>

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

From: "alexander" <arundel@gmx.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/56376: New port: VisualBoyAdvance
Date: Thu, 25 Sep 2003 19:41:41 +0200

 >Submitter-Id:	current-users
 >Originator:	No Name
 >Organization:	<organization of PR author (multiple lines)>
 >Confidential:	no <FreeBSD PRs are public data>
 >Synopsis:	Update port: emualtors/vba
 >Severity:	<[ non-critical | serious | critical ] (one line)>
 >Priority:	<[ low | medium | high ] (one line)>
 >Category:	ports
 >Class:		change-request
 >Release:	FreeBSD 4.8-STABLE i386
 >Environment:
 System: FreeBSD root 4.8-STABLE FreeBSD 4.8-STABLE #0: Wed Aug 27 01:14:14 CEST 2003 arundel@root:/usr/src/sys/compile/ARUNDEL i386
 
 
 	<machine, os, target, libraries (multiple lines)>
 >Description:
 	VisualBoyAdvance is currently one of the best Gameboy Advance emulators out there.
 >How-To-Repeat:
 	<code/input/activities to reproduce the problem (multiple lines)>
 >Fix:
 
 	<how to correct or work around the problem, if known (multiple lines)>
 
 --- output begins here ---
 diff -ruN vba_old/Makefile vba/Makefile
 --- vba_old/Makefile	Tue Sep 16 02:09:56 2003
 +++ vba/Makefile	Fri Sep  5 01:42:06 2003
 @@ -17,10 +17,8 @@
  BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
  LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
  
 -USE_XLIB=	yes
  USE_X_PREFIX=	yes
  USE_GMAKE=	yes
 -HAS_CONFIGURE=	yes
  GNU_CONFIGURE=	yes
  USE_SDL=	yes
  WRKSRC=		${WRKDIR}/VisualBoyAdvance-${PORTVERSION}
 @@ -57,17 +55,17 @@
  	@${ECHO_MSG} "versions have a problem during optimization that requires an absurd"
  	@${ECHO_MSG} "ammount of memory and usually ends up crashing the compiler/computer"
  	@${ECHO_MSG} ""
 -	@${ECHO_MSG} "Note by MAINTAINER: If 'make' complains about your <sys/socket.h> apply"
 -	@${ECHO_MSG} "the patch in files/. Currently everything < 500035 is being build with -O0"
 -	@${ECHO_MSG} "flag. The options mentioned above are untested so far"
 +	@${ECHO_MSG} "Note by MAINTAINER: Currently everything < 500035 is being build with -O0"
 +	@${ECHO_MSG} "flag. The options above are untested and probably don't work"
 +	@${ECHO_MSG} ""
  
  do-build:
  	cd ${WRKSRC} && ${GMAKE}
  
  do-install:
 -	${INSTALL} -d ${PREFIX}/bin && \
 -	${INSTALL_PROGRAM} ${PROG_FILES} ${PREFIX}/bin/ && \
 -	${INSTALL_DATA} ${DATA_FILES} ${PREFIX}/bin/ && \
 +	${INSTALL} -d ${TARGET_DIR} && \
 +	${INSTALL_PROGRAM} ${PROG_FILES} ${TARGET_DIR} && \
 +	${INSTALL_DATA} ${DATA_FILES} ${TARGET_DIR} && \
  
  post-install:
  .if !defined(NOPORTDOCS)
 diff -ruN vba_old/files/patch-ab vba/files/patch-ab
 --- vba_old/files/patch-ab	Thu Jan  1 01:00:00 1970
 +++ vba/files/patch-ab	Fri Sep  5 01:50:27 2003
 @@ -0,0 +1,64 @@
 +*** configure.orig	Sat Aug 23 16:20:50 2003
 +--- configure	Fri Sep  5 01:50:01 2003
 +***************
 +*** 2726,2784 ****
 +  
 +  fi
 +  
 +- echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
 +- echo "configure:2731: checking for socklen_t" >&5
 +- cat > conftest.$ac_ext <<EOF
 +- #line 2733 "configure"
 +- #include "confdefs.h"
 +- #include <sys/socket.h>
 +- socklen_t x;
 +- 
 +- int main() {
 +- 
 +- ; return 0; }
 +- EOF
 +- if { (eval echo configure:2742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 +-   rm -rf conftest*
 +-   echo "$ac_t""yes" 1>&6
 +- else
 +-   echo "configure: failed program was:" >&5
 +-   cat conftest.$ac_ext >&5
 +-   rm -rf conftest*
 +-   
 +- cat > conftest.$ac_ext <<EOF
 +- #line 2751 "configure"
 +- #include "confdefs.h"
 +- #include <sys/socket.h>
 +- int accept (int, struct sockaddr *, size_t *);
 +- 
 +- int main() {
 +- 
 +- ; return 0; }
 +- EOF
 +- if { (eval echo configure:2760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 +-   rm -rf conftest*
 +-   
 +- echo "$ac_t""size_t" 1>&6
 +- cat >> confdefs.h <<\EOF
 +- #define socklen_t size_t
 +- EOF
 +- 
 +- else
 +-   echo "configure: failed program was:" >&5
 +-   cat conftest.$ac_ext >&5
 +-   rm -rf conftest*
 +-   
 +- echo "$ac_t""int" 1>&6
 +- cat >> confdefs.h <<\EOF
 +- #define socklen_t int
 +- EOF
 +- 
 +- fi
 +- rm -f conftest*
 +- fi
 +- rm -f conftest*
 +- 
 +  echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
 +  echo "configure:2784: checking whether byte ordering is bigendian" >&5
 +  if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
 +--- 2726,2731 ----
 diff -ruN vba_old/files/socket.h.diff vba/files/socket.h.diff
 --- vba_old/files/socket.h.diff	Tue Sep 16 02:09:56 2003
 +++ vba/files/socket.h.diff	Thu Jan  1 01:00:00 1970
 @@ -1,19 +0,0 @@
 -*** /usr/include/sys/socket.h.orig	Tue Sep  2 18:35:06 2003
 ---- /usr/include/sys/socket.h	Wed Sep  3 19:44:43 2003
 -***************
 -*** 51,57 ****
 -   */
 -  typedef u_char		sa_family_t;
 -  #ifdef	_BSD_SOCKLEN_T_
 -! typedef	_BSD_SOCKLEN_T_	socklen_t;
 -  #undef	_BSD_SOCKLEN_T_
 -  #endif
 -   
 ---- 51,57 ----
 -   */
 -  typedef u_char		sa_family_t;
 -  #ifdef	_BSD_SOCKLEN_T_
 -! //typedef	_BSD_SOCKLEN_T_	socklen_t;
 -  #undef	_BSD_SOCKLEN_T_
 -  #endif
 -   
 --- output ends here ---
 
 



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