diff options
author | martin <martin> | 2002-01-18 09:23:58 +0000 |
---|---|---|
committer | martin <martin> | 2002-01-18 09:23:58 +0000 |
commit | 5752e7ebd1e12e800a4c447e40e23d08f87adaac (patch) | |
tree | 738a11a28c3e0a6bb10778d8eb1c850dba498ae0 /security | |
parent | b9df95f92f0ac9f05a09d371fb328619227b0603 (diff) | |
download | pkgsrc-5752e7ebd1e12e800a4c447e40e23d08f87adaac.tar.gz |
Remove illegal optimizatioon breaking on all platforms where va_list is
not a pointer. Should make this build on alpha and macppc again (but I
can't test this right now).
Diffstat (limited to 'security')
-rw-r--r-- | security/gpa/Makefile | 6 | ||||
-rw-r--r-- | security/gpa/distinfo | 3 | ||||
-rw-r--r-- | security/gpa/patches/patch-aa | 22 |
3 files changed, 25 insertions, 6 deletions
diff --git a/security/gpa/Makefile b/security/gpa/Makefile index fc2e08c526b..8b1c70e392b 100644 --- a/security/gpa/Makefile +++ b/security/gpa/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2002/01/18 07:21:30 martti Exp $ +# $NetBSD: Makefile,v 1.6 2002/01/18 09:23:58 martin Exp $ # DISTNAME= gpa-0.4.3 @@ -11,10 +11,6 @@ COMMENT= GUI frontend to gnupg DEPENDS+= gnupg>=1.0.6:../../security/gnupg -# This can't be compiled on alpha/powerpc because __va_list is defined -# as struct in include/ansi.h instead of "char *" -NOT_FOR_PLATFORM= *-*-alpha *-*-*ppc - GNU_CONFIGURE= YES USE_BUILDLINK_ONLY= YES diff --git a/security/gpa/distinfo b/security/gpa/distinfo index 760c28f6f94..1a4fc0a6a79 100644 --- a/security/gpa/distinfo +++ b/security/gpa/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.3 2002/01/17 10:28:25 martti Exp $ +$NetBSD: distinfo,v 1.4 2002/01/18 09:23:58 martin Exp $ SHA1 (gpa-0.4.3.tar.gz) = a0fab8d335ab8127bd6e4386bd4a09d0f08ce42f Size (gpa-0.4.3.tar.gz) = 424975 bytes +SHA1 (patch-aa) = 91dfb9e3349cb1f0134151ffb71d713b7e6f118a diff --git a/security/gpa/patches/patch-aa b/security/gpa/patches/patch-aa new file mode 100644 index 00000000000..b4e52de57ab --- /dev/null +++ b/security/gpa/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1 2002/01/18 09:23:58 martin Exp $ + +--- jnlib/logging.c.orig Thu Jun 8 11:49:51 2000 ++++ jnlib/logging.c Fri Jan 18 10:16:04 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); + } + + |