Commits

Michael Dickens authored 7ad4691a97f
osmocore-devel: update to a75e349b (20181102)
No tags

science/osmocore/files/patch-fix-python.diff

Modified
1 1 diff --git a/include/Makefile.am b/include/Makefile.am
2 2 index 19695d1..6a746b1 100644
3 3 --- a/include/Makefile.am
4 4 +++ b/include/Makefile.am
5 -@@ -166,7 +166,7 @@ osmocom/core/crc%gen.h: osmocom/core/crcXXgen.h.tpl
5 +@@ -167,7 +167,7 @@
6 6 $(AM_V_GEN)sed -e's/XX/$*/g' $< > $@
7 7
8 8 osmocom/gsm/gsm0503.h: $(top_srcdir)/utils/conv_gen.py $(top_srcdir)/utils/conv_codes_gsm.py
9 9 - $(AM_V_GEN)python $(top_srcdir)/utils/conv_gen.py gen_header gsm \
10 10 + $(AM_V_GEN)@PYTHON_EXECUTABLE@ $(top_srcdir)/utils/conv_gen.py gen_header gsm \
11 11 --target-path $(builddir)/osmocom/gsm
12 12
13 13 CLEANFILES = osmocom/gsm/gsm0503.h
14 14 diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am
15 15 index 29299a6..fe519ae 100644
16 16 --- a/src/gsm/Makefile.am
17 17 +++ b/src/gsm/Makefile.am
18 -@@ -47,6 +47,6 @@ EXTRA_DIST = libosmogsm.map
18 +@@ -48,6 +48,6 @@
19 19
20 20 # Convolutional codes generation
21 21 gsm0503_conv.c: $(top_srcdir)/utils/conv_gen.py $(top_srcdir)/utils/conv_codes_gsm.py
22 22 - $(AM_V_GEN)python $(top_srcdir)/utils/conv_gen.py gen_codes gsm
23 23 + $(AM_V_GEN)@PYTHON_EXECUTABLE@ $(top_srcdir)/utils/conv_gen.py gen_codes gsm
24 24
25 25 CLEANFILES = gsm0503_conv.c
26 26 diff --git a/tests/Makefile.am b/tests/Makefile.am
27 27 index 18d4bb4..6191867 100644
28 28 --- a/tests/Makefile.am

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut