pkgsrc-WIP-changes archive

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

xonotic: Add another patch, get this thing working on NetBSD again



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <cfkoch%edgebsd.org@localhost>
Pushed By:	cfkoch
Date:		Sun Sep 23 18:02:14 2018 -0700
Changeset:	93ca087bfc92f8c3dfa4cbafbf480f2305bd5429

Modified Files:
	xonotic/distinfo
Added Files:
	xonotic/patches/patch-source_gmqcc_fold.c

Log Message:
xonotic: Add another patch, get this thing working on NetBSD again

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

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

diffstat:
 xonotic/distinfo                          |  1 +
 xonotic/patches/patch-source_gmqcc_fold.c | 11 +++++++++++
 2 files changed, 12 insertions(+)

diffs:
diff --git a/xonotic/distinfo b/xonotic/distinfo
index 9ab4cd25c9..20561b87fb 100644
--- a/xonotic/distinfo
+++ b/xonotic/distinfo
@@ -9,4 +9,5 @@ SHA1 (patch-source_darkplaces_hmac.c) = 2fae84c009f8808c814e4b68ba8c5640a001f699
 SHA1 (patch-source_darkplaces_hmac.h) = 62e3c7a657b8bef5a0dbb7fb0367379bcaae6347
 SHA1 (patch-source_darkplaces_makefile.inc) = 15ce0ee293bb255cae90ec5682881c2ad9ecef3b
 SHA1 (patch-source_gmqcc_Makefile) = 40716c8fd9b46307bf7996300151822a704e6c48
+SHA1 (patch-source_gmqcc_fold.c) = d27caff578075a14c04d5865b4e924ad40598748
 SHA1 (patch-source_gmqcc_gmqcc.h) = 1703136b3022637885bfa51a3e08ec8a86d20b05
diff --git a/xonotic/patches/patch-source_gmqcc_fold.c b/xonotic/patches/patch-source_gmqcc_fold.c
new file mode 100644
index 0000000000..94ceea961f
--- /dev/null
+++ b/xonotic/patches/patch-source_gmqcc_fold.c
@@ -0,0 +1,11 @@
+$NetBSD$
+--- ./source/gmqcc/fold.c.orig	2018-09-23 17:50:03.802080690 -0700
++++ ./source/gmqcc/fold.c	2018-09-23 17:51:19.845394071 -0700
+@@ -527,7 +527,6 @@
+             compile_error(ctx, "arithmetic overflow in `%s' component", vec);
+         if (state->exceptionflags & SFLOAT_UNDERFLOW)
+             compile_error(ctx, "arithmetic underflow in `%s' component", vec);
+-            return;
+     }
+     if (state->exceptionflags & SFLOAT_DIVBYZERO)
+         compile_error(ctx, "division by zero");


Home | Main Index | Thread Index | Old Index