svn commit: r551249 - head/devel/sdl20/files

Piotr Kubaj pkubaj at FreeBSD.org
Sat Oct 3 02:20:42 UTC 2020


Author: pkubaj
Date: Sat Oct  3 02:20:41 2020
New Revision: 551249
URL: https://svnweb.freebsd.org/changeset/ports/551249

Log:
  devel/sdl20: add support for endianness check on FreeBSD
  
  Fixes endianness checking on at least powerpc64le, maybe also other architectures.

Added:
  head/devel/sdl20/files/patch-include_SDL__endian.h   (contents, props changed)

Added: head/devel/sdl20/files/patch-include_SDL__endian.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/sdl20/files/patch-include_SDL__endian.h	Sat Oct  3 02:20:41 2020	(r551249)
@@ -0,0 +1,11 @@
+--- include/SDL_endian.h.orig	2020-10-03 02:13:42 UTC
++++ include/SDL_endian.h
+@@ -44,6 +44,8 @@
+ #define SDL_BYTEORDER  __BYTE_ORDER
+ #elif defined(__OpenBSD__)
+ #include <endian.h>
++#elif defined(__FreeBSD__)
++#include <sys/endian.h>
+ #define SDL_BYTEORDER  BYTE_ORDER
+ #else
+ #if defined(__hppa__) || \


More information about the svn-ports-all mailing list