pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/rspamd/patches
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Jun 21 15:02:54 UTC 2019
Added Files:
pkgsrc/mail/rspamd/patches: patch-contrib_fpconv_fpconv.c
Removed Files:
pkgsrc/mail/rspamd/patches: patch-src_libcryptobox_cryptobox.c
patch-test_CMakeLists.txt
patch-test_rspamd__lua__pcall__vs__resume__test.c
Log Message:
rspamd: Commit patch changes missed in previous update.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
pkgsrc/mail/rspamd/patches/patch-contrib_fpconv_fpconv.c
cvs rdiff -u -r1.1 -r0 \
pkgsrc/mail/rspamd/patches/patch-src_libcryptobox_cryptobox.c \
pkgsrc/mail/rspamd/patches/patch-test_CMakeLists.txt \
pkgsrc/mail/rspamd/patches/patch-test_rspamd__lua__pcall__vs__resume__test.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/mail/rspamd/patches/patch-contrib_fpconv_fpconv.c
diff -u /dev/null pkgsrc/mail/rspamd/patches/patch-contrib_fpconv_fpconv.c:1.1
--- /dev/null Fri Jun 21 15:02:54 2019
+++ pkgsrc/mail/rspamd/patches/patch-contrib_fpconv_fpconv.c Fri Jun 21 15:02:54 2019
@@ -0,0 +1,20 @@
+$NetBSD: patch-contrib_fpconv_fpconv.c,v 1.1 2019/06/21 15:02:54 jperkin Exp $
+
+Provide compat MIN/MAX macros.
+
+--- contrib/fpconv/fpconv.c.orig 2019-05-23 14:41:27.000000000 +0000
++++ contrib/fpconv/fpconv.c
+@@ -14,6 +14,13 @@
+ #define absv(n) ((n) < 0 ? -(n) : (n))
+ #define minv(a, b) ((a) < (b) ? (a) : (b))
+
++#ifndef MIN
++#define MIN(a, b) ((a) < (b) ? (a) : (b))
++#endif
++#ifndef MAX
++#define MAX(a, b) ((a) < (b) ? (b) : (a))
++#endif
++
+ static uint64_t tens[] = {
+ 10000000000000000000U, 1000000000000000000U, 100000000000000000U,
+ 10000000000000000U, 1000000000000000U, 100000000000000U,
Home |
Main Index |
Thread Index |
Old Index