update to s-nail-14.9.16, from maintainer Steffen Nurpmeso
This commit is contained in:
parent
324a4383d7
commit
67410e33e3
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2019/08/20 09:59:59 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2019/12/31 22:50:05 sthen Exp $
|
||||
|
||||
COMMENT= SysV mail/BSD Mail/POSIX mailx: send and receive mail
|
||||
|
||||
DISTNAME= s-nail-14.9.15
|
||||
DISTNAME= s-nail-14.9.16
|
||||
CATEGORIES= mail
|
||||
HOMEPAGE= https://www.sdaoden.eu/code.html\#s-mailx
|
||||
|
||||
@ -26,10 +26,8 @@ MAKE_FLAGS= CC="${CC}" \
|
||||
VAL_SYSCONFDIR="${SYSCONFDIR}" \
|
||||
VAL_SID= \
|
||||
OPT_ALWAYS_UNICODE_LOCALE=yes \
|
||||
OPT_AGENT=no \
|
||||
OPT_AUTOCC=no \
|
||||
OPT_DOTLOCK=no \
|
||||
OPT_GSSAPI=no \
|
||||
VAL_RANDOM=arc4
|
||||
|
||||
.if ${FLAVOR:Midna}
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (s-nail-14.9.15.tar.gz) = TEux2uD9btq/HSaKxqR23pqrPBW0u+IUFUmhHb8rrnM=
|
||||
SIZE (s-nail-14.9.15.tar.gz) = 1036102
|
||||
SHA256 (s-nail-14.9.16.tar.gz) = 6tdv3+YquK8P2w3a2fi4QZeqsYge0V6y+mVFcqjLvu0=
|
||||
SIZE (s-nail-14.9.16.tar.gz) = 1075490
|
||||
|
39
mail/s-nail/patches/patch-include_su_code_h
Normal file
39
mail/s-nail/patches/patch-include_su_code_h
Normal file
@ -0,0 +1,39 @@
|
||||
$OpenBSD: patch-include_su_code_h,v 1.1 2019/12/31 22:50:05 sthen Exp $
|
||||
|
||||
commit 0eb2314c
|
||||
Author: Steffen Nurpmeso <steffen@sdaoden.eu>
|
||||
AuthorDate: 2019-12-31 20:34:34 +0100
|
||||
Commit: Steffen Nurpmeso <steffen@sdaoden.eu>
|
||||
CommitDate: 2019-12-31 20:34:52 +0100
|
||||
|
||||
FIX clang: not inlining with <-O2; comment out _Alignof() usage
|
||||
---
|
||||
include/su/code.h | 8 +++++---
|
||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/include/su/code.h b/include/su/code.h
|
||||
index 6e6cd74c..af1e5a30 100644
|
||||
--- include/su/code.h
|
||||
+++ include/su/code.h
|
||||
@@ -470,8 +470,9 @@ do{\
|
||||
# define su_INLINE static inline
|
||||
# define su_SINLINE static inline
|
||||
# else
|
||||
-# define su_INLINE inline
|
||||
-# define su_SINLINE static inline
|
||||
+ /* clang does not like inline with <-O2 */
|
||||
+# define su_INLINE inline __attribute__((always_inline))
|
||||
+# define su_SINLINE static inline __attribute__((always_inline))
|
||||
# endif
|
||||
# else
|
||||
# define su_INLINE static __inline
|
||||
@@ -534,7 +535,8 @@ do{\
|
||||
#define su_ROUND_UP2(X,BASE) (((X) + ((BASE) - 1)) & (~((BASE) - 1)))
|
||||
|
||||
/* Alignment. Note: su_uz POW2 asserted in POD section below! */
|
||||
-#if defined __STDC_VERSION__ && __STDC_VERSION__ +0 >= 201112L
|
||||
+/* Commented out: "_Alignof() applied to an expression is a GNU extension" */
|
||||
+#if 0 && defined __STDC_VERSION__ && __STDC_VERSION__ +0 >= 201112L
|
||||
# include <stdalign.h>
|
||||
# define su_ALIGNOF(X) _Alignof(X)
|
||||
#else
|
Loading…
Reference in New Issue
Block a user