diff options
author | miwi <miwi@FreeBSD.org> | 2007-02-07 02:49:59 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-02-07 02:49:59 +0800 |
commit | 57d9518083007346bdf30f6401bbcfd91b5186ac (patch) | |
tree | 1fd8792d702eb9a7e829bd606e5d486db7d47df2 /net/sipxportlib | |
parent | fcce29b75509f8184b89c8451a3f2bacb1755c0e (diff) | |
download | freebsd-ports-graphics-57d9518083007346bdf30f6401bbcfd91b5186ac.tar.gz freebsd-ports-graphics-57d9518083007346bdf30f6401bbcfd91b5186ac.tar.zst freebsd-ports-graphics-57d9518083007346bdf30f6401bbcfd91b5186ac.zip |
- Fix build on amd64
Submitted by: pointyhat via kris
Diffstat (limited to 'net/sipxportlib')
-rw-r--r-- | net/sipxportlib/files/patch-src_os_OsSysLog.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/sipxportlib/files/patch-src_os_OsSysLog.cpp b/net/sipxportlib/files/patch-src_os_OsSysLog.cpp new file mode 100644 index 00000000000..a40cf253621 --- /dev/null +++ b/net/sipxportlib/files/patch-src_os_OsSysLog.cpp @@ -0,0 +1,21 @@ +--- src/os/OsSysLog.cpp.orig Tue Jul 25 17:05:55 2006 ++++ src/os/OsSysLog.cpp Tue Feb 6 08:07:54 2007 +@@ -39,6 +39,9 @@ + #if defined(_WIN32) + // Windows va_arg function does not take a const + # define OS_VA_ARG_CONST ++#elif defined(__FreeBSD__) ++ // FreeBSD's va_list is not const ++# define OS_VA_ARG_CONST + #elif defined(__pingtel_on_posix__) + // Posix va_arg function takes a const + # define OS_VA_ARG_CONST const +@@ -333,7 +336,7 @@ + { + UtlString logData; + UtlString logEntry; +- myvsprintf(logData, format, ap) ; ++ myvsprintf(logData, format, (OS_VA_ARG_CONST va_list)ap) ; + logData = escape(logData) ; + + OsTime timeNow; |