Newer
Older
minerva / Ports / ssmtp / patches / 0002-We-dont-have-u_int32_t-but-do-have-uint32_t-so-we-ty.patch
@minerva minerva on 13 Jul 769 bytes Initial commit
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Fabian Dellwing <fabian.dellwing@gmail.com>
Date: Tue, 25 Apr 2023 15:37:42 +0200
Subject: [PATCH] We dont have `u_int32_t` but do have `uint32_t`, so we
 typedef to build successfull.

---
 md5auth/md5.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/md5auth/md5.h b/md5auth/md5.h
index 0f4d73e6d151c08dfd538b3e50b86cf4b0fd4c5d..bc82cd525c3123f8a7a65ed183611af798503f7b 100644
--- a/md5auth/md5.h
+++ b/md5auth/md5.h
@@ -23,6 +23,8 @@ These notices must be retained in any copies of any part of this
 documentation and/or software.
  */
 
+typedef uint32_t u_int32_t;
+
 /* MD5 context. */
 typedef struct {
   u_int32_t state[4];                                   /* state (ABCD) */