X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm-header_h.patch;h=8a1dd274b7e5b957c40680445aee4fcf42f5b28f;hb=c7def65cbdf77c546dc0870ece1f3f41c2d2c7cf;hp=dfbd54fd287e8feb3ea37494ec88b8696b1e17cb;hpb=d3d87244a1bee1992f21354651101ab550a008ab;p=packages%2Frpm.git diff --git a/rpm-header_h.patch b/rpm-header_h.patch index dfbd54f..8a1dd27 100644 --- a/rpm-header_h.patch +++ b/rpm-header_h.patch @@ -10,3 +10,21 @@ diff -Nur --exclude *~ rpm-4.0.2/lib/header.h rpm-4.0.2.new/lib/header.h #ifdef __cplusplus extern "C" { +@@ -702,7 +702,7 @@ + { + if (data) { + /*@-branchstate@*/ +- if (type == -1 || ++ if ((int)type == -1 || + type == RPM_STRING_ARRAY_TYPE || + type == RPM_I18NSTRING_TYPE || + type == RPM_BIN_TYPE) +@@ -713,7 +713,7 @@ + } + + #if !defined(__HEADER_PROTOTYPES__) +-#include ++#include "hdrinline.h" + #endif + + #ifdef __cplusplus