pkgsrc/net/ORBit/patches/patch-ap
grant efc8ea1d6d fix config.h to include <alloca.h> if found (ORBIT_HAVE_ALLOCA_H was
not being defined, so alloca.h was never included).

fixes build with sunpro.
2005-08-18 05:46:16 +00:00

17 lines
381 B
Text

$NetBSD: patch-ap,v 1.3 2005/08/18 05:46:16 grant Exp $
--- config.h.in.orig 2002-06-06 21:25:14.000000000 +1000
+++ config.h.in
@@ -33,9 +33,10 @@
#undef HAVE_HOSTS_ACCESS
#undef HAVE_TCPD_H
-#undef ORBIT_HAVE_ALLOCA_H
+/* Define if you have the <alloca.h> header file. */
+#undef HAVE_ALLOCA_H
-#ifdef ORBIT_HAVE_ALLOCA_H
+#if HAVE_ALLOCA_H
#include <alloca.h>
#endif