The patch proposed by Daniel Marynicz does not seem correct to me, because
ENABLE_X86_64 is not defined [1], so the guint64 part does not get compiled.
The correct check is whether ARCH_X86_64 is defined. You can grep the mplayer's
source and you will see that they either check for it (ARCH_X86_64, that is) or for
__x86_64__ which is automatically defined by gcc when compiling on amd64.
I am attaching a patch to gnome_screensaver.c that fixes the issue.
I hit this bug myself (amd64 here, too).
The patch proposed by Daniel Marynicz does not seem correct to me, because
ENABLE_X86_64 is not defined [1], so the guint64 part does not get compiled.
The correct check is whether ARCH_X86_64 is defined. You can grep the mplayer's
source and you will see that they either check for it (ARCH_X86_64, that is) or for
__x86_64__ which is automatically defined by gcc when compiling on amd64.
I am attaching a patch to gnome_screensaver.c that fixes the issue.
Has this been reported upstream?