[issue26854] missing header on android for the ossaudiodev module

2016-04-26 Thread Stefan Krah

Stefan Krah added the comment:

Since Android is the only known system with an odd include path, I
prefer the short patch. In general, let's try to keep patches as
short as possible (which Xavier is already doing).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26854] missing header on android for the ossaudiodev module

2016-04-26 Thread Chi Hsuan Yen

Chi Hsuan Yen added the comment:

Maybe checking sys/soundcard.h and linux/soundcard.h in configure.ac is better?

[1] 
https://github.com/yan12125/python3-android/blob/cpython-hg/mk/python/soundcard-h-path.patch

--
nosy: +Chi Hsuan Yen

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26854] missing header on android for the ossaudiodev module

2016-04-26 Thread Stefan Krah

Stefan Krah added the comment:

Thanks!

--
assignee:  -> skrah
nosy: +skrah
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26854] missing header on android for the ossaudiodev module

2016-04-26 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d943e6f7c9f3 by Stefan Krah in branch 'default':
Issue #26854: Android has a different include path for soundcard.h.
https://hg.python.org/cpython/rev/d943e6f7c9f3

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26854] missing header on android for the ossaudiodev module

2016-04-26 Thread Xavier de Gaye

New submission from Xavier de Gaye:

On linux /usr/include/sys/soundcard.h includes /usr/include/linux/soundcard.h 
while on android (also a linux) there is only /usr/include/linux/soundcard.h

Patch attached.

--
components: Cross-Build
files: ossaudiodev.patch
keywords: patch
messages: 264276
nosy: Alex.Willmer, xdegaye
priority: normal
severity: normal
status: open
title: missing header on android for the ossaudiodev module
type: compile error
versions: Python 3.6
Added file: http://bugs.python.org/file42605/ossaudiodev.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com