pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/openttd



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Dec 28 10:13:30 UTC 2022

Modified Files:
        pkgsrc/games/openttd: distinfo
Added Files:
        pkgsrc/games/openttd/patches: patch-src_core_alloc__func.hpp

Log Message:
openttd: Include alloca.h on SunOS to get alloca definition


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/games/openttd/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/games/openttd/patches/patch-src_core_alloc__func.hpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/openttd/distinfo
diff -u pkgsrc/games/openttd/distinfo:1.41 pkgsrc/games/openttd/distinfo:1.42
--- pkgsrc/games/openttd/distinfo:1.41  Sun May  8 12:06:01 2022
+++ pkgsrc/games/openttd/distinfo       Wed Dec 28 10:13:29 2022
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.41 2022/05/08 12:06:01 triaxx Exp $
+$NetBSD: distinfo,v 1.42 2022/12/28 10:13:29 nia Exp $
 
 BLAKE2s (openttd-12.2-source.tar.xz) = 340eb17b3123514fc845011abff5ab4e1432c17e5c29c0f3be2f99360eabfeaf
 SHA512 (openttd-12.2-source.tar.xz) = 577792faee1d5e0c19fbfe31501dab3359f8e1327caa87e6378bb3e616ab6b2c64d02044c6ac99f7c40397df7bc6847a6b432852a5318a2db574203ddebfaef6
 Size (openttd-12.2-source.tar.xz) = 7377496 bytes
 SHA1 (patch-cmake_InstallAndPackage.cmake) = 18b02c11bf59639124c2a852d5a19dda3ae0ff81
+SHA1 (patch-src_core_alloc__func.hpp) = 9c5a855316e3262c51c1b4c836de760d53abb759

Added files:

Index: pkgsrc/games/openttd/patches/patch-src_core_alloc__func.hpp
diff -u /dev/null pkgsrc/games/openttd/patches/patch-src_core_alloc__func.hpp:1.3
--- /dev/null   Wed Dec 28 10:13:30 2022
+++ pkgsrc/games/openttd/patches/patch-src_core_alloc__func.hpp Wed Dec 28 10:13:30 2022
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_core_alloc__func.hpp,v 1.3 2022/12/28 10:13:30 nia Exp $
+
+Need alloca.h to use alloca on SunOS.
+
+--- src/core/alloc_func.hpp.orig       2022-04-02 10:38:20.000000000 +0000
++++ src/core/alloc_func.hpp
+@@ -10,6 +10,10 @@
+ #ifndef ALLOC_FUNC_HPP
+ #define ALLOC_FUNC_HPP
+ 
++#ifdef __sun
++#include <alloca.h>
++#endif
++
+ /*
+  * Functions to exit badly with an error message.
+  * It has to be linked so the error messages are not



Home | Main Index | Thread Index | Old Index