On Tue, 20 Apr 2010, Edd Barrett wrote: > Sadly, this does not work on sparc64. Moving libinhibit.* out of the way > *does*
damn! > though. Have you guys read what this lib actually does? It prevents the system > suspending whilst a video is playing. I doubt sparc64 has a concept of > suspending. Then this is a workaround: Index: patches/patch-src_libvlc_c =================================================================== RCS file: patches/patch-src_libvlc_c diff -N patches/patch-src_libvlc_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_libvlc_c 20 Apr 2010 09:30:29 -0000 @@ -0,0 +1,17 @@ +$OpenBSD$ +--- src/libvlc.c.orig Tue Apr 20 11:25:25 2010 ++++ src/libvlc.c Tue Apr 20 11:26:44 2010 +@@ -905,11 +905,12 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i + || ( config_GetInt( p_libvlc, "one-instance-when-started-from-file" ) + && config_GetInt( p_libvlc, "started-from-file" ) ) ) + libvlc_InternalAddIntf( p_libvlc, "dbus,none" ); +- ++#if !defined(__sparc64__) + /* Prevents the power management daemon from suspending the system + * when VLC is active */ + if( config_GetInt( p_libvlc, "inhibit" ) > 0 ) + libvlc_InternalAddIntf( p_libvlc, "inhibit,none" ); ++#endif + #endif + + /* > I wonder if it fixes amd64? dunno. ciao, David