From owner-freebsd-python@freebsd.org Fri Jan 8 16:10:43 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCDFDA67F5A for ; Fri, 8 Jan 2016 16:10:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B7ED11FE6 for ; Fri, 8 Jan 2016 16:10:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B6DF0A67F58; Fri, 8 Jan 2016 16:10:43 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6859A67F57 for ; Fri, 8 Jan 2016 16:10:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A76001FE5 for ; Fri, 8 Jan 2016 16:10:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u08GAhtb082940 for ; Fri, 8 Jan 2016 16:10:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 204793] www/mod_python35: Fatal Python error: PyEval_SaveThread: NULL tstate Date: Fri, 08 Jan 2016 16:10:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 16:10:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204793 --- Comment #6 from Kubilay Kocak --- (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.=