[packages/crossmingw32-binutils] - updated to 2.33.1 - removed obsolete libdir patch
qboosh
qboosh at pld-linux.org
Wed Dec 25 19:26:57 CET 2019
commit a686d8446448c7634bc7b622f5cb87db3e75a155
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Dec 25 19:27:45 2019 +0100
- updated to 2.33.1
- removed obsolete libdir patch
binutils-libdir.patch | 45 ---------------------------------------------
crossmingw32-binutils.spec | 8 +++-----
2 files changed, 3 insertions(+), 50 deletions(-)
---
diff --git a/crossmingw32-binutils.spec b/crossmingw32-binutils.spec
index 74c0660..fc53bde 100644
--- a/crossmingw32-binutils.spec
+++ b/crossmingw32-binutils.spec
@@ -5,13 +5,12 @@ Summary(pl.UTF-8): Skrośne narzędzia programistyczne GNU dla MinGW32 - binutil
Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - MinGW32 binutils
Summary(tr.UTF-8): GNU geliştirme araçları - MinGW32 binutils
Name: crossmingw32-binutils
-Version: 2.32
+Version: 2.33.1
Release: 1
License: GPL v3+
Group: Development/Tools
-Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.lz
-# Source0-md5: 3f1013fc8c5b18e1c28ba5c018a4110c
-Patch0: binutils-libdir.patch
+Source0: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.lz
+# Source0-md5: f4e7e023664f087b3017fc42955ebb46
URL: http://sources.redhat.com/binutils/
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.11
@@ -48,7 +47,6 @@ Ten pakiet zawiera binutils generujące skrośnie binaria dla Win32.
%prep
%setup -q -n binutils-%{version}
-%patch0 -p1
# file contains hacks for ac 2.64 only
%{__rm} config/override.m4
diff --git a/binutils-libdir.patch b/binutils-libdir.patch
deleted file mode 100644
index d8ec2c0..0000000
--- a/binutils-libdir.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- binutils-2.26/bfd/Makefile.am.orig 2016-01-26 21:10:01.893801762 +0100
-+++ binutils-2.26/bfd/Makefile.am 2016-01-26 21:10:42.507133384 +0100
-@@ -52,7 +52,7 @@
- WARN_CFLAGS = @WARN_CFLAGS@
- NO_WERROR = @NO_WERROR@
- AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
--AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
-+AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DLIBDIR='"$(libdir)"'
- if PLUGINS
- bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
- LIBDL = @lt_cv_dlopen_libs@
---- binutils-2.25.51.0.1/bfd/plugin.c.orig 2015-03-15 11:04:52.000000000 +0100
-+++ binutils-2.25.51.0.1/bfd/plugin.c 2015-03-17 21:03:28.116034504 +0100
-@@ -404,8 +404,7 @@
- static int
- load_plugin (bfd *abfd)
- {
-- char *plugin_dir;
-- char *p;
-+ const char *p = LIBDIR "/bfd-plugins";
- DIR *d;
- struct dirent *ent;
- int found = 0;
-@@ -416,13 +415,6 @@
- if (plugin_program_name == NULL)
- return 0;
-
-- plugin_dir = concat (BINDIR, "/../lib/bfd-plugins", NULL);
-- p = make_relative_prefix (plugin_program_name,
-- BINDIR,
-- plugin_dir);
-- free (plugin_dir);
-- plugin_dir = NULL;
--
- d = opendir (p);
- if (!d)
- goto out;
-@@ -441,7 +433,6 @@
- }
-
- out:
-- free (p);
- if (d)
- closedir (d);
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-binutils.git/commitdiff/a686d8446448c7634bc7b622f5cb87db3e75a155
More information about the pld-cvs-commit
mailing list