From 0f7846d24d5b9008898964e38340850ba99155a3 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 1 Jan 2017 08:05:18 +0700 Subject: python/python3: Fix comment style. Signed-off-by: Willy Sudiarto Raharjo --- python/python3/patches/python3.fix-comment-style.patch | 11 +++++++++++ python/python3/python3.SlackBuild | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 python/python3/patches/python3.fix-comment-style.patch (limited to 'python') 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 0000000000..03a2ee3762 --- /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 2394565a7d..faa3cfa2e1 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 -- cgit v1.2.3