From df9c54ab7c5ede49d0b14ecdf87755f7c70e7bf8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Apply real-objdump patch. --- flexdll/mingw32-flexdll-0.11-real-objdump.patch | 11 +++++++++++ flexdll/mingw32-flexdll.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 flexdll/mingw32-flexdll-0.11-real-objdump.patch diff --git a/flexdll/mingw32-flexdll-0.11-real-objdump.patch b/flexdll/mingw32-flexdll-0.11-real-objdump.patch new file mode 100644 index 0000000..7a731be --- /dev/null +++ b/flexdll/mingw32-flexdll-0.11-real-objdump.patch @@ -0,0 +1,11 @@ +--- 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" + | `CYGWIN | `MINGW -> + let dmp = temp_file "dyndll" ".dmp" in +- if cmd_verbose (Printf.sprintf "objdump -p %s > %s" fn dmp) <> 0 ++ if cmd_verbose (Printf.sprintf "i686-pc-mingw32-objdump -p %s > %s" fn dmp) <> 0 + then failwith "Error while extracting exports from a DLL"; + parse_dll_exports dmp + diff --git a/flexdll/mingw32-flexdll.spec b/flexdll/mingw32-flexdll.spec index 6e232b3..ebab072 100644 --- a/flexdll/mingw32-flexdll.spec +++ b/flexdll/mingw32-flexdll.spec @@ -11,7 +11,7 @@ Name: mingw32-flexdll Version: 0.11 -Release: 7%{?dist} +Release: 8%{?dist} Summary: FlexDLL Windows DLL plugin API which is like dlopen License: zlib @@ -25,6 +25,7 @@ Source1: flexlink.exe 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) @@ -75,6 +76,7 @@ make it easy to port applications developed for Unix. %patch1000 -p1 %patch1001 -p1 %patch1002 -p1 +%patch1003 -p1 for f in CHANGES LICENSE README; do chmod -x $f @@ -131,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Nov 17 2008 Richard W.M. Jones - 0.11-8 +- Apply real-objdump patch. + * Sun Nov 16 2008 Richard W.M. Jones - 0.11-7 - Apply no-directory patch. -- 1.8.3.1