summaryrefslogtreecommitdiffstats
path: root/RPM4/patches
diff options
context:
space:
mode:
Diffstat (limited to 'RPM4/patches')
-rw-r--r--RPM4/patches/Makefile.PL.staticrpm.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/RPM4/patches/Makefile.PL.staticrpm.patch b/RPM4/patches/Makefile.PL.staticrpm.patch
new file mode 100644
index 0000000..e63fcc0
--- /dev/null
+++ b/RPM4/patches/Makefile.PL.staticrpm.patch
@@ -0,0 +1,17 @@
+Index: src/Makefile.PL
+===================================================================
+RCS file: /cooker/soft/perl-Hdlist/src/Makefile.PL,v
+retrieving revision 1.1
+diff -r1.1 Makefile.PL
+5a6,8
+> my $staticrpm = join(' ', map { "$_" } glob ("librpm/*.a"));
+> print "$staticrpm\n";
+>
+9c12
+< OBJECT => 'Hdlist.o Hdlistsign.o',
+---
+> OBJECT => 'Hdlist.o Hdlistsign.o $staticrpm',
+12c15
+< LIBS => '-lrpm -lrpmio -lrpmdb -lrpmbuild -lpopt -lz -lbz2 -lrpmconstant',
+---
+> LIBS => '-lrpm -lpopt -lz -lbz2 -lrpmconstant',