Package: gstreamer0.10-pitfdll
Version: 0.9.1.1+cvs20080215-1
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
* [FTBFS] Fix error: static declaration of 'vsscanf' follows non-static
declaration
+ /gst-libs/ext/loader/wine/win32.c: Removed 'static' due to a gcc4 new
behaviour (LP: #490141)
We thought you might be interested in doing the same.
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: i386 (i686)
Kernel: Linux 2.6.31-15-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u gstreamer0.10-pitfdll-0.9.1.1+cvs20080215/debian/changelog gstreamer0.10-pitfdll-0.9.1.1+cvs20080215/debian/changelog
only in patch2:
unchanged:
--- gstreamer0.10-pitfdll-0.9.1.1+cvs20080215.orig/gst-libs/ext/loader/wine/win32.c
+++ gstreamer0.10-pitfdll-0.9.1.1+cvs20080215/gst-libs/ext/loader/wine/win32.c
@@ -67,7 +67,7 @@
# endif
#else
/* system has no vsscanf. try to provide one */
-static int vsscanf( const char *str, const char *format, va_list ap)
+int vsscanf( const char *str, const char *format, va_list ap)
{
long p1 = va_arg(ap, long);
long p2 = va_arg(ap, long);