Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2021 16:16:02 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564867 - head/audio/libgme/files
Message-ID:  <202102101616.11AGG2LW013344@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Feb 10 16:16:02 2021
New Revision: 564867
URL: https://svnweb.freebsd.org/changeset/ports/564867

Log:
  audio/libgme: fix build on powerpc64le
  
  Prevent defining both BLARGG_LITTLE_ENDIAN and BLARGG_BIG_ENDIAN on powerpc64le.

Added:
  head/audio/libgme/files/
  head/audio/libgme/files/patch-gme_blargg__endian.h   (contents, props changed)

Added: head/audio/libgme/files/patch-gme_blargg__endian.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/libgme/files/patch-gme_blargg__endian.h	Wed Feb 10 16:16:02 2021	(r564867)
@@ -0,0 +1,13 @@
+--- gme/blargg_endian.h.orig	2021-02-10 16:11:06 UTC
++++ gme/blargg_endian.h
+@@ -33,9 +33,7 @@
+ #if defined (LSB_FIRST) || defined (__LITTLE_ENDIAN__) || BLARGG_CPU_X86 || \
+ 		(defined (LITTLE_ENDIAN) && LITTLE_ENDIAN+0 != 1234)
+ 	#define BLARGG_LITTLE_ENDIAN 1
+-#endif
+-
+-#if defined (MSB_FIRST)     || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \
++#elif defined (MSB_FIRST)     || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \
+ 	defined (__sparc__)     ||  BLARGG_CPU_POWERPC || \
+ 	(defined (BIG_ENDIAN) && BIG_ENDIAN+0 != 4321)
+ 	#define BLARGG_BIG_ENDIAN 1



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