[libosmo-sccp] 02/05: Make shared library

Ruben Undheim rubund-guest at moszumanska.debian.org
Fri Feb 5 16:14:51 UTC 2016


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository libosmo-sccp.

commit 868b17d48847fa87524022959ac1e547f216fab4
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Fri Feb 5 16:35:38 2016 +0100

    Make shared library
---
 debian/patches/01_make_library_shared.patch | 68 +++++++++++++++++++++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 69 insertions(+)

diff --git a/debian/patches/01_make_library_shared.patch b/debian/patches/01_make_library_shared.patch
new file mode 100644
index 0000000..8f64885
--- /dev/null
+++ b/debian/patches/01_make_library_shared.patch
@@ -0,0 +1,68 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ libosmo-sccp (0.7.0-1) unstable; urgency=low
+ .
+   * Initial release (Closes: #813294)
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+Bug-Debian: https://bugs.debian.org/813294
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+Index: libosmo-sccp/src/Makefile.am
+===================================================================
+--- libosmo-sccp.orig/src/Makefile.am	2016-02-05 16:46:17.942822181 +0100
++++ libosmo-sccp/src/Makefile.am	2016-02-05 16:46:17.938822285 +0100
+@@ -2,8 +2,11 @@
+ AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS)
+ 
+ sccpdir = $(libdir)
+-sccp_LIBRARIES = libsccp.a libmtp.a libxua.a
++sccp_LTLIBRARIES = libsccp.la libmtp.la libxua.la
+ 
+-libsccp_a_SOURCES = sccp.c
+-libmtp_a_SOURCES = mtp_pcap.c 
+-libxua_a_SOURCES = xua_msg.c
++libsccp_la_SOURCES = sccp.c
++libsccp_la_LDFLAGS= -shared -fPIC
++libmtp_la_SOURCES = mtp_pcap.c 
++libmtp_la_LDFLAGS= -shared -fPIC
++libxua_la_SOURCES = xua_msg.c
++libxua_la_LDFLAGS= -shared -fPIC
+Index: libosmo-sccp/configure.ac
+===================================================================
+--- libosmo-sccp.orig/configure.ac	2016-02-05 16:46:17.942822181 +0100
++++ libosmo-sccp/configure.ac	2016-02-05 16:46:17.938822285 +0100
+@@ -12,6 +12,7 @@
+ dnl checks for programs
+ AC_PROG_MAKE_SET
+ AC_PROG_CC
++AC_PROG_LIBTOOL
+ AC_PROG_INSTALL
+ AC_PROG_RANLIB
+ 
+Index: libosmo-sccp/tests/m2ua/Makefile.am
+===================================================================
+--- libosmo-sccp.orig/tests/m2ua/Makefile.am	2016-02-05 16:22:38.984126416 +0100
++++ libosmo-sccp/tests/m2ua/Makefile.am	2016-02-05 16:47:43.716668900 +0100
+@@ -5,4 +5,4 @@
+ 
+ noinst_PROGRAMS = m2ua_test
+ m2ua_test_SOURCES = m2ua_test.c
+-m2ua_test_LDADD = $(top_builddir)/src/libxua.a $(LIBOSMOCORE_LIBS)
++m2ua_test_LDADD = $(top_builddir)/src/libxua.la $(LIBOSMOCORE_LIBS)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c413cac
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_make_library_shared.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libosmo-sccp.git



More information about the debian-science-commits mailing list