mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
python/python3: Fix comment style.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ecce385615
commit
0f7846d24d
2 changed files with 16 additions and 1 deletions
11
python/python3/patches/python3.fix-comment-style.patch
Normal file
11
python/python3/patches/python3.fix-comment-style.patch
Normal 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
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=python3
|
PRGNAM=python3
|
||||||
VERSION=${VERSION:-3.6.0}
|
VERSION=${VERSION:-3.6.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
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.
|
# We don't want a large libpython*.a.
|
||||||
patch -p1 -i $CWD/patches/python3.no-static-library.diff
|
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
|
if [ "$ARCH" = "x86_64" ]; then
|
||||||
# Install to lib64 instead of lib.
|
# Install to lib64 instead of lib.
|
||||||
patch -p1 -i $CWD/patches/python3.x86_64.diff
|
patch -p1 -i $CWD/patches/python3.x86_64.diff
|
||||||
|
|
Loading…
Reference in a new issue