Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 00:04:32 +0000 (UTC)
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348909 - in head/emulators/mupen64plus-video-glide64mk2: . files
Message-ID:  <201403240004.s2O04W7N072640@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Mon Mar 24 00:04:32 2014
New Revision: 348909
URL: http://svnweb.freebsd.org/changeset/ports/348909
QAT: https://qat.redports.org/buildarchive/r348909/

Log:
  - Fix build with all FreeBSD versions
  
  Reported by:	pkg-fallout

Modified:
  head/emulators/mupen64plus-video-glide64mk2/Makefile
  head/emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h

Modified: head/emulators/mupen64plus-video-glide64mk2/Makefile
==============================================================================
--- head/emulators/mupen64plus-video-glide64mk2/Makefile	Mon Mar 24 00:03:39 2014	(r348908)
+++ head/emulators/mupen64plus-video-glide64mk2/Makefile	Mon Mar 24 00:04:32 2014	(r348909)
@@ -5,7 +5,8 @@ PKGNAMESUFFIX=	-video-glide64mk2
 
 COMMENT=	Glide64mk2 video plugin for Mupen64Plus
 
-LIB_DEPENDS=	mupen64plus.2:${PORTSDIR}/emulators/mupen64plus-core
+LIB_DEPENDS=	mupen64plus.2:${PORTSDIR}/emulators/mupen64plus-core \
+		libboost_thread.so:${PORTSDIR}/devel/boost-libs
 
 USE_GL=		gl
 USE_SDL=	yes

Modified: head/emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h
==============================================================================
--- head/emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h	Mon Mar 24 00:03:39 2014	(r348908)
+++ head/emulators/mupen64plus-video-glide64mk2/files/patch-source-mupen64plus-video-glide64mk2-src-Glide64_Util.h	Mon Mar 24 00:04:32 2014	(r348909)
@@ -1,6 +1,6 @@
---- source/mupen64plus-video-glide64mk2/src/Glide64/Util.h	2013-10-04 04:04:30.000000000 -0500
-+++ source/mupen64plus-video-glide64mk2/src/Glide64/Util.h	2013-10-04 04:04:41.000000000 -0500
-@@ -90,9 +90,7 @@
+--- source/mupen64plus-video-glide64mk2/src/Glide64/Util.h	2013-07-03 19:28:17.000000000 -0500
++++ source/mupen64plus-video-glide64mk2/src/Glide64/Util.h	2014-03-23 16:59:30.000000000 -0500
+@@ -90,12 +90,11 @@
  			lx = lc; \
  		}
  
@@ -11,3 +11,15 @@
    #include <stdlib.h>
    #define bswap32(x) _byteswap_ulong(x)
  #else
++#if !defined __FreeBSD__
+ static inline uint32_t bswap32(uint32_t val)
+ {
+ 	return (((val & 0xff000000) >> 24) |
+@@ -104,6 +103,7 @@
+ 		((val & 0x000000ff) << 24));
+ }
+ #endif
++#endif
+ 
+ #define ALOWORD(x)   (*((uint16_t*)&(x)))   // low word
+ 



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