pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ti99sim: Use machine/endian.h on macOS
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Mon Oct 7 13:03:46 2024 -0500
Changeset: 1a1efffd84ec4cba41d1240edf4672518c5fd759
Modified Files:
ti99sim/distinfo
ti99sim/patches/patch-include_common.hpp
Log Message:
ti99sim: Use machine/endian.h on macOS
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1a1efffd84ec4cba41d1240edf4672518c5fd759
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ti99sim/distinfo | 2 +-
ti99sim/patches/patch-include_common.hpp | 15 +++++++++++++--
2 files changed, 14 insertions(+), 3 deletions(-)
diffs:
diff --git a/ti99sim/distinfo b/ti99sim/distinfo
index a45032be79..3d6c531af7 100644
--- a/ti99sim/distinfo
+++ b/ti99sim/distinfo
@@ -4,7 +4,7 @@ BLAKE2s (ti99sim-0.16.0.src.tar.xz) = b6cd23be4a8e281f926a82726409d466651ae03f69
SHA512 (ti99sim-0.16.0.src.tar.xz) = 5636b1ecbaf7da10ecaea2d59aac0d84f03934065c02d3441576e4675a6d818ca21e3af80caddfa9fef640f6e0bef093a09082ec0d453df87b67431d7f5c0fec
Size (ti99sim-0.16.0.src.tar.xz) = 193760 bytes
SHA1 (patch-Makefile.linux) = 246b6a6c750bdd1cdc760d9e5e1faa336f913f76
-SHA1 (patch-include_common.hpp) = c2baa6abfbe640cb15dfd7190d743373250a90db
+SHA1 (patch-include_common.hpp) = 6a0e63c88eb988b8c8f52ca3bfa435179c206ed4
SHA1 (patch-include_platform.hpp) = 2b01ea7439d915095a36ea01921c2266fd77094b
SHA1 (patch-rules.mak) = 0df5cdfefbff13fc2bf7042609157858c7c204a5
SHA1 (patch-src_core_device-support.cpp) = c685db3bd50d8ee1d320971a3b759e06459c15be
diff --git a/ti99sim/patches/patch-include_common.hpp b/ti99sim/patches/patch-include_common.hpp
index cf5fd24fc7..07f6ed4984 100644
--- a/ti99sim/patches/patch-include_common.hpp
+++ b/ti99sim/patches/patch-include_common.hpp
@@ -1,8 +1,19 @@
$NetBSD$
---- include/common.hpp.orig 2024-10-03 22:11:28 UTC
+# Locate endian.h on macOS
+
+--- include/common.hpp.orig 2020-05-25 20:52:23.000000000 +0000
+++ include/common.hpp
-@@ -116,9 +116,9 @@ template <typename T, size_t N> char( &ArraySizeHelper
+@@ -111,14 +111,18 @@ template <typename T, size_t N> char( &A
+
+ #endif
+
++#elif defined (OS_MACOSX)
++
++ #include <machine/endian.h>
++
+ #else
+
// Use the environments endian definitions
#include <endian.h>
Home |
Main Index |
Thread Index |
Old Index