From fefaa9817858eaaef77bd5387b67f93b884e3305 Mon Sep 17 00:00:00 2001 From: jvdias Date: Thu, 17 Mar 2005 18:07:17 +0000 Subject: [PATCH] fix bug 151127: subsitute libresolv for libbind dependancy --- perl-5.8.6-libresolv.patch | 11 +++++++++++ perl.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 perl-5.8.6-libresolv.patch diff --git a/perl-5.8.6-libresolv.patch b/perl-5.8.6-libresolv.patch new file mode 100644 index 0000000..192a983 --- /dev/null +++ b/perl-5.8.6-libresolv.patch @@ -0,0 +1,11 @@ +--- perl-5.8.6/Configure.libresolv 2005-03-17 11:54:54.000000000 -0500 ++++ perl-5.8.6/Configure 2005-03-17 11:55:26.000000000 -0500 +@@ -1266,7 +1266,7 @@ + + : List of libraries we want. + : If anyone needs extra -lxxx, put those in a hint file. +-libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun" ++libswanted="sfio socket resolv inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun" + libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD" + : We probably want to search /usr/shlib before most other libraries. + : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. diff --git a/perl.spec b/perl.spec index 6386072..c881171 100644 --- a/perl.spec +++ b/perl.spec @@ -5,7 +5,7 @@ %define multilib_64_archs x86_64 s390x ppc64 sparc64 %define perlver 5.8.6 -%define perlrel 4 +%define perlrel 5 %define perlepoch 3 Provides: perl(:WITH_PERLIO) @@ -105,6 +105,8 @@ Patch101: perl-5.8.0-libdir64.patch Patch32002: perl-5.8.0-nptlhint.patch +Patch32003: perl-5.8.6-libresolv.patch + # module updatesd # Patch202: perl-5.8.0-Safe2.09.patch @@ -228,6 +230,8 @@ more secure running of setuid perl scripts. %patch32002 -p1 +%patch32003 -p1 + find . -name \*.orig -exec rm -fv {} \; %build @@ -416,6 +420,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Thu Mar 17 2005 Jason Vas Dias - 3:5.8.6-5 +- bug 151127: fix to use libresolv instead of libbind (perl-5.8.6-libresolv.patch). + * Tue Mar 8 2005 Chip Turner - 3:5.8.6-4 - add patch to put site_perl and vendor_perl before core perl dirs, to allow for overriding modules