From d0c8b0e1354ed16f1c971aa1db7705e5f11ef16f Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Mon, 27 Feb 2012 23:43:26 +0100 Subject: [PATCH] Use correct .def file --- libgpg-error-fix-invalid-def-file.patch | 7 +++++++ mingw32-libgpg-error.spec | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 libgpg-error-fix-invalid-def-file.patch diff --git a/libgpg-error-fix-invalid-def-file.patch b/libgpg-error-fix-invalid-def-file.patch new file mode 100644 index 0000000..92a27ff --- /dev/null +++ b/libgpg-error-fix-invalid-def-file.patch @@ -0,0 +1,7 @@ +--- src/gpg-error.def.orig 2012-02-27 23:38:14.864838661 +0100 ++++ src/gpg-error.def 2012-02-27 23:39:24.325103071 +0100 +@@ -1,4 +1,3 @@ +- + EXPORTS + gpg_strerror @1 + gpg_strerror_r @2 diff --git a/mingw32-libgpg-error.spec b/mingw32-libgpg-error.spec index 0607ca0..3bb468d 100644 --- a/mingw32-libgpg-error.spec +++ b/mingw32-libgpg-error.spec @@ -19,6 +19,9 @@ Source2: wk@g10code.com BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +# Binutils isn't able to process the .def file. Fix this +Patch0: libgpg-error-fix-invalid-def-file.patch + BuildRequires: mingw32-filesystem >= 49 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils @@ -73,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Mon Feb 27 2012 Erik van Pienbroek - 1.6-16 - Rebuild against the mingw-w64 toolchain +- Use correct .def file * Fri Jan 13 2012 Fedora Release Engineering - 1.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild