[arch-projects] [pyalpm] Workaround https://bugs.python.org/issue33012
Jelle van der Waa
jelle at vdwaa.nl
Wed May 30 07:05:38 UTC 2018
On 05/28/18 at 03:25pm, Chih-Hsuan Yen via arch-projects wrote:
> This fixes building with GCC 8
> ---
> setup.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/setup.py b/setup.py
> index 887b7a1..ba3ae2a 100644
> --- a/setup.py
> +++ b/setup.py
> @@ -9,7 +9,7 @@ os.putenv('LC_CTYPE', 'en_US.UTF-8')
> pyalpm_version = '0.8'
>
> cflags = ['-Wall', '-Wextra', '-Werror',
> - '-Wno-unused-parameter',
> + '-Wno-unused-parameter', '-Wno-cast-function-type',
> '-std=c99', '-D_FILE_OFFSET_BITS=64']
>
> alpm = Extension('pyalpm',
> --
> 2.17.0
Sorry, I've already fixed this in master before I was aware of this
patch.
--
Jelle van der Waa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-projects/attachments/20180530/522b43e9/attachment.asc>
More information about the arch-projects
mailing list