Date: Sun, 14 Jan 2007 11:38:42 +0100 (CET) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/107903: [audio/libao] Improve standards of ao.h Message-ID: <20070114103842.9CBB61CC8D@palm.hoeg.nl> Resent-Message-ID: <200701141040.l0EAeMCT020125@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107903 >Category: ports >Synopsis: [audio/libao] Improve standards of ao.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 14 10:40:22 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Dec 10 13:48:08 CET 2006 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: Libao is a library written in C to ease the support for audio frameworks on a lot of platforms. The most used header file shipped with libao, ao.h, contains a prototype that causes a warning (or error) when trying to build against it using -Wstrict-prototypes. This bug has been fixed in their own repository: https://trac.xiph.org/changeset/12204 >How-To-Repeat: Try to build an application using libao with -Wstrict-prototypes specified. >Fix: Place the file below in the 'files' directory of the port. --- include/ao/ao.h Wed Jan 8 04:48:54 2003 +++ include/ao/ao.h Sun Jan 14 11:31:17 2007 @@ -134,7 +134,7 @@ /* driver information */ int ao_driver_id(const char *short_name); -int ao_default_driver_id(); +int ao_default_driver_id(void); ao_info *ao_driver_info(int driver_id); ao_info **ao_driver_info_list(int *driver_count); char *ao_file_extension(int driver_id); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070114103842.9CBB61CC8D>