--- /dev/null
+--- flexdll/reloc.ml.orig 2008-11-17 12:59:13.000000000 +0000
++++ flexdll/reloc.ml 2008-11-17 12:59:21.000000000 +0000
+@@ -436,7 +436,7 @@
+ failwith "Creation of import library not supported for this toolchain"\r
+ | `CYGWIN | `MINGW ->\r
+ let dmp = temp_file "dyndll" ".dmp" in\r
+- if cmd_verbose (Printf.sprintf "objdump -p %s > %s" fn dmp) <> 0\r
++ if cmd_verbose (Printf.sprintf "i686-pc-mingw32-objdump -p %s > %s" fn dmp) <> 0\r
+ then failwith "Error while extracting exports from a DLL";\r
+ parse_dll_exports dmp\r
+ \r
Name: mingw32-flexdll
Version: 0.11
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: FlexDLL Windows DLL plugin API which is like dlopen
License: zlib
Patch1000: mingw32-flexdll-0.11-mingw-cross.patch
Patch1001: mingw32-flexdll-0.11-no-cygpath.patch
Patch1002: mingw32-flexdll-0.11-no-directory.patch
+Patch1003: mingw32-flexdll-0.11-real-objdump.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%patch1000 -p1
%patch1001 -p1
%patch1002 -p1
+%patch1003 -p1
for f in CHANGES LICENSE README; do
chmod -x $f
%changelog
+* Mon Nov 17 2008 Richard W.M. Jones <rjones@redhat.com> - 0.11-8
+- Apply real-objdump patch.
+
* Sun Nov 16 2008 Richard W.M. Jones <rjones@redhat.com> - 0.11-7
- Apply no-directory patch.