pkgsrc-WIP-changes archive

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

thedarkmod: New patches.



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Thu Apr 18 16:44:55 2019 +0100
Changeset:	9e99658a7053fd4fcab646d6819fbc8926b6ad7f

Modified Files:
	thedarkmod/distinfo
Added Files:
	thedarkmod/patches/patch-idlib_Str.h
	thedarkmod/patches/patch-idlib_bv_Frustum.h
	thedarkmod/patches/patch-idlib_math_Math.h

Log Message:
thedarkmod: New patches.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9e99658a7053fd4fcab646d6819fbc8926b6ad7f

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

diffstat:
 thedarkmod/distinfo                         |  3 +++
 thedarkmod/patches/patch-idlib_Str.h        | 16 ++++++++++++++++
 thedarkmod/patches/patch-idlib_bv_Frustum.h | 16 ++++++++++++++++
 thedarkmod/patches/patch-idlib_math_Math.h  | 25 +++++++++++++++++++++++++
 4 files changed, 60 insertions(+)

diffs:
diff --git a/thedarkmod/distinfo b/thedarkmod/distinfo
index cacef63d76..3e852d4d71 100644
--- a/thedarkmod/distinfo
+++ b/thedarkmod/distinfo
@@ -7,7 +7,10 @@ Size (thedarkmod.2.07.src.7z) = 52411631 bytes
 SHA1 (patch-SConstruct) = e2542ba22f52c51fd215e65c651b064808bfb8d2
 SHA1 (patch-TypeInfo_main.cpp) = ad58a4917b961c48858af61f25c8565dcb50d54f
 SHA1 (patch-game_anim_Anim__Blend.cpp) = 326457af38817439b623dd20679be67779aca3d4
+SHA1 (patch-idlib_Str.h) = 68993a266fa91d0909a2ef31720e754f013c4b90
 SHA1 (patch-idlib_bv_Frustum.cpp) = 29ab03477c8689820d0c0543f3a00956557b1c5b
+SHA1 (patch-idlib_bv_Frustum.h) = 23a13f93bb3cd94cf155f8d18894992426f46515
+SHA1 (patch-idlib_math_Math.h) = 0baeaa94b008a4779da5af1f2424df35d22e178f
 SHA1 (patch-idlib_math_Simd.cpp) = 54553c575f2f0bcdbb7ab9e6be42adbc874c8333
 SHA1 (patch-idlib_math_Simd.h) = a93f686511f8b10c63a5fd29bbebaf3a901e91da
 SHA1 (patch-idlib_math_Simd__AVX.h) = 8a9347d797a3a53e47b4df4ef721873e01b23da3
diff --git a/thedarkmod/patches/patch-idlib_Str.h b/thedarkmod/patches/patch-idlib_Str.h
new file mode 100644
index 0000000000..3a3eff505b
--- /dev/null
+++ b/thedarkmod/patches/patch-idlib_Str.h
@@ -0,0 +1,16 @@
+$NetBSD$
+
+There's no reason to not always include assert.h when using assert.
+
+--- idlib/Str.h.orig	2019-02-02 17:51:35.000000000 +0000
++++ idlib/Str.h
+@@ -17,9 +17,7 @@
+ #ifndef __STR_H__
+ #define __STR_H__
+ 
+-#ifdef __linux__
+ #include <cassert>
+-#endif
+ 
+ #define ASSERT_ENUM_STRING( string, index )		( 1 / (int)!( string - index ) ) ? #string : ""
+ 
diff --git a/thedarkmod/patches/patch-idlib_bv_Frustum.h b/thedarkmod/patches/patch-idlib_bv_Frustum.h
new file mode 100644
index 0000000000..8cfeb505fa
--- /dev/null
+++ b/thedarkmod/patches/patch-idlib_bv_Frustum.h
@@ -0,0 +1,16 @@
+$NetBSD$
+
+There's no reason to not always include assert.h when using assert.
+
+--- idlib/bv/Frustum.h.orig	2019-02-02 17:51:35.000000000 +0000
++++ idlib/bv/Frustum.h
+@@ -16,9 +16,7 @@
+ #ifndef __BV_FRUSTUM_H__
+ #define __BV_FRUSTUM_H__
+ 
+-#ifdef __linux__
+ #include <cassert>
+-#endif
+ 
+ /*
+ ===============================================================================
diff --git a/thedarkmod/patches/patch-idlib_math_Math.h b/thedarkmod/patches/patch-idlib_math_Math.h
new file mode 100644
index 0000000000..c8da9fb5e3
--- /dev/null
+++ b/thedarkmod/patches/patch-idlib_math_Math.h
@@ -0,0 +1,25 @@
+$NetBSD$
+
+There's no reason to not always include assert.h when using assert.
+
+--- idlib/math/Math.h.orig	2019-02-02 17:51:35.000000000 +0000
++++ idlib/math/Math.h
+@@ -27,18 +27,14 @@
+ 
+ #include "../../sys/sys_public.h"
+ 
+-#ifdef __linux__
+ #include <cassert>
+ #include <float.h> // for FLT_MIN and FLT_MAX #3867
+-#endif
+ 
+ #ifdef MACOS_X
+ #ifdef __ppc__
+ // for square root estimate instruction
+ #include <ppc_intrinsics.h>
+ #endif
+-// for FLT_MIN
+-#include <float.h>
+ #endif
+ /*
+ ===============================================================================


Home | Main Index | Thread Index | Old Index