Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
87f2a351
Commit
87f2a351
authored
Sep 20, 2005
by
Eric Petit
Browse files
speex.patch: fix build with gcc < 3
parent
fe33072c
Changes
1
Hide whitespace changes
Inline
Side-by-side
extras/contrib/src/Patches/speex.patch
View file @
87f2a351
diff -ru speex-1.1.10/libspeex/stack_alloc.h speex/libspeex/stack_alloc.h
--- speex-1.1.10/libspeex/stack_alloc.h 2005-04-25 07:58:00.000000000 +0000
+++ speex/libspeex/stack_alloc.h 2005-09-20 19:59:55.049666072 +0000
@@ -64,7 +64,7 @@
#endif
-#if defined(VAR_ARRAYS)
+#if defined(VAR_ARRAYS) && !( defined(__GNUC__) && __GNUC__ < 3 )
#define VARDECL(var)
#define ALLOC(var, size, type) type var[size]
#elif defined(USE_ALLOCA)
diff -ruN speex-1.1.10/Makefile.am speex/Makefile.am
--- speex-1.1.10/Makefile.am Thu Jun 9 08:22:08 2005
+++ speex/Makefile.am Fri Aug 26 14:55:35 2005
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment