ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / mail / mailutils / patches / 02-no-test4-dbm_pag,dirfno.patch
blob8734eedffc40ec6ef94d5edf0dede2872fec6ab3
2 for both variables there isn't any checking in configure:
4 HAVE_DBM_PAGFNO
5 HAVE_DBM_DIRFNO
7 WITH_NDBM is detected correctly on OI so therefor define
8 HAVE_DBM_PAGFNO to 1 to pass by this error:
10 libmu_dbm/ndbm.c:63:4: error: #error "neither dbm_pagfno nor dbm_dirfno available"
12 --- mailutils-3.13/libmu_dbm/ndbm.c.orig 2021-07-16 19:51:00.000000000 +0000
13 +++ mailutils-3.13/libmu_dbm/ndbm.c 2021-12-05 15:20:19.891165055 +0000
14 @@ -32,6 +32,9 @@
16 #if defined(WITH_NDBM)
17 #include <ndbm.h>
18 +#ifdef __sun
19 +#define HAVE_DBM_PAGFNO 1
20 +#endif
22 static int
23 _ndbm_file_safety (mu_dbm_file_t db, int mode, uid_t owner)