pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/proftpd



Module Name:    pkgsrc
Committed By:   nros
Date:           Sat Dec 23 23:30:58 UTC 2023

Modified Files:
        pkgsrc/net/proftpd: Makefile

Log Message:
proftpd: fix implicit declaration of memset_s to fix solaris build
mod_sftp breaks on solaris like platforms due to the declaration
of memset_s not being seen by the compiler.
Define __STDC_WANT_LIB_EXT1__ to 1 to make sure it is seen.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/net/proftpd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/proftpd/Makefile
diff -u pkgsrc/net/proftpd/Makefile:1.99 pkgsrc/net/proftpd/Makefile:1.100
--- pkgsrc/net/proftpd/Makefile:1.99    Wed Dec 20 17:05:00 2023
+++ pkgsrc/net/proftpd/Makefile Sat Dec 23 23:30:57 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2023/12/20 17:05:00 wiz Exp $
+# $NetBSD: Makefile,v 1.100 2023/12/23 23:30:57 nros Exp $
 
 .include "../../net/proftpd/Makefile.common"
 
@@ -39,6 +39,9 @@ MODULES+=     \
 
 CONFIGURE_ARGS+=       --with-shared=${MODULES:ts:}
 
+# needed for memset_s
+CFLAGS.SunOS+=         -D__STDC_WANT_LIB_EXT1__=1
+
 RCD_SCRIPTS=           proftpd
 REPLACE_PERL+=         contrib/ftpasswd
 REPLACE_PERL+=         contrib/ftpmail



Home | Main Index | Thread Index | Old Index