pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/spamdyke Sprinkle static on an inline. Fixes Smar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8c2f99a6a26
branches:  trunk
changeset: 317007:d8c2f99a6a26
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Dec 25 16:24:26 2018 +0000

description:
Sprinkle static on an inline. Fixes SmartOS and Ubuntu bulk builds (that
somehow don't have any -On in CFLAGS).

diffstat:

 mail/spamdyke/distinfo            |   4 ++--
 mail/spamdyke/patches/patch-md5.c |  11 ++++++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 33cdceb878b4 -r d8c2f99a6a26 mail/spamdyke/distinfo
--- a/mail/spamdyke/distinfo    Tue Dec 25 09:49:31 2018 +0000
+++ b/mail/spamdyke/distinfo    Tue Dec 25 16:24:26 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.33 2018/07/29 08:41:18 schmonz Exp $
+$NetBSD: distinfo,v 1.34 2018/12/25 16:24:26 schmonz Exp $
 
 SHA1 (spamdyke-5.0.1.tgz) = 4de76158a98b3ee33e7002160446ae36de7c96d2
 RMD160 (spamdyke-5.0.1.tgz) = 7237108ebf0ff2a5c02b7e305985a11e93720f8d
@@ -7,5 +7,5 @@
 SHA1 (patch-configuration.c) = 81548b8a7cc557446d3ecfca3546a129b04a2173
 SHA1 (patch-configure) = 0ff7ecd6b73445664243918001368a73186159b3
 SHA1 (patch-configure.ac) = 5b932db1992c268e80fced15d032d369d1dc40ce
-SHA1 (patch-md5.c) = f61cd888b6739c014a6de72d55589672d65c25cc
+SHA1 (patch-md5.c) = d30f421e28fbc6b87c4dc78f4a2e7f5048c61a45
 SHA1 (patch-spamdyke.h) = 689d4774d78b60a4dd2fbb62a99b218aca9b500b
diff -r 33cdceb878b4 -r d8c2f99a6a26 mail/spamdyke/patches/patch-md5.c
--- a/mail/spamdyke/patches/patch-md5.c Tue Dec 25 09:49:31 2018 +0000
+++ b/mail/spamdyke/patches/patch-md5.c Tue Dec 25 16:24:26 2018 +0000
@@ -1,9 +1,18 @@
-$NetBSD: patch-md5.c,v 1.1 2017/07/09 16:16:32 schmonz Exp $
+$NetBSD: patch-md5.c,v 1.2 2018/12/25 16:24:26 schmonz Exp $
 
 Support PKGSRC_USE_SSP.
 
 --- md5.c.orig 2015-04-30 00:53:36.000000000 +0000
 +++ md5.c
+@@ -128,7 +128,7 @@ unsigned char *htole(unsigned char *dest
+  * Return value:
+  *   X circular left-shifted n positions
+  */
+-inline uint32_t lshift(uint32_t X, int n)
++static inline uint32_t lshift(uint32_t X, int n)
+   {
+   return((n > 0) ? ((X << n) | (X >> (32 - n))) : X);
+   }
 @@ -165,7 +165,7 @@ unsigned char *md5(unsigned char destina
    if (pad_len <= 0)
      pad_len += 64;



Home | Main Index | Thread Index | Old Index