[packages/libsigrokdecode] - added link patch (fixes parallel build) - release 2
qboosh
qboosh at pld-linux.org
Sun Jul 27 19:59:27 CEST 2014
commit 416863e9cae44b3601fd5f2b9d7663e57748c259
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 27 20:04:52 2014 +0200
- added link patch (fixes parallel build)
- release 2
libsigrokdecode-link.patch | 11 +++++++++++
libsigrokdecode.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libsigrokdecode.spec b/libsigrokdecode.spec
index 6109b4d..bda29b5 100644
--- a/libsigrokdecode.spec
+++ b/libsigrokdecode.spec
@@ -6,11 +6,12 @@ Summary: Basic API for running protocol decoders
Summary(pl.UTF-8): Podstawowe API do uruchamiana dekoderów protokołów
Name: libsigrokdecode
Version: 0.3.0
-Release: 1
+Release: 2
License: GPL v3+
Group: Libraries
Source0: http://www.sigrok.org/download/source/libsigrokdecode/%{name}-%{version}.tar.gz
# Source0-md5: c2c134355a0c50404e692335ce5b4c6e
+Patch0: %{name}-link.patch
URL: http://www.sigrok.org/
# for unit tests
#BuildRequires: check >= 0.9.4
@@ -69,6 +70,7 @@ Statyczna biblioteka libsigrokdecode.
%prep
%setup -q
+%patch0 -p1
%build
%configure \
diff --git a/libsigrokdecode-link.patch b/libsigrokdecode-link.patch
new file mode 100644
index 0000000..3107337
--- /dev/null
+++ b/libsigrokdecode-link.patch
@@ -0,0 +1,11 @@
+--- libsigrokdecode-0.3.0/Makefile.am.orig 2014-05-06 23:08:31.000000000 +0200
++++ libsigrokdecode-0.3.0/Makefile.am 2014-07-27 19:41:48.489712604 +0200
+@@ -71,7 +71,7 @@
+ tests_runtc_SOURCES = tests/runtc.c
+ tests_runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) \
+ -DDECODERS_DIR='"$(abs_top_builddir)/decoders"'
+-tests_runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -lsigrokdecode
++tests_runtc_LDADD = $(top_builddir)/libsigrokdecode.la $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON)
+ endif
+
+ MAINTAINERCLEANFILES = ChangeLog
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsigrokdecode.git/commitdiff/416863e9cae44b3601fd5f2b9d7663e57748c259
More information about the pld-cvs-commit
mailing list