openbsd-ports/www/chromium/patches/patch-net_base_net_util_cc
espie 5cb978edde cut the "monster patches" into small pieces. pval can fix it to his liking
if he comes back.
In the mean time, fix build of chromium by adding the required
-I/usr/local/includes to gyp glue where needed.
2010-12-13 09:51:45 +00:00

15 lines
388 B
Plaintext

$OpenBSD: patch-net_base_net_util_cc,v 1.1 2010/12/13 09:51:46 espie Exp $
--- net/base/net_util.cc.orig Tue Mar 30 07:28:07 2010
+++ net/base/net_util.cc Sun Nov 28 00:11:27 2010
@@ -24,8 +24,9 @@
#include <fcntl.h>
#include <ifaddrs.h>
#include <netdb.h>
-#include <net/if.h>
#include <sys/socket.h>
+#include <net/if.h>
+#include <netinet/in.h>
#endif
#include "base/base64.h"