git: 1ac69710feeb - main - net/gamenetworkingsockets: fix build on powerpc64*

Piotr Kubaj pkubaj at FreeBSD.org
Tue Jun 15 12:25:30 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1ac69710feebb6728288b2819fa914590a1e8efb

commit 1ac69710feebb6728288b2819fa914590a1e8efb
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-15 12:25:17 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-15 12:25:17 +0000

    net/gamenetworkingsockets: fix build on powerpc64*
    
    powerpc64* architectures are also 64-bit.
---
 .../files/patch-include_steam_steamtypes.h                    | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/net/gamenetworkingsockets/files/patch-include_steam_steamtypes.h b/net/gamenetworkingsockets/files/patch-include_steam_steamtypes.h
new file mode 100644
index 000000000000..db458a4b5c99
--- /dev/null
+++ b/net/gamenetworkingsockets/files/patch-include_steam_steamtypes.h
@@ -0,0 +1,11 @@
+--- include/steam/steamtypes.h.orig	2021-06-15 12:21:37 UTC
++++ include/steam/steamtypes.h
+@@ -24,7 +24,7 @@ typedef unsigned char uint8;
+ 	#define POSIX 1
+ #endif
+ 
+-#if defined(__x86_64__) || defined(_WIN64) || defined(__aarch64__) || defined(__s390x__)
++#if defined(__x86_64__) || defined(_WIN64) || defined(__aarch64__) || defined(__s390x__) || defined(__powerpc64__)
+ #define X64BITS
+ #endif
+ 


More information about the dev-commits-ports-main mailing list