[vlc-commits] fribidi: don't build with -ansi

Rafaël Carré git at videolan.org
Tue May 29 22:16:34 CEST 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue May 29 16:15:39 2012 -0400| [823af4bcf8add42d6f32a76db813f719e7abb242] | committer: Rafaël Carré

fribidi: don't build with -ansi

This breaks with bionic (see b0ea094267e4bb)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=823af4bcf8add42d6f32a76db813f719e7abb242
---

 contrib/src/fribidi/no-ansi.patch |   12 ++++++++++++
 contrib/src/fribidi/rules.mak     |    1 +
 2 files changed, 13 insertions(+)

diff --git a/contrib/src/fribidi/no-ansi.patch b/contrib/src/fribidi/no-ansi.patch
new file mode 100644
index 0000000..9f241fe
--- /dev/null
+++ b/contrib/src/fribidi/no-ansi.patch
@@ -0,0 +1,12 @@
+diff -ur fribidi.orig/configure.ac fribidi/configure.ac
+--- fribidi.orig/configure.ac	2012-05-29 16:13:47.340167837 -0400
++++ fribidi/configure.ac	2012-05-29 16:14:23.180167432 -0400
+@@ -110,7 +110,7 @@
+ # Checks for compiler characteristics.
+ changequote(,)dnl
+ if test "x$GCC" = "xyes"; then
+-  CFLAGS="$CFLAGS -Wall -ansi "
++  CFLAGS="$CFLAGS -Wall"
+ fi
+ changequote([,])dnl
+ 
diff --git a/contrib/src/fribidi/rules.mak b/contrib/src/fribidi/rules.mak
index 7004fde..cd192ac 100644
--- a/contrib/src/fribidi/rules.mak
+++ b/contrib/src/fribidi/rules.mak
@@ -15,6 +15,7 @@ $(TARBALLS)/fribidi-$(FRIBIDI_VERSION).tar.gz:
 fribidi: fribidi-$(FRIBIDI_VERSION).tar.gz .sum-fribidi
 	$(UNPACK)
 	$(APPLY) $(SRC)/fribidi/fribidi.patch
+	$(APPLY) $(SRC)/fribidi/no-ansi.patch
 	$(MOVE)
 
 # FIXME: DEPS_fribidi = iconv $(DEPS_iconv)



More information about the vlc-commits mailing list