Files
meta-openembedded/meta-oe/recipes-support
Liu Yiding 1b421ef711 procmail: fix compile failure with gcc-15
These failures doesn't broken compiling, but not generate files under /usr/bin
| userland@pumpkin3:/mnt/test/build_auh/tmp/work/core2-64-poky-linux/procmail/3.22/image/usr/bin$ ls
| formail  lockfile  mailstat  procmail

part of error messages:
| In file included from recommend.c:6:
| includes.h:334:12: error: conflicting types for 'uname'; have 'int(void)'
|   334 | extern int uname();                                      /* so we fix it :-) /
|       |            ^~~~~
| In file included from sublib.c:13:
| includes.h:334:12: error: conflicting types for 'uname'; have 'int(void)'
|   334 | extern int uname();                                      / so we fix it :-) /
|       |            ^~~~~
| In file included from procmail.h:3,
|                  from procmail.c:20:
| includes.h:334:12: error: conflicting types for 'uname'; have 'int(void)'
|   334 | extern int uname();                                      / so we fix it :-) */
|       |            ^~~~~
| In file included from includes.h:67:
| /datadrive/ubinux/workdir/build-dir/202506/build-ubinux-armv8/tmp/work/aarch64-ubinux-linux/procmail/3.22/recipe-sysroot/usr/include/sys/utsname.h:81:12: note: previous declaration of 'uname' with type 'int(struct utsname *)'
|    81 | extern int uname (struct utsname *__name) _THROW;
|       |            ^~~~~
| In file included from includes.h:67:
| /datadrive/ubinux/workdir/build-dir/202506/build-ubinux-armv8/tmp/work/aarch64-ubinux-linux/procmail/3.22/recipe-sysroot/usr/include/sys/utsname.h:81:12: note: previous declaration of 'uname' with type 'int(struct utsname )'
|    81 | extern int uname (struct utsname _name) THROW;
|       |            ^~~~~
| In file included from includes.h:67:
| /datadrive/ubinux/workdir/build-dir/202506/build-ubinux-armv8/tmp/work/aarch64-ubinux-linux/procmail/3.22/recipe-sysroot/usr/include/sys/utsname.h:81:12: note: previous declaration of 'uname' with type 'int(struct utsname )'
|    81 | extern int uname (struct utsname __name) __THROW;
|       |            ^~~~~
| In file included from includes.h:67:
| /datadrive/ubinux/workdir/build-dir/202506/build-ubinux-armv8/tmp/work/aarch64-ubinux-linux/procmail/3.22/recipe-sysroot/usr/include/sys/utsname.h:81:12: note: previous declaration of 'uname' with type 'int(struct utsname )'
|    81 | extern int uname (struct utsname __name) __THROW;
|       |            ^~~~~
| recommend.c: In function 'main':
| recommend.c:15:5: warning: old-style function definition [-Wold-style-definition]
|    15 | int main(argc,argv)const int argc;const charconst argv[];
|       |     ^~~~
| procmail.c: In function 'savepass':
| procmail.c:71:22: warning: old-style function definition [-Wold-style-definition]
|    71 | static auth_identitysavepass(spass,uid)auth_identityconst spass;
|       |                      ^~~~~~~~
| procmail.c:76:12: error: too many arguments to function 'auth_finduid'; expected 0, have 2
|    76 |   if(tpass=auth_finduid(uid,0))                           / save by copying */
|       |            ^~~~~~~~~~~~ ~~~
| In file included from procmail.c:36:
| authenticate.h:15:3: note: declared here
|    15 |  auth_finduid Q((const uid_t uid,const int sock));
|       |   ^~~~~~~~~~~~
| procmail.c: In function 'main':
| procmail.c:97:5: warning: old-style function definition [-Wold-style-definition]
|    97 | int main(argc,argv)int argc;const charconst argv[];
|       |     ^~~~
| procmail.c:212:9: error: too many arguments to function 'checkprivFrom'; expected 0, have 3
|   212 |         checkprivFrom(euid,passinvk?auth_username(passinvk):0,override);
|       |         ^~~~~~~~~~~~~~ ~~~~
| In file included from procmail.c:41:
| from.h:9:2: note: declared here
|     9 |  checkprivFrom Q((uid_t euid,const charlogname,int override));
|       |  ^~~~~~~~~~~~~~
| procmail.c:213:9: error: too many arguments to function 'doumask'; expected 0, have 1
|   213 |         doumask(INIT_UMASK);               / allowed to set the From line? */
|       |         ^~~~~~~

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-09 21:24:07 -07:00
..
2024-10-10 12:53:49 -07:00
2025-03-28 10:28:12 -07:00
2025-04-08 08:22:05 -07:00
2025-05-06 06:57:20 -07:00
2024-09-18 21:03:13 -07:00
2025-02-03 11:25:22 -08:00
2025-05-21 07:38:23 -07:00
2025-04-22 09:10:55 -07:00
2025-03-16 09:09:44 -07:00
2025-03-26 07:37:50 -07:00
2025-04-02 07:29:32 -07:00
2025-01-02 07:49:49 -08:00
2025-01-24 18:20:00 -08:00
2025-04-08 08:22:06 -07:00
2025-02-10 08:45:35 -08:00
2025-01-01 19:02:17 -08:00
2025-03-15 23:05:32 -07:00
2024-09-15 07:46:44 -07:00
2025-04-08 08:22:05 -07:00
2024-09-12 14:16:20 -07:00
2024-10-12 07:57:16 -07:00
2025-03-27 17:05:45 -07:00
2025-03-19 11:37:47 -07:00
2025-04-23 19:35:02 -07:00
2024-11-19 16:59:16 -08:00
2025-02-03 13:05:32 -08:00
2024-11-19 16:59:10 -08:00
2025-03-10 13:28:32 -07:00
2025-03-25 09:33:52 -07:00
2025-05-17 10:58:32 -07:00
2025-02-10 08:45:36 -08:00
2025-02-17 07:40:58 -08:00
2024-12-19 09:41:28 -08:00
2025-02-10 08:45:37 -08:00
2025-05-17 10:58:33 -07:00
2024-09-15 07:46:44 -07:00
2025-02-17 12:11:03 -08:00
2025-02-27 20:28:17 +00:00
2025-04-23 19:35:09 -07:00
2025-05-21 07:38:25 -07:00
2025-02-25 04:50:39 -08:00
2025-03-13 22:09:36 -07:00
2025-01-01 19:02:17 -08:00
2025-05-21 07:38:25 -07:00
2025-01-07 19:39:34 -08:00
2025-01-24 18:20:01 -08:00
2025-06-04 10:15:55 -07:00
2025-03-27 17:05:45 -07:00
2024-09-17 22:11:04 -07:00
2025-05-21 07:38:27 -07:00
2024-12-24 08:23:09 -08:00
2025-03-31 14:42:07 -07:00
2025-05-05 10:16:54 -07:00
2025-04-19 14:36:02 -07:00
2024-12-03 09:44:36 -08:00
2025-02-12 09:17:19 -08:00
2025-01-17 16:39:41 -08:00
2025-05-21 07:38:27 -07:00
2025-01-26 22:16:09 -08:00