pkgsrc/audio/faad2/patches/patch-ad
tnn a712a8750b - Update to faad2-2.7
- set LICENSE to gnu-gpl-v2
- install faad(1) manpage

2009-02-02 - Version 2.7
* DAB+ support
* Use public headers internally to prevent duplicate declarations
* Explicitly typedef all types as signed
* Made sure MAIN prediction can't be started after the first frame
* Lot's of compilation issues solved
* Bugfix in SBR envelope border calculation
2009-08-10 00:01:55 +00:00

22 lines
548 B
Text

$NetBSD: patch-ad,v 1.4 2009/08/10 00:01:56 tnn Exp $
--- libfaad/common.h.orig 2009-02-05 01:51:03.000000000 +0100
+++ libfaad/common.h
@@ -41,7 +41,7 @@ extern "C" {
#include "neaacdec.h"
-#if 1
+#if 0
#define INLINE __inline
#else
#define INLINE inline
@@ -330,7 +330,7 @@ char *strchr(), *strrchr();
#ifndef HAVE_LRINTF
#define HAS_LRINTF
// from http://www.stereopsis.com/FPU.html
- static INLINE int lrintf(float f)
+ static INLINE long int lrintf(float f)
{
int i;
__asm__ __volatile__ (