On Mon, 14 Apr 2025, Exim Bugzilla via Exim-dev wrote:

https://bugs.exim.org/show_bug.cgi?id=3145

           Bug ID: 3145
          Summary: Please add two things for compiling under Siolaris
                   11.4
          Product: Exim
          Version: 4.98.2
         Hardware: x86
               OS: Solaris
           Status: NEW
         Severity: bug
         Priority: medium
        Component: Unfiled
         Assignee: unalloca...@exim.org
         Reporter: l...@timmann.de
               CC: exim-dev@lists.exim.org

Hi Exim-Team!

To compile successfully under Solaris 11.4 I needed to patch the
OS/os.h-SunOS5.

[ Demonstration and justification omitted. ]

My patch for Solaris 11.4 is:

$ diff -rub exim-4.98.2/OS/os.h-SunOS5 exim-4.98.2_compileready/OS/os.h-SunOS5
--- exim-4.98.2/OS/os.h-SunOS5  2025-03-21 14:45:58.000000000 +0100
+++ exim-4.98.2_compileready/OS/os.h-SunOS5     2025-04-14 12:10:36.508370936
+0200
@@ -56,4 +56,12 @@
# define MAX(a,b) (((a)>(b))?(a):(b))
#endif

+/* u_int16_t -> uint16_t */
+# define u_int16_t uint16_t
+
+/* u_int32_t -> uint32_t */
+# define u_int32_t uint32_t
+
+#include "strings.h"
+
/* End */

Would be nice to have it in the next version.

Hmm.

Our Solaris 11 buildfarm animal "forsooth" claims to build correctly:
https://buildfarm.exim.org/cgi-bin/show_history.pl?nm=forsooth&br=HEAD

Are you up to seeing what is different in 11.4, and possibly
volunteering to run a Solaris 11.4 animal ?

--
Andrew C. Aitchison                      Kendal, UK
                   and...@aitchison.me.uk

--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-dev-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to