$NetBSD: patch-netsurf,v 1.1.1.1 2008/06/23 15:05:09 joerg Exp $ --- netsurf.orig 2007-02-06 17:52:47.000000000 +0100 +++ netsurf @@ -12,6 +12,8 @@ else LOG=netsurf-log.txt fi -NETSURFRES=`dirname $0`/gtk/res/ +NETBASEDIR=`dirname $0`/../share/netsurf + +NETSURFRES=$NETBASEDIR/gtk/res/ export NETSURFRES -exec `dirname $0`/nsgtk "$@" 2>$LOG +cd $NETBASEDIR && exec $NETBASEDIR/nsgtk "$@" 2>$LOG