Created attachment 327290 [details] suhosin-patch.out Hello! Today i update my system, and see the php suhosin patch fails to patch. Sorry for my bad english!
Sorry. Forgot to remove suhosin for this version. Done now in CVS.
So this version will not provide suhosin ?
We only provide the suhosin patch when upstream provides it. Generally we consider it a dead project and to be avoided.
1. issue command: ebuild /usr/portage/dev-lang/php/php-5.3.18.ebuild unpack 2. change to the work directory 3. edit the suhosin patch there 3a. search for lsapi 3b. replace 2004 with 2012 in the lines referring the original file after insertion 4. ebuild /usr/portage/dev-lang/php/php-5.3.18.ebuild prepare - the patch should apply clean now 5. compile, install, qmerge, clean Regards: Dw.
(In reply to comment #4) > 1. issue command: ebuild /usr/portage/dev-lang/php/php-5.3.18.ebuild unpack > 2. change to the work directory > 3. edit the suhosin patch there > 3a. search for lsapi > 3b. replace 2004 with 2012 in the lines referring the original file after > insertion > 4. ebuild /usr/portage/dev-lang/php/php-5.3.18.ebuild prepare - the patch > should apply clean now > 5. compile, install, qmerge, clean > > Regards: > Dw. Please attach a fixed patch.
Created attachment 327492 [details, diff] Suhosin patch modified for php-5.3.18 Suhosin patch modified for php-5.3.18
Created attachment 327494 [details, diff] Suhosin patch diff for php-5.3.18 Suhosin patch diff for php-5.3.18
which of both? big or small ?
(In reply to comment #8) > which of both? big or small ? Big is the modified patch itself, the small shows the modifications to the original patch. You should either replace the original with the big one or apply the small after unpack in $WORKDIR.