Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 01:48:49 -0500 (EST)
From:      Barney Wolff <barney@tp.databus.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45309: dumpasn1 port won't build on -stable, needs wprintf
Message-ID:  <200211150648.gAF6mnmH006271@tp.databus.com>

next in thread | raw e-mail | index | archive | help

>Number:         45309
>Category:       ports
>Synopsis:       dumpasn1 port won't build on -stable, needs wprintf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 22:50:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Barney Wolff
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Databus Inc.
>Environment:
System: FreeBSD tp.databus.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Nov 14 11:22:09 EST 2002 toor@pit.databus.com:/usr/obj/usr/src/sys/TP i386

>Description:
	Two problems building dumpasn1 port on -stable:
	1. patch-ab is obsolete, needs change to be accepted.
	2. dumpasn1.c now refers to wprintf, part of C99 not in 4.X
>How-To-Repeat:
	cd /usr/ports/converters/dumpasn1; make all
>Fix:
	(Patch problem is TANDEM_NSK now has underscores around it.)
	Updated patch attached, but no solution for wprintf, suggest
	modifying Makefile to say can't be built < 5.0.


--- dumpasn1.c.orig	Thu Nov 14 18:36:07 2002
+++ dumpasn1.c	Thu Nov 14 19:11:56 2002
@@ -286,11 +286,13 @@
    beginning with a '$' uses the appropriate environment variable.  In
    addition under Unix we also walk down $PATH looking for it */
 
+#ifndef CONFIG_NAME
 #ifdef __TANDEM_NSK__
   #define CONFIG_NAME		"asn1cfg"
 #else
   #define CONFIG_NAME		"dumpasn1.cfg"
 #endif /* __TANDEM_NSK__ */
+#endif /* CONFIG_NAME */
 
 #if defined( __TANDEM_NSK__ )
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211150648.gAF6mnmH006271>