--- mplayer-1.0_pre4-r4.old 2004-06-24 14:01:05.000000000 +0900 +++ mplayer-1.0_pre4-r4.ebuild 2004-06-29 02:59:45.119009384 +0900 @@ -106,6 +106,8 @@ cd ${S} + epatch ${FILESDIR}/mplayer-gcc3.4.patch + # Fix head/tail call for new coreutils epatch ${FILESDIR}/${PN}-0.90-coreutils-fixup.patch @@ -305,25 +307,25 @@ then unset ARCH local driverwasbuilt="ok" - local dirtytrick="no" - local oldwrite="${SANDBOX_WRITE}" + #local dirtytrick="no" + #local oldwrite="${SANDBOX_WRITE}" cd ${S}/drivers - if [ ${KV_MAJOR}.${KV_MINOR} = "2.6" -a ${KV_PATCH} -le 5 ]; then - einfo "Kernel < 2.6.6, have to remove your include/asm and .config" - einfo "temporarily. Putting them into ${T}, will try to restore them later." - dirtytrick="yes" - addwrite /usr/src/linux/ - mv /usr/src/linux/.config ${T}/savedconfig - mv /usr/src/linux/include/asm ${T}/savedasm - SANDBOX_WRITE="${oldwrite}" - fi + #if [ ${KV_MAJOR}.${KV_MINOR} = "2.6" -a ${KV_PATCH} -le 5 ]; then + # einfo "Kernel < 2.6.6, have to remove your include/asm and .config" + # einfo "temporarily. Putting them into ${T}, will try to restore them later." + # dirtytrick="yes" + # addwrite /usr/src/linux/ + # mv /usr/src/linux/.config ${T}/savedconfig + # mv /usr/src/linux/include/asm ${T}/savedasm + # SANDBOX_WRITE="${oldwrite}" + #fi make all || driverwasbuilt="no" - if [ ${dirtytrick} = "yes" ]; then - addwrite /usr/src/linux - mv ${T}/savedconfig /usr/src/linux/.config - mv ${T}/savedasm /usr/src/linux/include/asm - SANDBOX_WRITE="${oldwrite}" - fi + #if [ ${dirtytrick} = "yes" ]; then + # addwrite /usr/src/linux + # mv ${T}/savedconfig /usr/src/linux/.config + # mv ${T}/savedasm /usr/src/linux/include/asm + # SANDBOX_WRITE="${oldwrite}" + #fi if [ ${driverwasbuilt} = "no" ]; then die "Failed to build matrox driver!" fi