On Wed, 28 Apr 2010, Brad wrote:

> On Tue, Apr 27, 2010 at 07:44:47PM -0400, Brad wrote:
> > On Fri, Apr 23, 2010 at 08:35:38PM -0400, Brad wrote:
> > > This should be it for now. Here is an update to 1.0.6 plus some fixes
> > > that were to go into my 1.0.5 update to fix the lib_depends for some
> > > of the sub-packages and to fix which arch the inhibit module is loaded
> > > on. I went up to 1.0.6 instead of sticking with 1.0.5 for the X threading
> > > fixes, crash fixes and security fixes with this release.
> > > 
> > > Please test.
> > 
> > Here is a third rev diff. This rolls in the workaround for VLC not
> > quitting properly and I have commented out the X11 backend plugin
> > to get VLC to fallback to the SDL backend for systems without XVideo
> > support.
> 
> Updated for the last commit to the Makefile..


Hi,

Can you pull this in?

It's more correct and avoids spawning hundreds of 

warning: `warn_unused_result' attribute directive ignored

during the build.

ciao, 
David

P.S.: It's "OK dcoppa@" then ;)


$OpenBSD$
--- include/vlc_common.h.orig   Sun Mar  7 19:38:01 2010
+++ include/vlc_common.h        Fri Apr 30 08:27:15 2010
@@ -79,7 +79,11 @@
 #   else
 #     define LIBVLC_FORMAT(x,y) __attribute__ ((format(printf,x,y)))
 #   endif
-#   define LIBVLC_USED __attribute__ ((warn_unused_result))
+#   if __GNUC__ > 3 || (__GNUC__ == 3 && (__GNUC_MINOR__ >= 4))
+#     define LIBVLC_USED __attribute__ ((warn_unused_result))
+#   else
+#     define LIBVLC_USED
+#   endif
 #else
 #   define LIBVLC_FORMAT(x,y)
 #   define LIBVLC_USED

Reply via email to