File suspend-buildfixes.diff of Package suspend.501

Index: Makefile.am
===================================================================
--- Makefile.am.orig
+++ Makefile.am
@@ -77,7 +77,7 @@ common_s2ram_libs=
 
 if ENABLE_SPLASHY
 AM_CFLAGS+=\
-	${SPLASHY_CFLAGS}
+	${SPLASHY_CFLAGS} $(shell pkg-config --cflags glib-2.0)
 common_s2disk_libs+=\
 	${SPLASHY_LIBS}
 endif
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -260,7 +260,7 @@ fi
 
 # workaround for old autoconf
 if test -z "${docdir}"; then
-	docdir="\$(datarootdir)/doc/\$(PACKAGE_NAME)"
+	docdir="\$(datadir)/doc/packages/\$(PACKAGE_NAME)"
 	AC_SUBST([docdir])
 fi
 # end workaround