<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f5f2ddf5990f98d93e70111e893f0653449c3e98">https://github.com/macports/macports-ports/commit/f5f2ddf5990f98d93e70111e893f0653449c3e98</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new f5f2ddf5990 cryptlib: Update to 3.4.7
</span>f5f2ddf5990 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f5f2ddf5990f98d93e70111e893f0653449c3e98
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Thu Jun 27 00:37:17 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> cryptlib: Update to 3.4.7
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/69899
</span>---
devel/cryptlib/Portfile | 10 +++++-----
devel/cryptlib/files/implicit.patch | 13 +++++++++++++
devel/cryptlib/files/patch-makefile.diff | 18 +++++++++---------
3 files changed, 27 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cryptlib/Portfile b/devel/cryptlib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 40c3c73f1cd..8d7c2d9f463 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cryptlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cryptlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,15 +12,14 @@ PortGroup conflicts_build 1.0
</span> PortGroup muniversal 1.0
name cryptlib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.4.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.4.7
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 64b6ad73150b2dd30521cd25064786918adba4ed \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c72cfd103eb9fa9f205c14c84ce4fbdf3ead1e2447e830b164dc335141f747bd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 6826568
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 347b1dfd27c5b9e4c47fad759ad3b25fb667915b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e3f617ea55b1c2c6ea1a27ccc7c8dd4972d3428dfbb0c8ba52a3e4a3ea98ada6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 7041396
</span>
set branch [join [lrange [split ${version} .] 0 1] .]
categories devel security crypto
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers {ryandesign @ryandesign} openmaintainer
license {Sleepycat Restrictive}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,6 +48,7 @@ pre-extract {
</span> extract.mkdir yes
patchfiles-append compiler.patch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append implicit.patch
</span> patchfiles-append patch-makefile.diff
# Build fails when compiler is gcc or llvm-gcc; warnings are printed when compiler is clang.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cryptlib/files/implicit.patch b/devel/cryptlib/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..86c00a1bf0a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cryptlib/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: call to undeclared function 'select'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- test/test.h.orig 2023-07-15 01:06:00.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ test/test.h 2023-12-28 01:14:35.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -378,6 +378,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define THREAD_SLEEP( ms ) Sleep( ms )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef unsigned ( __stdcall *THREAD_FUNC )( void *arg );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined( UNIX_THREADS )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <sys/time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define THREAD_HANDLE pthread_t
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define THREAD_EXIT() pthread_exit( ( void * ) 0 )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define THREAD_SELF() pthread_self()
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cryptlib/files/patch-makefile.diff b/devel/cryptlib/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 905ecafc91f..6acd00f5cc3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cryptlib/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cryptlib/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +1,15 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- makefile.orig 2021-09-11 00:27:18.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ makefile 2021-11-25 09:51:35.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -92,7 +92,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Standard build flags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- makefile.orig 2023-07-04 11:46:00.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ makefile 2023-12-28 00:00:31.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -94,7 +94,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEBUG_FLAGS = -ggdb3 -fno-omit-frame-pointer -Og
</span>
-CFLAGS = -c -D__UNIX__ -DNDEBUG -I.
+CFLAGS += -c -D__UNIX__ -DNDEBUG -I.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS_DEBUG = -c -D__UNIX__ -I. -g -O1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS_DEBUGGCC = -c -D__UNIX__ -I. -ggdb3 -fno-omit-frame-pointer -O1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS_DEBUG = -c -D__UNIX__ -I. -g -Og
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS_DEBUGGCC = -c -D__UNIX__ -I. $(DEBUG_FLAGS)
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -553,6 +553,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -583,6 +583,8 @@
</span> if [ -f "$(DYLIBNAME)" ] ; then \
cp "$(DYLIBNAME)" "$(DESTDIR)$(PATH_LIB)" ; \
chmod 755 "$(DESTDIR)$(PATH_LIB)/$(DYLIBNAME)" ; \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,7 @@
</span> fi
cp cryptlib.h "$(DESTDIR)$(PATH_INCLUDE)"
chmod 644 "$(DESTDIR)$(PATH_INCLUDE)/cryptlib.h"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1716,8 +1718,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1798,8 +1800,9 @@
</span> fi
$(DYLIBNAME): $(OBJS) $(EXTRAOBJS) $(TESTOBJS)
</pre><pre style='margin:0'>
</pre>