aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-02-07 02:49:59 +0800
committermiwi <miwi@FreeBSD.org>2007-02-07 02:49:59 +0800
commit57d9518083007346bdf30f6401bbcfd91b5186ac (patch)
tree1fd8792d702eb9a7e829bd606e5d486db7d47df2 /net
parentfcce29b75509f8184b89c8451a3f2bacb1755c0e (diff)
downloadfreebsd-ports-gnome-57d9518083007346bdf30f6401bbcfd91b5186ac.tar.gz
freebsd-ports-gnome-57d9518083007346bdf30f6401bbcfd91b5186ac.tar.zst
freebsd-ports-gnome-57d9518083007346bdf30f6401bbcfd91b5186ac.zip
- Fix build on amd64
Submitted by: pointyhat via kris
Diffstat (limited to 'net')
-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;