diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-08 01:15:43 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-08 01:15:43 +0800 |
commit | e76ec9f172d40a7ba5ee337cc2bf613aa1f2b96f (patch) | |
tree | 73bd4c7804b9d80f3fb47ba5911f173691af3692 /net/sipxportlib | |
parent | 7f665fd6df157be0501d60b4235e5fdb2624ece3 (diff) | |
download | freebsd-ports-gnome-e76ec9f172d40a7ba5ee337cc2bf613aa1f2b96f.tar.gz freebsd-ports-gnome-e76ec9f172d40a7ba5ee337cc2bf613aa1f2b96f.tar.zst freebsd-ports-gnome-e76ec9f172d40a7ba5ee337cc2bf613aa1f2b96f.zip |
- Fix build with amd64
Thanks to: Martin Matuska for access of amd64 TB.
Diffstat (limited to 'net/sipxportlib')
-rw-r--r-- | net/sipxportlib/files/patch-src_os_OsSysLog.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/sipxportlib/files/patch-src_os_OsSysLog.cpp b/net/sipxportlib/files/patch-src_os_OsSysLog.cpp index a40cf253621c..7ad2b4d0bd9e 100644 --- a/net/sipxportlib/files/patch-src_os_OsSysLog.cpp +++ b/net/sipxportlib/files/patch-src_os_OsSysLog.cpp @@ -1,5 +1,5 @@ --- src/os/OsSysLog.cpp.orig Tue Jul 25 17:05:55 2006 -+++ src/os/OsSysLog.cpp Tue Feb 6 08:07:54 2007 ++++ src/os/OsSysLog.cpp Wed Feb 14 09:54:52 2007 @@ -39,6 +39,9 @@ #if defined(_WIN32) // Windows va_arg function does not take a const @@ -10,12 +10,14 @@ #elif defined(__pingtel_on_posix__) // Posix va_arg function takes a const # define OS_VA_ARG_CONST const -@@ -333,7 +336,7 @@ +@@ -333,7 +336,9 @@ { UtlString logData; UtlString logEntry; - myvsprintf(logData, format, ap) ; -+ myvsprintf(logData, format, (OS_VA_ARG_CONST va_list)ap) ; ++ OS_VA_ARG_CONST va_list *myap; ++ myap = (OS_VA_ARG_CONST va_list *)≈ ++ myvsprintf(logData, format, *myap) ; logData = escape(logData) ; OsTime timeNow; |