pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/gopher Use "int" in place of socklen_t on Interix.
details: https://anonhg.NetBSD.org/pkgsrc/rev/41d390a6b6ab
branches: trunk
changeset: 502698:41d390a6b6ab
user: tv <tv%pkgsrc.org@localhost>
date: Tue Nov 08 14:07:11 2005 +0000
description:
Use "int" in place of socklen_t on Interix.
diffstat:
net/gopher/hacks.mk | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r a82893d2a83b -r 41d390a6b6ab net/gopher/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gopher/hacks.mk Tue Nov 08 14:07:11 2005 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2005/11/08 14:07:11 tv Exp $
+
+###
+### Define socklen_t on platforms without it, until maintainer adds
+### this check to autoconf tests
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+= socklen-int
+CPPFLAGS+= -Dsocklen_t=int
+.endif
Home |
Main Index |
Thread Index |
Old Index