diff -ru wml-2.0.9/wml_aux/tidy/Makefile.in wml-2.0.9.patched/wml_aux/tidy/Makefile.in --- wml-2.0.9/wml_aux/tidy/Makefile.in 2000-03-12 21:57:00.000000000 +0100 +++ wml-2.0.9.patched/wml_aux/tidy/Makefile.in 2005-08-03 11:30:09.000000000 +0200 @@ -2,7 +2,7 @@ @SET_MAKE@ CC= @CC@ -CFLAGS= @CFLAGS@ +CFLAGS= -D__FreeBSD__ @CFLAGS@ OFILES = \ attrs.o istack.o parser.o tags.o \ diff -ru wml-2.0.9/wml_backend/p2_mp4h/configure wml-2.0.9.patched/wml_backend/p2_mp4h/configure --- wml-2.0.9/wml_backend/p2_mp4h/configure 2002-10-18 01:33:13.000000000 +0200 +++ wml-2.0.9.patched/wml_backend/p2_mp4h/configure 2005-08-03 11:30:09.000000000 +0200 @@ -10679,7 +10679,7 @@ # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. Also zsh mangles # `"' quotes if we put them in here... so don't! - archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' + archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes diff -ru wml-2.0.9/wml_backend/p2_mp4h/src/Makefile.in wml-2.0.9.patched/wml_backend/p2_mp4h/src/Makefile.in --- wml-2.0.9/wml_backend/p2_mp4h/src/Makefile.in 2002-10-18 01:32:07.000000000 +0200 +++ wml-2.0.9.patched/wml_backend/p2_mp4h/src/Makefile.in 2005-08-03 11:30:09.000000000 +0200 @@ -131,7 +131,7 @@ macro.c $(MODULE_C) mp4h.c output.c path.c symtab.c @LOADABLE_MODULES_TRUE@mp4h_LDFLAGS = -export-dynamic -mp4h_LDADD = -lm $(top_builddir)/lib/libmp4h.a $(top_builddir)/pcre/libpcre.a @INTLLIBS@ +mp4h_LDADD = $(top_builddir)/lib/libmp4h.a $(top_builddir)/pcre/libpcre.a @INTLLIBS@ include_HEADERS = mp4h.h noinst_HEADERS = builtin.h ltdl.h diff -ru wml-2.0.9/wml_backend/p3_eperl/eperl_proto.h wml-2.0.9.patched/wml_backend/p3_eperl/eperl_proto.h --- wml-2.0.9/wml_backend/p3_eperl/eperl_proto.h 2002-10-18 23:48:38.000000000 +0200 +++ wml-2.0.9.patched/wml_backend/p3_eperl/eperl_proto.h 2005-08-03 11:30:09.000000000 +0200 @@ -35,6 +35,8 @@ #ifndef EPERL_PROTO_H #define EPERL_PROTO_H 1 +#include "eperl_getopt.h" + /*_BEGIN_PROTO_*/ /* eperl_main.c */ diff -ru wml-2.0.9/wml_include/des/imgbg.src wml-2.0.9.patched/wml_include/des/imgbg.src --- wml-2.0.9/wml_include/des/imgbg.src 2001-10-28 23:16:33.000000000 +0100 +++ wml-2.0.9.patched/wml_include/des/imgbg.src 2005-08-03 11:30:09.000000000 +0200 @@ -13,7 +13,7 @@ <: -use WML::GD; +use GD; # general function for creating the image sub imgbg { @@ -48,12 +48,12 @@ $x = 0; if ($direction eq 'h') { # horizontal image - $im = new WML::GD::Image($size, $pixels); + $im = new GD::Image($size, $pixels); $dx = 1; $dy = 0; } else { # vertical image - $im = new WML::GD::Image($pixels, $size); + $im = new GD::Image($pixels, $size); $dx = 0; $dy = 1; } diff -ru wml-2.0.9/wml_include/des/imgdot.src wml-2.0.9.patched/wml_include/des/imgdot.src --- wml-2.0.9/wml_include/des/imgdot.src 2001-10-28 23:16:39.000000000 +0100 +++ wml-2.0.9.patched/wml_include/des/imgdot.src 2005-08-03 11:30:09.000000000 +0200 @@ -13,7 +13,7 @@ <: -use WML::GD; +use GD; # general function for creating a dot image sub imgdot { @@ -39,7 +39,7 @@ # create image if it does not still exist if (not -f $file) { - $im = new WML::GD::Image($x, $y); + $im = new GD::Image($x, $y); $col = $im->colorAllocate($r, $g, $b); $im->transparent($col) if $transp; eval "\$data = \$im->$format";