1 --- rpm-5.4.15/lib/rpm46compat.h.rpmtdnext 2015-02-02 21:41:55.016116655 +0100
2 +++ rpm-5.4.15/lib/rpm46compat.h 2015-02-02 21:47:06.407763121 +0100
3 @@ -223,6 +223,9 @@ static inline int headerGet_RPMorg(Heade
4 rflags &= ~HEADERGET_NOI18NSTRING;
6 rc = headerGet(h, (HE_t)he, rflags);
8 + /* XXX: Hack. headerGet() sets he->ix to 0 whereas rpmtdNext expects it to be -1 initially */