Edit

IABSD.fr/ports/audio/mpegaudio/patches/patch-common_h

Branch :

  • Show log

    Commit

  • Author : avsm
    Date : 2003-04-14 09:46:06
    Hash : a2f7849d
    Message : - fix another static buffer overflow in fgets - use update-patches

  • audio/mpegaudio/patches/patch-common_h
  • $OpenBSD: patch-common_h,v 1.1 2003/04/14 09:46:06 avsm Exp $
    --- common.h.orig	Wed Jan  5 01:42:00 1994
    +++ common.h	Mon Apr 14 10:41:07 2003
    @@ -73,7 +73,7 @@ common.h
     #endif
     
     #ifdef  UNIX
    -#define         TABLES_PATH     "tables"  /* to find data files */
    +#define         TABLES_PATH     PREFIX "/lib/mpegaudio/tables" /* to find data files */
     /* name of environment variable holding path of table files */
     #define         MPEGTABENV      "MPEGTABLES"
     #define         PATH_SEPARATOR  "/"        /* how to build paths */
    @@ -116,6 +116,7 @@ common.h
     
     #ifdef  UNIX
     #include        <unistd.h>
    +#include        <stdlib.h>
     #endif  /* UNIX */
     
     #ifdef  MACINTOSH