Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 11:28:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 238821] lang/python35: Fix packaging on GCC architectures
Message-ID:  <bug-238821-21822-ZL5ubLZ4lr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238821-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238821-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=3D238821

--- Comment #11 from Piotr Kubaj <pkubaj@FreeBSD.org> ---
(In reply to Kubilay Kocak from comment #10)
Yes, it's failing because of the error in my 1st comment:
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.7/Modules/_pickle.c: In
function 'PyMemoTable_Copy':
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.7/Modules/_pickle.c:677:
error: 'for' loop initial declaration used outside C99 mode
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.7/Modules/_pickle.c: In
function '_pickle_PicklerMemoProxy_copy_impl':
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.7/Modules/_pickle.c:4207:
error: 'for' loop initial declaration used outside C99 mode
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.7/Modules/_pickle.c: In
function 'Unpickler_set_memo':
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.7/Modules/_pickle.c:6794:
error: 'for' loop initial declaration used outside C99 mode
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.7/Modules/_pickle.c:6842:
error: 'for' loop initial declaration used outside C99 mode

This is what my patch fixes.

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



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