From owner-freebsd-ports Tue Sep 22 20:40:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA16672 for freebsd-ports-outgoing; Tue, 22 Sep 1998 20:40:23 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA16572 for ; Tue, 22 Sep 1998 20:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA01698; Tue, 22 Sep 1998 20:40:01 -0700 (PDT) Received: from control.colossus.dyn.ml.org (206-18-113-135.la.inreach.net [206.18.113.135]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA15767 for ; Tue, 22 Sep 1998 20:36:41 -0700 (PDT) (envelope-from dburr@colossus.dyn.ml.org) Received: (from dburr@localhost) by control.colossus.dyn.ml.org (8.8.8/8.8.8) id UAA14710; Tue, 22 Sep 1998 20:32:53 -0700 (PDT) (envelope-from dburr) Message-Id: <199809230332.UAA14710@control.colossus.dyn.ml.org> Date: Tue, 22 Sep 1998 20:32:53 -0700 (PDT) From: dburr@pobox.com Reply-To: dburr@pobox.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/8033: Port misc/rpm does not build due to missing definitions Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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