python/python3: Fix comment style.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-01-01 08:05:18 +07:00
parent ecce385615
commit 0f7846d24d
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- Python-3.6.0/Include/pyport.h.orig 2017-01-01 07:58:08.575202311 +0700
+++ Python-3.6.0/Include/pyport.h 2017-01-01 07:58:20.332234160 +0700
@@ -37,7 +37,7 @@
* integral synonyms. Only define the ones we actually need.
*/
-// long long is required. Ensure HAVE_LONG_LONG is defined for compatibility.
+/* long long is required. Ensure HAVE_LONG_LONG is defined for compatibility. */
#ifndef HAVE_LONG_LONG
#define HAVE_LONG_LONG
#endif

View file

@ -24,7 +24,7 @@
PRGNAM=python3
VERSION=${VERSION:-3.6.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -72,6 +72,10 @@ patch -p1 -i $CWD/patches/python3.readline.set_pre_input_hook.diff
# We don't want a large libpython*.a.
patch -p1 -i $CWD/patches/python3.no-static-library.diff
# patch for comment style
# fix build on pygobject3-python3
patch -p1 -i $CWD/patches/python3.fix-comment-style.patch
if [ "$ARCH" = "x86_64" ]; then
# Install to lib64 instead of lib.
patch -p1 -i $CWD/patches/python3.x86_64.diff