diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-02-29 15:33:44 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-02-29 15:33:44 +0000 |
commit | 2430fc71571f11e9bda9dd8a83f00a8a1a768aa4 (patch) | |
tree | dccfe9efa6db27a45f2d695df0e8a3ba9ede329b /URPM.xs | |
parent | 72ce435bd9c375f5f833a1d6d8612ee760df4e8d (diff) | |
download | perl-URPM-2430fc71571f11e9bda9dd8a83f00a8a1a768aa4.tar perl-URPM-2430fc71571f11e9bda9dd8a83f00a8a1a768aa4.tar.gz perl-URPM-2430fc71571f11e9bda9dd8a83f00a8a1a768aa4.tar.bz2 perl-URPM-2430fc71571f11e9bda9dd8a83f00a8a1a768aa4.tar.xz perl-URPM-2430fc71571f11e9bda9dd8a83f00a8a1a768aa4.zip |
rpm 4.5 and newer uses unsigned long long ulong1 in stead of unsigned long ulong1 for rpmProblemGetLong, therefore use %lld in stead of %ld
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -769,10 +769,17 @@ return_problems(rpmps ps, int translate_message) { sv = newSVpvf("installed@%s@%s", pkgNEVR, altNEVR); break; case RPMPROB_DISKSPACE: +#ifdef RPM_450 + sv = newSVpvf("diskspace@%s@%s@%lld", pkgNEVR, s, rpmProblemGetLong(p)); break; +#else sv = newSVpvf("diskspace@%s@%s@%ld", pkgNEVR, s, rpmProblemGetLong(p)); break; - +#endif case RPMPROB_DISKNODES: +#ifdef RPM_450 + sv = newSVpvf("disknodes@%s@%s@%lld", pkgNEVR, s, rpmProblemGetLong(p)); break; +#else sv = newSVpvf("disknodes@%s@%s@%ld", pkgNEVR, s, rpmProblemGetLong(p)); break; +#endif case RPMPROB_REQUIRES: sv = newSVpvf("requires@%s@%s", pkgNEVR, altNEVR+2); break; |