pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/rspamd
Module Name: pkgsrc
Committed By: jperkin
Date: Tue Aug 11 09:32:02 UTC 2026
Modified Files:
pkgsrc/mail/rspamd: distinfo
Added Files:
pkgsrc/mail/rspamd/patches: patch-src_libutil_fpconv__format.c
Log Message:
rspamd: Fix build on systems where MIN/MAX aren't in scope.
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/mail/rspamd/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/mail/rspamd/patches/patch-src_libutil_fpconv__format.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/rspamd/distinfo
diff -u pkgsrc/mail/rspamd/distinfo:1.77 pkgsrc/mail/rspamd/distinfo:1.78
--- pkgsrc/mail/rspamd/distinfo:1.77 Thu Jul 30 15:40:28 2026
+++ pkgsrc/mail/rspamd/distinfo Tue Aug 11 09:32:02 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.77 2026/07/30 15:40:28 taca Exp $
+$NetBSD: distinfo,v 1.78 2026/08/11 09:32:02 jperkin Exp $
BLAKE2s (rspamd-4.1.4.tar.gz) = f40adf3b5a174909ffa434c943c7aab7e6af1f013a7f6b271b744f14deac7728
SHA512 (rspamd-4.1.4.tar.gz) = 5ebc039fc224f5f401d1a57b1db82c7f3ee7e362ef85f31620b36bd5549744c0678dfd8683acffae2d5d240494a79dd83190d19d02e2f9819a9d64037206d1b9
@@ -9,4 +9,5 @@ SHA1 (patch-contrib_fpconv_fpconv.c) = b
SHA1 (patch-lualib_rspamadm_dmarc__report.lua) = 93ccb04512dd84ea83de44c394571ef2bebe6bd2
SHA1 (patch-src_libserver_symcache_symcache__impl.cxx) = 8a5c69ab343409427619a9cbc0dc080d548b9c53
SHA1 (patch-src_libstat_backends_redis__backend.cxx) = 4c60287a574066a841c76081cd88512a57f0b27f
+SHA1 (patch-src_libutil_fpconv__format.c) = 6c876f570fb45a7a0618e933fb48e03ef77d1c04
SHA1 (patch-src_rspamd.c) = 1903994d5970af57de9c5d522df3dd12576c8418
Added files:
Index: pkgsrc/mail/rspamd/patches/patch-src_libutil_fpconv__format.c
diff -u /dev/null pkgsrc/mail/rspamd/patches/patch-src_libutil_fpconv__format.c:1.1
--- /dev/null Tue Aug 11 09:32:02 2026
+++ pkgsrc/mail/rspamd/patches/patch-src_libutil_fpconv__format.c Tue Aug 11 09:32:02 2026
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_libutil_fpconv__format.c,v 1.1 2026/08/11 09:32:02 jperkin Exp $
+
+Support MIN/MAX where unavailable.
+
+--- src/libutil/fpconv_format.c.orig 2026-08-11 09:27:23.638564880 +0000
++++ src/libutil/fpconv_format.c
+@@ -17,6 +17,13 @@ static_assert(FPCONV_PRECISION_ALL > 17,
+ #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 inline int
+ round_up_digits (char *digits, int ndigits)
+ {
Home |
Main Index |
Thread Index |
Old Index