From owner-svn-ports-head@FreeBSD.ORG Mon Mar 24 00:04:33 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64257FC; Mon, 24 Mar 2014 00:04:33 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 35CBC6D7; Mon, 24 Mar 2014 00:04:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2O04XSH072642; Mon, 24 Mar 2014 00:04:33 GMT (envelope-from acm@svn.freebsd.org) Received: (from acm@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2O04W7N072640; Mon, 24 Mar 2014 00:04:32 GMT (envelope-from acm@svn.freebsd.org) Message-Id: <201403240004.s2O04W7N072640@svn.freebsd.org> From: Jose Alonso Cardenas Marquez Date: Mon, 24 Mar 2014 00:04:32 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 00:04:33 -0000 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 #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 +