aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/01_location_of_gsm_data_shared.patch
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-01-20 12:20:14 +0100
committerMax <msuraev@sysmocom.de>2017-01-20 12:20:14 +0100
commit70b71507c27f8967b0aa31cad0b3070c6780f3b4 (patch)
treeb9741b64e40781af5bd40997103f27e6f6a2f093 /debian/patches/01_location_of_gsm_data_shared.patch
parentc37fd8898526dfeac3da620ddb4d2ad701c1fffd (diff)
deb: use gsm_data_shared.* from openbsc-dev
Use gsm_data-shared.* from absolute path where it's installed by openbsc-dev package instead of relative path to fix OBS package building. Change-Id: Iec6b0f0eb0b7fffaa814c9769c0ee777d641a07f Related: OS#1860
Diffstat (limited to 'debian/patches/01_location_of_gsm_data_shared.patch')
-rw-r--r--debian/patches/01_location_of_gsm_data_shared.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/01_location_of_gsm_data_shared.patch b/debian/patches/01_location_of_gsm_data_shared.patch
new file mode 100644
index 00000000..b0a14990
--- /dev/null
+++ b/debian/patches/01_location_of_gsm_data_shared.patch
@@ -0,0 +1,18 @@
+From: Ruben Undheim <ruben.undheim@gmail.com>
+Date: Sat, 28 May 2016 09:38:56 +0200
+Subject: In order to build osmo-bts,
+ some files shared with openbsc needs to be available. This replaces
+ the search path for these files so that they are picked from the openbsc-dev
+ package.
+
+---
+ src/common/gsm_data_shared.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/common/gsm_data_shared.c b/src/common/gsm_data_shared.c
+index 706892d..932d71f 100644
+--- a/src/common/gsm_data_shared.c
++++ b/src/common/gsm_data_shared.c
+@@ -1 +1 @@
+-#include "../../../openbsc/openbsc/src/libcommon/gsm_data_shared.c"
++#include "/usr/src/osmocom/openbsc/libcommon/gsm_data_shared.c"