summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-12-18 01:21:15 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-12-18 01:21:15 +0000
commit6451c6ef79d0de3f61f6a405dd58426f86642ebc (patch)
treee59c7dfdc752bf62027a2913cc6c82f19a1f0d76
parent6d0ef29103db3744faa229875154172da9157c47 (diff)
downloadperl-RPM4-6451c6ef79d0de3f61f6a405dd58426f86642ebc.tar
perl-RPM4-6451c6ef79d0de3f61f6a405dd58426f86642ebc.tar.gz
perl-RPM4-6451c6ef79d0de3f61f6a405dd58426f86642ebc.tar.bz2
perl-RPM4-6451c6ef79d0de3f61f6a405dd58426f86642ebc.tar.xz
perl-RPM4-6451c6ef79d0de3f61f6a405dd58426f86642ebc.zip
include rpmlog.h, thus fixing a segfault when trying to retrieving "DEBUG"
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@241 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/NEWS1
-rw-r--r--rpmconstant/rpmconstant.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/RPM4/NEWS b/RPM4/NEWS
index f57568c..f6223df 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,6 +1,7 @@
- drop support for repackage (not working anymore since rpm-4.6)
- fix parsing new rpm headers
- fix retrieving rpm version with beta versions
+- fix segfaulting with rpm-4.11 retrieving RPMLOG_*
- fix srcrpm()
- fix --rpmversion (broken for 6+ years...)
diff --git a/rpmconstant/rpmconstant.h b/rpmconstant/rpmconstant.h
index c1fb569..390e8e3 100644
--- a/rpmconstant/rpmconstant.h
+++ b/rpmconstant/rpmconstant.h
@@ -34,6 +34,7 @@
#include <rpm/rpmpgp.h>
#include <rpm/rpmbuild.h>
#include <rpm/rpmlib.h>
+#include <rpm/rpmlog.h>
/**
* A constant pair name/value