aboutsummaryrefslogtreecommitdiff
path: root/net/sipxportlib/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-02-06 18:49:59 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-02-06 18:49:59 +0000
commit2406aa43282f07321933d323036049e87f8187dd (patch)
treebe3985926e00296453e23062acea19438fd7d864 /net/sipxportlib/files
parentad88423101d75a7bcb6c1437daad8aa726b5d90c (diff)
downloadports-2406aa43282f07321933d323036049e87f8187dd.tar.gz
ports-2406aa43282f07321933d323036049e87f8187dd.zip
Notes
Diffstat (limited to 'net/sipxportlib/files')
-rw-r--r--net/sipxportlib/files/patch-src_os_OsSysLog.cpp21
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 000000000000..a40cf253621c
--- /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;