diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-01 08:05:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-01 23:57:17 +0700 |
commit | 0f7846d24d5b9008898964e38340850ba99155a3 (patch) | |
tree | d9dd831ebad7453a3f176996fe11d6eee2db62b5 /python | |
parent | ecce385615243a8d5e284c672a0d4cf375c7eef5 (diff) |
python/python3: Fix comment style.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3/patches/python3.fix-comment-style.patch | 11 | ||||
-rw-r--r-- | python/python3/python3.SlackBuild | 6 |
2 files changed, 16 insertions, 1 deletions
diff --git a/python/python3/patches/python3.fix-comment-style.patch b/python/python3/patches/python3.fix-comment-style.patch new file mode 100644 index 000000000000..03a2ee3762b2 --- /dev/null +++ b/python/python3/patches/python3.fix-comment-style.patch @@ -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 diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild index 2394565a7de7..faa3cfa2e1ef 100644 --- a/python/python3/python3.SlackBuild +++ b/python/python3/python3.SlackBuild @@ -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 |