/[packages]/cauldron/rpmconstant/current/SOURCES/rpmconstant-fix-build-rpm46.patch
ViewVC logotype

Contents of /cauldron/rpmconstant/current/SOURCES/rpmconstant-fix-build-rpm46.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20769 - (show annotations) (download)
Mon Jan 17 01:56:48 2011 UTC (13 years, 3 months ago) by nanardon
File size: 2941 byte(s)
imported package rpmconstant
1 diff -p -up rpmconstant-0.1.3/rpmconstant.h.rpm46 rpmconstant-0.1.3/rpmconstant.h
2 --- rpmconstant-0.1.3/rpmconstant.h.rpm46 2005-12-20 02:35:11.000000000 +0100
3 +++ rpmconstant-0.1.3/rpmconstant.h 2009-01-12 16:40:38.000000000 +0100
4 @@ -32,9 +32,11 @@
5 #include <rpm/rpmds.h>
6 #include <rpm/rpmfi.h>
7 #include <rpm/rpmpgp.h>
8 -#include <rpm/misc.h>
9 +#include <rpm/rpmtag.h>
10 +#include <rpm/rpmvf.h>
11 #include <rpm/rpmbuild.h>
12 #include <rpm/rpmlib.h>
13 +#include <rpm/rpmlog.h>
14
15 /**
16 * A constant pair name/value
17 diff -p -up rpmconstant-0.1.3/rpmh2tbl.pix rpmconstant-0.1.3/rpmh2tbl
18 --- rpmconstant-0.1.3/rpmh2tbl.pix 2005-12-20 02:35:11.000000000 +0100
19 +++ rpmconstant-0.1.3/rpmh2tbl 2009-01-12 15:52:44.000000000 +0100
20 @@ -34,30 +34,32 @@ my @availlabletables;
21 my %file_const = (
22 'rpmts.h' => {
23 '^_?(RPMVSF_[\w_]+)' => 'rpmvsflags',
24 + '^(RPMTRANS_FLAG_[\w_]+)' => 'rpmtransFlags',
25 '^(RPMTRANS_TYPE_[\w_]+)' => 'rpmtsType',
26 '^(RPMTS_OP_[\w_]+)' => 'rpmtsOpX',
27 },
28 'rpmlib.h' => {
29 - '^(RPMDBI_[\w_]+)' => 'rpmdbi',
30 + '^(RPM_MACHTABLE_[\w_]+)' => 'rpm_machtable',
31 + '^(INSTALL_[\w_]+)' => 'rpmInstallInterfaceFlags',
32 + '^(UNINSTALL_[\w_]+)' => 'rpmEraseInterfaceFlags',
33 + },
34 + 'rpmds.h' => {
35 '^_?(RPMSENSE_[\w_]+)' => 'rpmsenseflags',
36 - '^(RPMTAG_[\w_]+)' => 'rpmTag',
37 - '^(RPMRC_[\w_]+)' => 'rpmRC',
38 + },
39 + 'rpmfi.h' => {
40 '^(RPMFILE_[^(STATE_)][\w_]+)' => 'rpmfileAttrs',
41 '^(RPMFILE_STATE_[\w_]+)' => 'rpmfileState',
42 - '^(RPM_MACHTABLE_[\w_]+)' => 'rpm_machtable',
43 - '^(RPMPROB_FILTER_[\w_]+)' => 'rpmprobFilterFlags',
44 - '^(FA_[\w_]+)' => 'fileAction',
45 '^(PIPE|CDEV|XDIR|BDEV|REG|LINK|SOCK)$' => 'fileTypes',
46 - '^(RPMTRANS_FLAG_[\w_]+)' => 'rpmtransFlags',
47 - '^(INSTALL_[\w_]+)' => 'rpmInstallInterfaceFlags',
48 - '^(UNINSTALL_[\w_]+)' => 'rpmEraseInterfaceFlags',
49 - '^(RPMSIGTAG_[\w_]+)' => 'rpmtagSignature',
50 + '^(FA_[\w_]+)' => 'fileAction',
51 },
52 'rpmps.h' => {
53 - '^(RPMPROB_[\w_]+)' => 'rpmProblemType',
54 + '^(RPMPROB_FILTER_[\w_]+)' => 'rpmprobFilterFlags',
55 + '^(RPMPROB_[^(FILTER_)][\w_]+)' => 'rpmProblemType',
56 },
57 'rpmcli.h' => {
58 '^(RPMSIGN_[\w_]+)' => 'rpmSignFlags',
59 + },
60 + 'rpmvf.h' => {
61 '^(VERIFY_[\w_]+)' => 'rpmVerifyFlags',
62 },
63 'rpmdb.h' => {
64 @@ -65,8 +67,16 @@ my %file_const = (
65 },
66 'header.h' => {
67 '^(HEADER_MAGIC_[\w_]+)' => 'hMagic',
68 + },
69 + 'rpmtag.h' => {
70 + '^(RPMTAG_[\w_]+)' => 'rpmTag',
71 + '^(RPMDBI_[\w_]+)' => 'rpmdbi',
72 + '^(RPMSIGTAG_[\w_]+)' => 'rpmtagSignature',
73 '^(RPM_[\w]+)_TYPE$' => 'rpmTagType',
74 },
75 + 'rpmtypes.h' => {
76 + '^(RPMRC_[\w_]+)' => 'rpmRC',
77 + },
78 'rpmbuild.h' => {
79 '^(RPMBUILD_[\w_]+)' => 'rpmBuildFlags',
80 '^(PART_[\w_]+)' => 'rpmParseState',

  ViewVC Help
Powered by ViewVC 1.1.30