openbsd-ports/graphics/libgphoto2/patches/patch-configure
2012-02-27 13:46:10 +00:00

12 lines
380 B
Plaintext

$OpenBSD: patch-configure,v 1.7 2012/02/27 13:46:10 ajacoutot Exp $
--- configure.orig Mon Feb 27 08:46:52 2012
+++ configure Mon Feb 27 08:47:07 2012
@@ -19147,6 +19147,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$as_echo "yes" >&6; }
cat >> "libgphoto2/gphoto2-endian.h" << EOF
/* ntohl and relatives live here */
+#include <netinet/in.h>
#include <arpa/inet.h>
EOF