perl-xml.patch 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Index: HTML-Prototype-1.35/Makefile.PL
  2. --- HTML-Prototype-1.35/Makefile.PL.orig 2005-10-31 15:21:51 +0100
  3. +++ HTML-Prototype-1.35/Makefile.PL 2005-10-31 15:23:36 +0100
  4. @@ -1,31 +1,9 @@
  5. -# Note: this file was auto-generated by Module::Build::Compat version 0.03
  6. -
  7. - unless (eval "use Module::Build::Compat 0.02; 1" ) {
  8. - print "This module requires Module::Build to install itself.\n";
  9. -
  10. - require ExtUtils::MakeMaker;
  11. - my $yn = ExtUtils::MakeMaker::prompt
  12. - (' Install Module::Build now from CPAN?', 'y');
  13. -
  14. - unless ($yn =~ /^y/i) {
  15. - die " *** Cannot install without Module::Build. Exiting ...\n";
  16. - }
  17. -
  18. - require Cwd;
  19. - require File::Spec;
  20. - require CPAN;
  21. -
  22. - # Save this 'cause CPAN will chdir all over the place.
  23. - my $cwd = Cwd::cwd();
  24. - my $makefile = File::Spec->rel2abs($0);
  25. -
  26. - CPAN::Shell->install('Module::Build::Compat')
  27. - or die " *** Cannot install without Module::Build. Exiting ...\n";
  28. -
  29. - chdir $cwd or die "Cannot chdir() back to $cwd: $!";
  30. - }
  31. - eval "use Module::Build::Compat 0.02; 1" or die $@;
  32. - use lib '_build/lib';
  33. - Module::Build::Compat->run_build_pl(args => \@ARGV);
  34. - require Module::Build;
  35. - Module::Build::Compat->write_makefile(build_class => 'Module::Build');
  36. +
  37. +require 5.006;
  38. +use strict;
  39. +use ExtUtils::MakeMaker;
  40. +
  41. +WriteMakefile(
  42. + NAME => 'HTML::Prototype',
  43. +);
  44. +
  45. Index: HTML-Prototype-Useful-0.04/Makefile.PL
  46. --- HTML-Prototype-Useful-0.04/Makefile.PL.orig 2005-10-31 15:24:37 +0100
  47. +++ HTML-Prototype-Useful-0.04/Makefile.PL 2005-10-31 15:24:50 +0100
  48. @@ -1,31 +1,9 @@
  49. -# Note: this file was auto-generated by Module::Build::Compat version 0.03
  50. -
  51. - unless (eval "use Module::Build::Compat 0.02; 1" ) {
  52. - print "This module requires Module::Build to install itself.\n";
  53. -
  54. - require ExtUtils::MakeMaker;
  55. - my $yn = ExtUtils::MakeMaker::prompt
  56. - (' Install Module::Build now from CPAN?', 'y');
  57. -
  58. - unless ($yn =~ /^y/i) {
  59. - die " *** Cannot install without Module::Build. Exiting ...\n";
  60. - }
  61. -
  62. - require Cwd;
  63. - require File::Spec;
  64. - require CPAN;
  65. -
  66. - # Save this 'cause CPAN will chdir all over the place.
  67. - my $cwd = Cwd::cwd();
  68. - my $makefile = File::Spec->rel2abs($0);
  69. -
  70. - CPAN::Shell->install('Module::Build::Compat')
  71. - or die " *** Cannot install without Module::Build. Exiting ...\n";
  72. -
  73. - chdir $cwd or die "Cannot chdir() back to $cwd: $!";
  74. - }
  75. - eval "use Module::Build::Compat 0.02; 1" or die $@;
  76. - use lib '_build/lib';
  77. - Module::Build::Compat->run_build_pl(args => \@ARGV);
  78. - require Module::Build;
  79. - Module::Build::Compat->write_makefile(build_class => 'Module::Build');
  80. +
  81. +require 5.006;
  82. +use strict;
  83. +use ExtUtils::MakeMaker;
  84. +
  85. +WriteMakefile(
  86. + NAME => 'HTML::Prototype::Useful',
  87. +);
  88. +
  89. Index: XML-LibXML-1.58_1/LibXML.xs
  90. --- XML-LibXML-1.58_1/LibXML.xs.orig 2004-03-25 00:06:14 +0100
  91. +++ XML-LibXML-1.58_1/LibXML.xs 2005-10-31 15:21:12 +0100
  92. @@ -622,7 +622,7 @@
  93. HV* real_obj = NULL;
  94. SV** item = NULL;
  95. SV* item2 = NULL;
  96. - /* xmlInitParser(); */ /* useless call */
  97. + xmlInitParser();
  98. xmlGetWarningsDefaultValue = 0;
  99. if ( self != NULL ) {