--- slim-1.2.3.ebuild.old 2006-01-10 18:17:43.000000000 +0100 +++ slim-1.2.3.ebuild 2006-01-10 18:14:47.000000000 +0100 @@ -21,6 +21,16 @@ unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-cflags.patch + epatch ${FILESDIR}/${P}-daemon-configoption.patch + + if [ -e /etc/init.d/xdm ]; then + einfo "Patching /etc/init.d/xdm file..." + cp /etc/init.d/xdm . + epatch ${FILESDIR}/${P}-xdm.patch + fi + + # Remove all X11R6 references from slim.conf + sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' slim.conf } src_compile() { @@ -32,6 +42,7 @@ dodoc xinitrc.sample README TODO THEMES exeinto /etc/init.d newexe ${FILESDIR}/slim.rc slim + newexe xdm } pkg_postinst() {