[packages/libdwarf] - updated to 20160115 - updated makefile,link patches
qboosh
qboosh at pld-linux.org
Tue Apr 5 17:26:51 CEST 2016
commit 1af9bbb0850bbc5279aa53854eea61c89c13ce79
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 5 17:27:05 2016 +0200
- updated to 20160115
- updated makefile,link patches
libdwarf-link.patch | 14 +++++++-------
libdwarf-makefile.patch | 18 +++++++++---------
libdwarf.spec | 10 +++++-----
3 files changed, 21 insertions(+), 21 deletions(-)
---
diff --git a/libdwarf.spec b/libdwarf.spec
index b0741f9..e90e458 100644
--- a/libdwarf.spec
+++ b/libdwarf.spec
@@ -1,16 +1,16 @@
Summary: Library to read DWARF debug information of an ELF object
Summary(pl.UTF-8): Biblioteka do odczytu informacji debugowych DWARF z obiektów ELF
Name: libdwarf
-Version: 20150915
+Version: 20160115
Release: 1
License: LGPL v2.1 (library), GPL v2 (utilities)
Group: Libraries
-#Source0Download: http://www.prevanders.net/dwarf.html
-Source0: http://www.prevanders.net/%{name}-%{version}.tar.gz
-# Source0-md5: 08d243ea44e39ceb15f72c1066857cc1
+#Source0Download: https://www.prevanders.net/dwarf.html
+Source0: https://www.prevanders.net/%{name}-%{version}.tar.gz
+# Source0-md5: 6d51b55210ebb349d23dde89cfd41089
Patch0: %{name}-makefile.patch
Patch1: %{name}-link.patch
-URL: http://www.prevanders.net/dwarf.html
+URL: https://www.prevanders.net/dwarf.html
BuildRequires: elfutils-devel
BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
diff --git a/libdwarf-link.patch b/libdwarf-link.patch
index 4651624..7da8afb 100644
--- a/libdwarf-link.patch
+++ b/libdwarf-link.patch
@@ -1,11 +1,11 @@
---- dwarf-20130207/libdwarf/Makefile.in.orig 2013-01-30 18:58:11.000000000 +0100
-+++ dwarf-20130207/libdwarf/Makefile.in 2013-07-11 19:45:33.900021085 +0200
-@@ -132,7 +132,7 @@
- $(AR) $(ARFLAGS) $@ $(OBJS) dwarf_names.o
+--- dwarf-20160115/libdwarf/Makefile.in.orig 2016-04-05 17:13:20.829368602 +0200
++++ dwarf-20160115/libdwarf/Makefile.in 2016-04-05 17:18:41.089355162 +0200
+@@ -129,7 +129,7 @@
+ $(AR) $(ARFLAGS) $@ $(OBJS) dwarf_names.o > ar-output-temp
libdwarf.so: dwarf_names.h dwarf_names.c $(OBJS) dwarf_names.o
-- $(CC) $(CFLAGS) -shared $(OBJS) dwarf_names.o -o $@
-+ $(CC) $(CFLAGS) -shared -Wl,-soname,libdwarf.so.0 $(OBJS) dwarf_names.o -o $@ -lelf
+- $(CC) $(CFLAGS) -shared $(OBJS) dwarf_names.o $(dwfzlib) -o $@
++ $(CC) $(CFLAGS) -shared -Wl,-soname,libdwarf.so.0 $(OBJS) dwarf_names.o $(dwfzlib) -o $@ -lelf
none:
- echo "do nothing"
+ echo "do nothing " $@
diff --git a/libdwarf-makefile.patch b/libdwarf-makefile.patch
index 233b42e..736f5b7 100644
--- a/libdwarf-makefile.patch
+++ b/libdwarf-makefile.patch
@@ -1,6 +1,6 @@
---- dwarf-20150915/dwarfdump/Makefile.in.orig 2015-09-15 18:36:08.000000000 +0200
-+++ dwarf-20150915/dwarfdump/Makefile.in 2015-10-24 22:55:36.597568219 +0200
-@@ -12,7 +12,7 @@
+--- dwarf-20160115/dwarfdump/Makefile.in.orig 2016-01-12 20:30:41.000000000 +0100
++++ dwarf-20160115/dwarfdump/Makefile.in 2016-04-05 17:12:42.762703533 +0200
+@@ -11,7 +11,7 @@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
@@ -9,18 +9,18 @@
mandir = $(exec_prefix)/share/man
man1dir = $(mandir)/man1
-@@ -33,8 +33,8 @@
+@@ -35,8 +35,8 @@
DIRINC = $(srcdir)/../libdwarf
- LIBS = @LIBS@ -L../libdwarf -ldwarf -lelf
- INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libdwarf
--CFLAGS = $(PREINCS) @CFLAGS@ $(INCLUDES) -DCONFPREFIX=${libdir} $(POSTINCS)
+ LIBS = @LIBS@ -L../libdwarf -ldwarf -lelf $(dwfzlib)
+ INCLUDES = -I. -I$(srcdir) -I../libdwarf -I$(srcdir)/../libdwarf
+-CFLAGS = $(PREINCS) @CFLAGS@ $(INCLUDES) $(dwfwall) -DCONFPREFIX=${libdir} $(POSTINCS)
-LDFLAGS = $(PRELIBS) @LDFLAGS@ $(LIBS) $(POSTLIBS)
-+CFLAGS = $(PREINCS) @CFLAGS@ $(INCLUDES) -DCONFPREFIX=${sysconfdir} $(POSTINCS)
++CFLAGS = $(PREINCS) @CFLAGS@ $(INCLUDES) $(dwfwall) -DCONFPREFIX=${sysconfdir} $(POSTINCS)
+LDFLAGS = $(PRELIBS) @LDFLAGS@ -Wl,-rpath,../libdwarf $(LIBS) $(POSTLIBS)
#VG = valgrind --leak-check=full
VG =
-@@ -191,9 +191,9 @@
+@@ -190,9 +190,9 @@
# will work and leave sensible permissions on the resulting files.
# Some adjustment might be required, see README.
install: all
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libdwarf.git/commitdiff/1af9bbb0850bbc5279aa53854eea61c89c13ce79
More information about the pld-cvs-commit
mailing list