ports/107903: [audio/libao] Improve standards of ao.h

Ed Schouten ed at fxq.nl
Sun Jan 14 10:40:30 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list