For what it's worth, I fixed the bug on my own PPC system by doing the following:
# install stuff needed to build PHP5: apt-get install dpkg-dev build-essential apt-get build-dep php5 # download the sources: cd /usr/src apt-get source php5 #Now apply the diff from: http://forums.matrix.squiz.net/index.php?showtopic=6607 # recompile PHP5: cd php5-5.2.10.dfsg.1 dpkg-buildpackage -uc -b # manually install the deb files onto your system, choose all the packages you had installed before: cd .. dpkg -i php5_5.2.10.dfsg.1-2ubuntu6.3_all.deb php5-common_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb libapache2-mod-php5_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-cli_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-curl_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-dev_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-gd_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-mhash_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-mysql_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-recode_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-sqlite_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb php5-xsl_5.2.10.dfsg.1-2ubuntu6.3_powerpc.deb I'm not Ubuntu packaging expert so I'm probably not doing it "the right way". Also, because I didn't change the version number (I don't know how) the update mechanism might try to overwrite it with the old buggy version. -- date('Y') returns 0000 on big endian machines https://bugs.launchpad.net/bugs/493727 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
