sogo: v2 dc4fdb2d

Author Committer Branch Timestamp Parent
the_nic francis v2 2020-08-19 12:28 v2 3e96d68f
Affected Issues  0005029: Does not build against gnustep-base 1.27
Changeset

fix(core): fix GCC 10 compatibility

With GCC 10, SOGoAptFormatter.m FTBS with the following error:

SOGoAptFormatter.m: In function ‘-[SOGoAptFormatter setPrivateTitleOnly]’:
SOGoAptFormatter.m:104:56: error: expected ‘)’ before ‘::’ token
  104 |   self->formatAction = @selector(titleOnlyForPrivateApt::);

Simply name the second argument, so gcc is happy.

Also add the external keyword to a header declared variable.

Fixes 0005029

mod - SoObjects/Mailer/SOGoMailObject.h Diff File
mod - UI/SOGoUI/SOGoAptFormatter.m Diff File