Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jan 2016 16:10:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 204793] www/mod_python35: Fatal Python error: PyEval_SaveThread: NULL tstate
Message-ID:  <bug-204793-21822-0tCxsc1jdz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204793-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204793-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204793

--- Comment #6 from Kubilay Kocak <koobs@FreeBSD.org> ---
(In reply to SBB from comment #5)

That's a great effort (and correct, for a patch against the upstream source=
s),
though what is preferable is a patch against the port itself, creating a
files/patch-* file.

Here's how you do it:

1) # cd /path/to/category/port
2) # make clean extract
3) # cd work/path/to/file
4) # cp file file.orig
5) edit file
6) go back to port directory
7) # make makepatch

You'll find a brand new file created for you in files/ :)

Then just `svn diff` > patch.diff in the port directory to produce a diff
against the port

There is documentation on this, but it's a little ambiguous:

https://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html

Also, bonus points if you patch in the entire upstream commit (including
comment)

You can grab that here:


https://github.com/grisha/mod_python/commit/5bb5d6d0113f6bbd72966a5c1f3e6d4=
0c2e9c8fd.patch

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204793-21822-0tCxsc1jdz>