svn commit: r502937 - head/games/multimc/files

Piotr Kubaj pkubaj at FreeBSD.org
Wed May 29 07:45:24 UTC 2019


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 at 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)
+ {


More information about the svn-ports-head mailing list