pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/28439: pkgsrc/mail/libesmtp needs changes to compile on IRIX 5.3
>Number: 28439
>Category: pkg
>Synopsis: pkgsrc/mail/libesmtp needs changes to compile on IRIX 5.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 27 21:48:00 +0000 2004
>Originator: Georg Schwarz
>Release: current pkgsrc
>Organization:
>Environment:
>Description:
- IRIX 5.3 does not have getaddrinfo()
- getaddrinfo.c needs to include sys/types.h in order for type uid_t to be
known in sys/socket.h (might be needed on some other OSes as well, and should
not hurt on others).
>How-To-Repeat:
>Fix:
--- Makefile.orig Sat Nov 27 21:55:41 2004
+++ Makefile Sat Nov 27 22:04:18 2004
@@ -21,6 +21,11 @@
CONFIGURE_ARGS+= --enable-all
CONFIGURE_ARGS+= --disable-isoc
+.include "../../mk/bsd.prefs.mk"
+.if !empty(LOWER_OPSYS:Mirix5*)
+CONFIGURE_ARGS+= --enable-emulate-getaddrinfo
+.endif
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
and in addition the following patch (which I have also sent to the author of
libesmtp):
--- getaddrinfo.c.orig1 Sat Nov 27 22:35:34 2004
+++ getaddrinfo.c Sat Nov 27 22:36:05 2004
@@ -36,6 +36,7 @@
#include <ctype.h>
#include <errno.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Home |
Main Index |
Thread Index |
Old Index