RPM Community Forums

Mailing List Message of <rpm-devel>

[PATCH] make current HEAD compile

From: Bernhard Rosenkraenzer <bero@arklinux.org>
Date: Sun 07 Oct 2007 - 17:28:17 CEST
Message-Id: <200710071728.17568.bero@arklinux.org>
This happens when compiling today's HEAD:

pkgio.c:1103: warning: passing argument 1 of 'headerLoad' discards qualifiers 
from pointer target type
pkgio.c:1105: error: 'RPMRC_BAD' undeclared (first use in this function)
pkgio.c:1105: error: (Each undeclared identifier is reported only once
pkgio.c:1105: error: for each function it appears in.)

The attached patch fixes the error (not the warning, but that one is probably 
harmless).


Received on Sun Oct 7 17:32:56 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.