--- src/Makefile.in.orig	2013-03-17 11:20:10 UTC
+++ src/Makefile.in
@@ -598,7 +598,7 @@ pkgdata_DATA = gv_system.ad $(am__append_1)
 top_srcdir = @top_srcdir@
 bin_SCRIPTS = gv-update-userconfig
 pkgdata_DATA = gv_system.ad $(am__append_1)
-appdefaultsdir = $(pkgdatadir)
+appdefaultsdir = $(libdir)/app-defaults
 appdefaults_DATA = ../GV
 EXTRA_DIST = ad2c gv_font_res.dat gv_font_res-I18N_mb.dat gv_layout_res.dat gv-i18n.pl gv_misc_res.dat Aaa_bison.yacc \
            gv_current.xbm gv_doc.xbm gv_empty.xbm gv_even.xbm gv_icon.xbm gv_odd.xbm \
@@ -1134,7 +1134,7 @@ gv_intern_res_unix.dat :
 	@echo ""							>> gv_intern_res_unix.dat
 	@echo "GV.gsInterpreter:	gs" >> gv_intern_res_unix.dat
 	@echo "GV.gsCmdScanPDF:	gs -dNODISPLAY -dQUIET -sPDFname=%s -sDSCname=%s %s pdf2dsc.ps -c quit" >> gv_intern_res_unix.dat
-	@echo "GV.gsCmdConvPDF:	gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pswrite -sOutputFile=%s -f %s -c save pop quit" >> gv_intern_res_unix.dat
+	@echo "GV.gsCmdConvPDF:	gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=ps2write -sOutputFile=%s -f %s -c save pop quit" >> gv_intern_res_unix.dat
 	@echo "GV.gsX11Device:		-sDEVICE=x11" >> gv_intern_res_unix.dat
 	@echo "GV.gsX11AlphaDevice:	-sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000 -dNOPLATFONTS" >> gv_intern_res_unix.dat
 	@echo "GV.gsSafeDir:		True" >> gv_intern_res_unix.dat
