# HG changeset patch # User nenolod # Date 1172568426 28800 # Node ID ff62f5530a36b769bb6a3229dcaa2f33b4fb085a # Parent 7c04570bf809525be55963468fd5b9e2ec5da174 [svn] - freebsd portability fixes from "The_Paya". Closes #814. diff -r 7c04570bf809 -r ff62f5530a36 ChangeLog --- a/ChangeLog Mon Feb 26 05:14:22 2007 -0800 +++ b/ChangeLog Tue Feb 27 01:27:06 2007 -0800 @@ -1,3 +1,12 @@ +2007-02-26 13:14:22 +0000 Strahinja Kustudic + revision [1564] + fixed where srobbler dumps files. + trunk/src/scrobbler/gerpok.c | 2 +- + trunk/src/scrobbler/hatena.c | 2 +- + trunk/src/scrobbler/scrobbler.c | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + + 2007-02-26 11:40:29 +0000 William Pitcock revision [1562] - path fixes diff -r 7c04570bf809 -r ff62f5530a36 configure.ac --- a/configure.ac Mon Feb 26 05:14:22 2007 -0800 +++ b/configure.ac Tue Feb 27 01:27:06 2007 -0800 @@ -876,7 +876,9 @@ AC_CHECK_HEADERS(wchar.h) AC_CHECK_HEADERS(fts.h) -AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul lrintf]) +AC_CHECK_DECL([lrintf],[AC_DEFINE(HAVE_LRINTF,1,[Define this if the 'lrintf' function is declared in math.h])],[ + AC_CHECK_FUNCS([lrintf])]) +AC_CHECK_FUNCS([mkdtemp getmntinfo statvfs strtoul]) if test "${ac_cv_header_linux_cdrom_h}" = "yes" || test "${ac_cv_header_sys_cdio_h}" = "yes" diff -r 7c04570bf809 -r ff62f5530a36 src/aosd/ghosd.h --- a/src/aosd/ghosd.h Mon Feb 26 05:14:22 2007 -0800 +++ b/src/aosd/ghosd.h Tue Feb 27 01:27:06 2007 -0800 @@ -10,7 +10,7 @@ #include -#include /* MAXINT */ +#include /* INT_MAX */ #include /* timeval */ typedef struct _Ghosd Ghosd; @@ -32,7 +32,7 @@ Ghosd *ghosd_new(void); void ghosd_destroy(Ghosd* ghosd); -#define GHOSD_COORD_CENTER MAXINT +#define GHOSD_COORD_CENTER INT_MAX void ghosd_set_transparent(Ghosd *ghosd, int transparent); void ghosd_set_position(Ghosd *ghosd, int x, int y, int width, int height); void ghosd_set_render(Ghosd *ghosd, GhosdRenderFunc render_func, diff -r 7c04570bf809 -r ff62f5530a36 src/tta/id3.c --- a/src/tta/id3.c Mon Feb 26 05:14:22 2007 -0800 +++ b/src/tta/id3.c Tue Feb 27 01:27:06 2007 -0800 @@ -1,5 +1,4 @@ #include -#include #include #include "ttalib.h" #include "id3genre.h"