diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2015-08-01 15:37:01 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2015-08-01 15:37:01 +0000 |
commit | e83c02e88c9ca00710c16711f790998986ccff1f (patch) | |
tree | 7e2e4b1f531af1b9e04627c439880e9c257529b1 /RPM4/src/RPM4.xs | |
parent | 9fe877e2f261d8f410b30e979527f9d1deea2b84 (diff) | |
download | perl-RPM4-e83c02e88c9ca00710c16711f790998986ccff1f.tar perl-RPM4-e83c02e88c9ca00710c16711f790998986ccff1f.tar.gz perl-RPM4-e83c02e88c9ca00710c16711f790998986ccff1f.tar.bz2 perl-RPM4-e83c02e88c9ca00710c16711f790998986ccff1f.tar.xz perl-RPM4-e83c02e88c9ca00710c16711f790998986ccff1f.zip |
fix compiling with rpm-4.13
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@256 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4/src/RPM4.xs')
-rw-r--r-- | RPM4/src/RPM4.xs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index fe8d712..9bfae55 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -471,7 +471,11 @@ int _headername_vs_dep(Header h, rpmds dep, int nopromote) { /* Hight level function */ int rpmsign(char *passphrase, const char *rpm) { +#ifdef RPM4_12_90 + return rpmPkgSign(rpm, NULL); +#else return rpmPkgSign(rpm, NULL, passphrase); +#endif } MODULE = RPM4 PACKAGE = RPM4 |