From 0a9b28d3e079dbc81c5cd110d5759f5d73d8555b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 26 Jul 2012 17:55:03 +0100 Subject: [PATCH 1/2] add missing include --- cocoa/selection.m | 1 + 1 file changed, 1 insertion(+) diff --git a/cocoa/selection.m b/cocoa/selection.m index d894ed40b..cb6a936d6 100644 --- a/cocoa/selection.m +++ b/cocoa/selection.m @@ -21,6 +21,7 @@ #import "cocoa/BrowserViewController.h" #import "desktop/selection.h" +#import "render/box.h" static NSMutableString *cocoa_clipboard_string; From d3b88090204682944e5148ee008e8df08c587f97 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 26 Jul 2012 18:01:29 +0100 Subject: [PATCH 2/2] add libdom --- cocoa/Makefile.target | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target index 0fea50151..b3ababd91 100644 --- a/cocoa/Makefile.target +++ b/cocoa/Makefile.target @@ -5,7 +5,7 @@ POSTEXES += NetSurf.app LDFLAGS += -L/usr/lib - LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libhubbub libcss) + LDFLAGS += $(shell $(PKG_CONFIG) --libs libxml-2.0 libhubbub libcss libdom) LDFLAGS += -L/usr/X11/lib LDFLAGS += -lm -lxml2 -lcurl -liconv LDFLAGS += -lssl -lcrypto @@ -16,7 +16,7 @@ CFLAGS += -g -Os -Wno-uninitialized - CFLAGS += $(shell $(PKG_CONFIG) --cflags libxml-2.0 libhubbub libcss) + CFLAGS += $(shell $(PKG_CONFIG) --cflags libxml-2.0 libhubbub libcss libdom) # shut up zconf.h and zlib.h #CFLAGS += -D_LARGEFILE64_SOURCE=1