aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/01_location_of_gsm_data_shared.patch18
-rw-r--r--debian/patches/series2
-rw-r--r--debian/source/format2
3 files changed, 21 insertions, 1 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"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000..e7531725
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01_location_of_gsm_data_shared.patch
+
diff --git a/debian/source/format b/debian/source/format
index 89ae9db8..163aaf8d 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-3.0 (native)
+3.0 (quilt)