diff --git a/www-client/netsurf/patches/netsurf-2.7.patch b/www-client/netsurf/patches/netsurf-2.7.patch new file mode 100644 index 000000000..a7e08f8cc --- /dev/null +++ b/www-client/netsurf/patches/netsurf-2.7.patch @@ -0,0 +1,18 @@ +diff -urN netsurf/Makefile.defaults netsurf-haiku/Makefile.defaults +--- netsurf/Makefile.defaults 2011-03-20 23:32:44.054525952 +0000 ++++ netsurf-haiku/Makefile.defaults 2011-06-04 00:09:37.272105472 +0000 +@@ -179,12 +179,12 @@ + + + # Where to install the netsurf binary +- NETSURF_BEOS_BIN := /boot/apps/netsurf/ ++ NETSURF_BEOS_BIN := $(shell finddir B_APPS_DIRECTORY)/NetSurf/ + + # TODO:HAIKU -- not sure if ~/.netsurf applies in beos + # Where to search for NetSurf's resources after looking in ~/.netsurf and + # $NETSURFRES. It must have a trailing / +- NETSURF_BEOS_RESOURCES := /boot/apps/netsurf/res/ ++ NETSURF_BEOS_RESOURCES := $(shell finddir B_APPS_DIRECTORY)/NetSurf/res/ + + # Enable NetSurf's use of libsvgtiny for displaying SVGs + # Valid options: YES, NO, AUTO