1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- From 01651bd7e3da37cb4391b7a95a498c59701cd52f Mon Sep 17 00:00:00 2001
- From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
- Date: Tue, 5 Apr 2016 17:14:50 +0200
- Subject: [PATCH 17/17] contrib/gsm: fix compilation with Xcode 7.3
- ---
- contrib/src/gsm/gsm-xcode73.patch | 11 +++++++++++
- contrib/src/gsm/rules.mak | 1 +
- 2 files changed, 12 insertions(+)
- create mode 100644 contrib/src/gsm/gsm-xcode73.patch
- diff --git a/contrib/src/gsm/gsm-xcode73.patch b/contrib/src/gsm/gsm-xcode73.patch
- new file mode 100644
- index 0000000..677d7b4
- --- /dev/null
- +++ b/contrib/src/gsm/gsm-xcode73.patch
- @@ -0,0 +1,11 @@
- +diff -ru gsm-broken/src/code.c gsm/src/code.c
- +--- gsm-broken/src/code.c 2006-04-26 21:16:50.000000000 +0200
- ++++ gsm/src/code.c 2016-04-05 17:13:19.000000000 +0200
- +@@ -19,6 +19,7 @@
- + #include "private.h"
- + #include "gsm.h"
- + #include "proto.h"
- ++#include <string.h>
- +
- + /*
- + * 4.2 FIXED POINT IMPLEMENTATION OF THE RPE-LTP CODER
- diff --git a/contrib/src/gsm/rules.mak b/contrib/src/gsm/rules.mak
- index 38553d3..3cecb30 100644
- --- a/contrib/src/gsm/rules.mak
- +++ b/contrib/src/gsm/rules.mak
- @@ -11,6 +11,7 @@ gsm: libgsm_$(GSM_VERSION).tar.gz .sum-gsm
- $(UNPACK)
- mv gsm-1.0-* libgsm_$(GSM_VERSION)
- $(APPLY) $(SRC)/gsm/gsm-cross.patch
- + $(APPLY) $(SRC)/gsm/gsm-xcode73.patch
- sed -e 's/^CFLAGS.*=/CFLAGS+=/' -i.orig libgsm_$(GSM_VERSION)/Makefile
- $(MOVE)
-
- --
- 2.8.1
|