diff options
author | dholland <dholland> | 2013-06-23 19:54:42 +0000 |
---|---|---|
committer | dholland <dholland> | 2013-06-23 19:54:42 +0000 |
commit | 1bee1f4d604626eef708c0422228814a18c89c30 (patch) | |
tree | f6846f5f5fe05f1e1139e7368733843b8bd2dc5d | |
parent | a3937efdb6067770c6877a5e85483570e8e682bd (diff) | |
download | pkgsrc-1bee1f4d604626eef708c0422228814a18c89c30.tar.gz |
Joerg says to use __clang__, not __CLANG__.
-rw-r--r-- | games/quakeforge/distinfo | 4 | ||||
-rw-r--r-- | games/quakeforge/patches/patch-include_QF_mathlib.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/games/quakeforge/distinfo b/games/quakeforge/distinfo index 8a845301c13..64f877ce691 100644 --- a/games/quakeforge/distinfo +++ b/games/quakeforge/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2013/06/23 05:28:09 dholland Exp $ +$NetBSD: distinfo,v 1.10 2013/06/23 19:54:42 dholland Exp $ SHA1 (quakeforge-0.5.5.tar.gz) = 3ceb229b3d777b6c5e0cb1530b4547b20737f402 RMD160 (quakeforge-0.5.5.tar.gz) = d22b29498e950bfdf96169bafee6409fca1a8e11 @@ -27,7 +27,7 @@ SHA1 (patch-au) = 5fbe311a03bc65e39e501b38f50a9c42b298a03a SHA1 (patch-av) = 8ba99fa13916ab9efd881a89760307fc5863e9d5 SHA1 (patch-aw) = d02d3a0cfbb47ad2f73e3ee523aed2964a8fcbae SHA1 (patch-include_QF_llist.h) = 34b69e99ca69d4564d7100b0e3bcd8d8a024ec94 -SHA1 (patch-include_QF_mathlib.h) = 4ac3847ae96c053d42085a942fc9100858f81080 +SHA1 (patch-include_QF_mathlib.h) = d867387c23ebfc2542711af655cb27cb3dab261d SHA1 (patch-include_r__dynamic.h) = e37cd1d4e242db48793c29c2b78aa78eb14d138d SHA1 (patch-include_r__local.h) = 7bb3b46ea3835489a20609739bd7a8dc79b36c96 SHA1 (patch-libs_util_llist.c) = d41fdac88ac1c9dbccd1bffd512f7e34ae381860 diff --git a/games/quakeforge/patches/patch-include_QF_mathlib.h b/games/quakeforge/patches/patch-include_QF_mathlib.h index a1c09a8b9b5..abdb191ae90 100644 --- a/games/quakeforge/patches/patch-include_QF_mathlib.h +++ b/games/quakeforge/patches/patch-include_QF_mathlib.h @@ -1,4 +1,4 @@ -$NetBSD: patch-include_QF_mathlib.h,v 1.2 2013/06/23 05:28:09 dholland Exp $ +$NetBSD: patch-include_QF_mathlib.h,v 1.3 2013/06/23 19:54:42 dholland Exp $ --- include/QF/mathlib.h.orig 2013-03-28 15:01:01.000000000 +0000 +++ include/QF/mathlib.h @@ -10,7 +10,7 @@ $NetBSD: patch-include_QF_mathlib.h,v 1.2 2013/06/23 05:28:09 dholland Exp $ -extern inline qboolean R_CullSphere (const vec3_t origin, const float radius); -extern inline float VectorNormalize (vec3_t v); // returns vector length #ifndef IMPLEMENT_R_Cull -+#if defined(__CLANG__) || !defined(__GNUC__) || defined(__GNC_STDC_INLINE__) ++#if defined(__clang__) || !defined(__GNUC__) || defined(__GNC_STDC_INLINE__) +inline +#else extern inline @@ -22,7 +22,7 @@ $NetBSD: patch-include_QF_mathlib.h,v 1.2 2013/06/23 05:28:09 dholland Exp $ } #ifndef IMPLEMENT_R_Cull -+#if defined(__CLANG__) || !defined(__GNUC__) || defined(__GNC_STDC_INLINE__) ++#if defined(__clang__) || !defined(__GNUC__) || defined(__GNC_STDC_INLINE__) +inline +#else extern inline @@ -34,7 +34,7 @@ $NetBSD: patch-include_QF_mathlib.h,v 1.2 2013/06/23 05:28:09 dholland Exp $ } #ifndef IMPLEMENT_VectorNormalize -+#if defined(__CLANG__) || !defined(__GNUC__) || defined(__GNC_STDC_INLINE__) ++#if defined(__clang__) || !defined(__GNUC__) || defined(__GNC_STDC_INLINE__) +inline +#else extern inline |