pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/libmcrypt
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Jul 16 09:58:42 UTC 2025
Modified Files:
pkgsrc/security/libmcrypt: Makefile distinfo
Added Files:
pkgsrc/security/libmcrypt/patches: patch-configure
Log Message:
libmcrypt: Various GCC 14 fixes.
Add TEST_TARGET while here. It doesn't bode well that a lot of the tests fail,
but this software is nearly 20 years old so continuing to use it is incredibly
suspect.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/security/libmcrypt/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/security/libmcrypt/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/libmcrypt/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/libmcrypt/Makefile
diff -u pkgsrc/security/libmcrypt/Makefile:1.23 pkgsrc/security/libmcrypt/Makefile:1.24
--- pkgsrc/security/libmcrypt/Makefile:1.23 Fri Mar 20 11:58:17 2020
+++ pkgsrc/security/libmcrypt/Makefile Wed Jul 16 09:58:41 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/03/20 11:58:17 nia Exp $
+# $NetBSD: Makefile,v 1.24 2025/07/16 09:58:41 jperkin Exp $
DISTNAME= libmcrypt-2.5.8
CATEGORIES= security devel
@@ -15,6 +15,14 @@ GNU_CONFIGURE= yes
INSTALLATION_DIRS= include/mutils
+.include "../../mk/bsd.prefs.mk"
+
+.if ${PKGSRC_COMPILER:Mgcc}
+CFLAGS+= -Wno-error=implicit-int
+.endif
+
+TEST_TARGET= check
+
post-install:
rmdir ${DESTDIR}${PREFIX}/lib/libmcrypt
Index: pkgsrc/security/libmcrypt/distinfo
diff -u pkgsrc/security/libmcrypt/distinfo:1.13 pkgsrc/security/libmcrypt/distinfo:1.14
--- pkgsrc/security/libmcrypt/distinfo:1.13 Tue Oct 26 11:17:14 2021
+++ pkgsrc/security/libmcrypt/distinfo Wed Jul 16 09:58:41 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 11:17:14 nia Exp $
+$NetBSD: distinfo,v 1.14 2025/07/16 09:58:41 jperkin Exp $
BLAKE2s (libmcrypt-2.5.8.tar.bz2) = 48458e03a57523fcc49d5439f0052e7bbbdbf608e44b3ff98466cbd1a08244bc
SHA512 (libmcrypt-2.5.8.tar.bz2) = 6c05c42767401d66af67b0922b207d17cdb1c3efdbfdfb5b0c2e651821c48a8a6c6749debfa0206091b8a801f538fabe9f7d95ebc86d82c6b84c8001031d50fe
Size (libmcrypt-2.5.8.tar.bz2) = 875425 bytes
+SHA1 (patch-configure) = 20758eb027fa8da927d544763d6fb549aeda47af
Added files:
Index: pkgsrc/security/libmcrypt/patches/patch-configure
diff -u /dev/null pkgsrc/security/libmcrypt/patches/patch-configure:1.1
--- /dev/null Wed Jul 16 09:58:42 2025
+++ pkgsrc/security/libmcrypt/patches/patch-configure Wed Jul 16 09:58:42 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-configure,v 1.1 2025/07/16 09:58:42 jperkin Exp $
+
+Fix configure test.
+
+--- configure.orig 2025-07-16 09:49:19.556194002 +0000
++++ configure
+@@ -5004,6 +5004,7 @@ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+ #include <ctype.h>
++#include <stdlib.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
Home |
Main Index |
Thread Index |
Old Index