- Update 0001-build-fixes.patch to build sccp_test with SOURCES,
not LDADD. OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-sccp?expand=0&rev=37
This commit is contained in:
parent
5ef7300407
commit
32cae2f874
@ -4,6 +4,9 @@ Date: Mon, 21 Jul 2014 10:13:00 +0200
|
||||
Subject: [PATCH] build: fixes
|
||||
|
||||
Find and use system talloc, do not rely on OSMO's bundled copy.
|
||||
|
||||
Avoid adding .o files into _LDADD, this is nonportable.
|
||||
|
||||
Rename libmtp to libosmo-mtp, as libmtp is already used by the
|
||||
Multimedia Transfer Protocol library.
|
||||
---
|
||||
@ -12,10 +15,10 @@ Multimedia Transfer Protocol library.
|
||||
libosmo-sccp.pc.in | 2 +-
|
||||
src/Makefile.am | 20 +++++++++++++++-----
|
||||
tests/m2ua/Makefile.am | 2 +-
|
||||
tests/sccp/Makefile.am | 3 ++-
|
||||
tests/sccp/Makefile.am | 6 +++---
|
||||
tests/ss7/Makefile.am | 2 --
|
||||
tests/xua/Makefile.am | 6 ++----
|
||||
8 files changed, 23 insertions(+), 15 deletions(-)
|
||||
8 files changed, 24 insertions(+), 17 deletions(-)
|
||||
|
||||
Index: libosmo-sccp-1.2.0/configure.ac
|
||||
===================================================================
|
||||
@ -104,16 +107,20 @@ Index: libosmo-sccp-1.2.0/tests/sccp/Makefile.am
|
||||
===================================================================
|
||||
--- libosmo-sccp-1.2.0.orig/tests/sccp/Makefile.am
|
||||
+++ libosmo-sccp-1.2.0/tests/sccp/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
@@ -1,13 +1,13 @@
|
||||
-AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
|
||||
+AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include ${TALLOC_CFLAGS}
|
||||
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS)
|
||||
|
||||
EXTRA_DIST = sccp_test.ok
|
||||
@@ -9,5 +9,6 @@ sccp_test_SOURCES = sccp_test.c
|
||||
|
||||
noinst_PROGRAMS = sccp_test
|
||||
|
||||
-sccp_test_SOURCES = sccp_test.c
|
||||
+sccp_test_SOURCES = sccp_test.c ${top_srcdir}/src/sccp.c
|
||||
sccp_test_LDADD = \
|
||||
$(LIBOSMOCORE_LIBS) \
|
||||
$(top_builddir)/src/sccp.o \
|
||||
- $(top_builddir)/src/sccp.o \
|
||||
+ ${TALLOC_LIBS} \
|
||||
$(NULL)
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 11:42:32 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update 0001-build-fixes.patch to build sccp_test with SOURCES,
|
||||
not LDADD.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 5 10:19:06 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@ -28,7 +28,6 @@ URL: https://projects.osmocom.org/projects/libosmo-sccp
|
||||
#Git-Clone: git://git.osmocom.org/libosmo-sccp
|
||||
Source: %name-%version.tar.xz
|
||||
Patch1: 0001-build-fixes.patch
|
||||
Patch2: 0002-build-fixes.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: automake >= 1.6
|
||||
BuildRequires: libtool >= 2
|
||||
|
Loading…
Reference in New Issue
Block a user