On 2008/11/09 17:04, Michael Warmuth wrote:
> Hello,
>
> the flavor apop of solid-pop3d does not work on sparc64.
>
> The problem is caused by failing detection of big
> endianess in md5.c (Linux-specific?):
A simpler fix, and, after some head-scratching, repair PKGNAME
(unless I miss something not mentioned in commit logs as to why
it happened like that...)
ok?
Index: Makefile
===
RCS file: /cvs/ports/mail/solid-pop3d/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile2 Jul 2008 14:32:30 - 1.17
+++ Makefile11 Nov 2008 15:48:52 -
@@ -4,7 +4,7 @@ COMMENT=flexible POP3 server
VERSION= 0.15
DISTNAME= solid-pop3d-${VERSION}
-PKGNAME= ${DISTNAME}p0 # also see below
+PKGNAME= ${DISTNAME}p3
CATEGORIES=mail
MASTER_SITES= ftp://dione.ids.pl/pub/solidpop3d/
@@ -31,7 +31,6 @@ NO_REGRESS= Yes
# enable support for APOP authentication.
.if ${FLAVOR:L:Mapop}
CONFIGURE_ARGS+= --enable-userconfig --enable-apop
-PKGNAME=${DISTNAME}p2
.else
CONFIGURE_ARGS+= --disable-userconfig --disable-apop
.endif
Index: patches/patch-src_md5_c
===
RCS file: patches/patch-src_md5_c
diff -N patches/patch-src_md5_c
--- /dev/null 1 Jan 1970 00:00:00 -
+++ patches/patch-src_md5_c 11 Nov 2008 15:48:52 -
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- src/md5.c.orig Tue Nov 11 15:42:29 2008
src/md5.c Tue Nov 11 15:42:38 2008
+@@ -38,6 +38,7 @@
+ #endif
+
+ #include "md5.h"
++#include "config.h"
+
+ #ifdef _LIBC
+ #include