patching /usr/ports/lang/python23

Sascha Gresk Sascha.Gresk at Opensource-Consult.Com
Tue Oct 17 06:04:57 PDT 2006


cd /usr/ports/lang/python23
cd files/
fetch http://python.org/files/news/security/PSF-2006-001/patch-2.3.txt
mv patch-2.3.txt PSF-2006-001_patch-2.3.txt
vi Makefile
PORTNAME=       python23-PSF-2006-001

make PATCH_DEBUG=yes


------ seems to look okay:

===>   Applying FreeBSD patch /usr/ports/lang/python23/files/patch- 
PSF-2006-001_patch-2.3.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: Objects/unicodeobject.c
|===================================================================
|--- Objects/unicodeobject.c    (Revision 52281)
|+++ Objects/unicodeobject.c    (Arbeitskopie)
--------------------------
Patching file Objects/unicodeobject.c using Plan A...
Hunk #1 succeeded at 1888.
Hunk #2 succeeded at 1934.
Hunk #3 succeeded at 1946.
Hunk #4 succeeded at 1972.
done



More information about the freebsd-python mailing list