Re: [arch-projects] [pyalpm] Workaround https://bugs.python.org/issue33012

2018-05-30 Thread Chih-Hsuan Yen via arch-projects
No problem! Thanks for the fast fix and the release!


Jelle van der Waa 於 西元2018年05月30日 15:05 寫道:
> 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.
>




signature.asc
Description: OpenPGP digital signature


Re: [arch-projects] [pyalpm] Workaround https://bugs.python.org/issue33012

2018-05-30 Thread Jelle van der Waa
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


signature.asc
Description: PGP signature


[arch-projects] [pyalpm] Workaround https://bugs.python.org/issue33012

2018-05-28 Thread Chih-Hsuan Yen via arch-projects
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