pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / mail / opendkim / patches / 01_define_MAX.patch
blobf95d464ae04cb8765d61689082d1fc0095f46ffa
1 # there is no MAX function defined and there is no C function, too
2 --- opendkim-2.10.3/stats/opendkim-importstats.c 2022-02-05 19:01:48.369660562 +0000
3 +++ opendkim-2.10.3/stats/opendkim-importstats.c.new 2022-02-05 19:33:02.755143771 +0000
4 @@ -41,6 +41,11 @@
5 #endif /* USE_ODBX */
7 /* macros, definitions */
8 +#define MAX(a,b) \
9 + ({ __typeof__ (a) _a = (a); \
10 + __typeof__ (b) _b = (b); \
11 + _a > _b ? _a : _b; })
13 #define CMDLINEOPTS "d:EFh:mP:p:rSs:u:vx"
15 #define DEFDBHOST "localhost"