summaryrefslogtreecommitdiff
path: root/security/gpa
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-11-30 14:00:06 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-11-30 14:00:06 +0000
commit06d64d51ab77c1e676d1d01b40d9ab09ee3f5d46 (patch)
tree27ea839bc0635ebab17b5be0e131ddcd73d76cd5 /security/gpa
parentFix xmms port location (diff)
Remove an illegal optimization that breaks on all platforms where
va_list is not a pointer (e.g. alpha). Notified by: beta Obtained from: NetBSD
Notes
Notes: svn path=/head/; revision=71250
Diffstat (limited to 'security/gpa')
-rw-r--r--security/gpa/files/patch-jnlib_logging.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/security/gpa/files/patch-jnlib_logging.c b/security/gpa/files/patch-jnlib_logging.c
new file mode 100644
index 000000000000..00307c033699
--- /dev/null
+++ b/security/gpa/files/patch-jnlib_logging.c
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- jnlib/logging.c.orig Thu Jun 8 11:49:51 2000
++++ jnlib/logging.c Sat Nov 30 14:03:44 2002
+@@ -226,14 +226,9 @@
+ {
+ va_list arg_ptr ;
+
+- if( !fmt ) {
+- do_logv( MY_LOG_BEGIN, NULL, NULL );
+- }
+- else {
+- va_start( arg_ptr, fmt ) ;
+- do_logv( MY_LOG_CONT, fmt, arg_ptr );
+- va_end(arg_ptr);
+- }
++ va_start( arg_ptr, fmt ) ;
++ do_logv( MY_LOG_CONT, fmt, arg_ptr );
++ va_end(arg_ptr);
+ }
+
+