Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 20:32:53 -0700 (PDT)
From:      dburr@pobox.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8033: Port misc/rpm does not build due to missing definitions
Message-ID:  <199809230332.UAA14710@control.colossus.dyn.ml.org>

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

>Number:         8033
>Category:       ports
>Synopsis:       Port misc/rpm does not build due to missing definitions
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 22 20:40:00 PDT 1998
>Last-Modified:
>Originator:     Donald Burr
>Organization:
Starfleet Command
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

FreeBSD 2.2.7-RELEASE, ports tree cvsupped daily

>Description:

The misc/rpm port complains of missing definitions:

'RPMSIG_NONE' in file tools/rpmsignature.c
'RPMSIG_HEADERSIG' in file checksig.c

Both of these definitions are found in the include file "lib/signature.h",
so simply adding '#include "lib/signature.h"' to the affected files fixed
the problem, and now everything compiles happily.

>How-To-Repeat:

try building it!

>Fix:
	
Add these patches to the 'patches' directory (I called mine 'patch-ak')

--- checksig.c.old	Tue Sep 22 20:26:15 1998
+++ checksig.c	Tue Sep 22 20:26:03 1998
@@ -14,6 +14,8 @@
 #include "messages.h"
 #include "lib/misc.h"
 
+#include "lib/signature.h"
+
 int doReSign(int add, char *passPhrase, char **argv)
 {
     int fd, ofd, count;
--- tools/rpmsignature.c.old	Tue Sep 22 20:26:44 1998
+++ tools/rpmsignature.c	Tue Sep 22 20:26:55 1998
@@ -8,6 +8,8 @@
 #include "signature.h"
 #include "intl.h"
 
+#include "lib/signature.h"
+
 int main(int argc, char **argv)
 {
     int fd;
>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?199809230332.UAA14710>