Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2019 07:45:23 +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: r502937 - head/games/multimc/files
Message-ID:  <201905290745.x4T7jNVx024990@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed May 29 07:45:22 2019
New Revision: 502937
URL: https://svnweb.freebsd.org/changeset/ports/502937

Log:
  games/multimc: fix build with big-endian architectures
  
  Remove unnecessary ; in big-endian code variants to fix build.
  
  PR:		237958
  Approved by:	me@tsundoku.ne.jp (maintainer), linimon (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20414

Added:
  head/games/multimc/files/patch-libraries_classparser_src_javaendian.h   (contents, props changed)

Added: head/games/multimc/files/patch-libraries_classparser_src_javaendian.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/multimc/files/patch-libraries_classparser_src_javaendian.h	Wed May 29 07:45:22 2019	(r502937)
@@ -0,0 +1,41 @@
+--- libraries/classparser/src/javaendian.h.orig	2019-05-17 22:45:49 UTC
++++ libraries/classparser/src/javaendian.h
+@@ -11,32 +11,32 @@ inline uint64_t bigswap(uint64_t x)
+ {
+     return x;
+ }
+-;
++
+ inline uint32_t bigswap(uint32_t x)
+ {
+     return x;
+ }
+-;
++
+ inline uint16_t bigswap(uint16_t x)
+ {
+     return x;
+ }
+-;
++
+ inline int64_t bigswap(int64_t x)
+ {
+     return x;
+ }
+-;
++
+ inline int32_t bigswap(int32_t x)
+ {
+     return x;
+ }
+-;
++
+ inline int16_t bigswap(int16_t x)
+ {
+     return x;
+ }
+-;
++
+ #else
+ inline uint64_t bigswap(uint64_t x)
+ {



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