[vlc-devel] [PATCH 1/3] aribb25: fix a header guard

Sean McGovern gseanmcg at gmail.com
Mon Nov 3 23:58:08 CET 2014


---
 contrib/src/aribb25/aribb25-header_guard.patch | 9 +++++++++
 contrib/src/aribb25/rules.mak                  | 1 +
 2 files changed, 10 insertions(+)
 create mode 100644 contrib/src/aribb25/aribb25-header_guard.patch

diff --git a/contrib/src/aribb25/aribb25-header_guard.patch b/contrib/src/aribb25/aribb25-header_guard.patch
new file mode 100644
index 0000000..697268c
--- /dev/null
+++ b/contrib/src/aribb25/aribb25-header_guard.patch
@@ -0,0 +1,9 @@
+--- aribb25/src/ts_section_parser_error_code.h.orig	2014-10-17 20:34:22.000000000 -0400
++++ aribb25/src/ts_section_parser_error_code.h	2014-11-03 17:41:23.000000000 -0500
+@@ -1,5 +1,5 @@
+ #ifndef TS_SECTION_PARSER_ERROR_CODE_H
+-#define TS_SECTION_PARESR_ERROR_CODE_H
++#define TS_SECTION_PARSER_ERROR_CODE_H
+ 
+ #define TS_SECTION_PARSER_ERROR_INVALID_PARAM        -1
+ #define TS_SECTION_PARSER_ERROR_NO_ENOUGH_MEMORY     -2
diff --git a/contrib/src/aribb25/rules.mak b/contrib/src/aribb25/rules.mak
index 4ccc9a2..c5665bb 100644
--- a/contrib/src/aribb25/rules.mak
+++ b/contrib/src/aribb25/rules.mak
@@ -17,6 +17,7 @@ $(TARBALLS)/aribb25-$(ARIBB25_VERSION).tar.gz:
 
 aribb25: aribb25-$(ARIBB25_VERSION).tar.gz .sum-aribb25
 	$(UNPACK)
+	$(APPLY) $(SRC)/aribb25/aribb25-header_guard.patch
 	$(MOVE)
 
 .aribb25: aribb25
-- 
1.9.3 (Apple Git-50)




More information about the vlc-devel mailing list