2010-01-06 Jeff Cai <
[email protected]>
* SFEgnome-screensaver.spec:
* SUNWgnome-screensaver.spec:
* base-specs/gnome-screensaver.spec:
* patches/gnome-screensaver-02-unlock-first.diff: Start the unlock
dialog once the lock is enabled
* patches/gnome-screensaver-03-gs-debug.diff: Make the debug msgs
be printed on Solaris
Change the file name SUNW to SFE.
Add two patches.
--- gnome-screensaver-2.28.0/src/gs-debug.h.orig 2010-01-04 13:55:30.357437050 +0800
+++ gnome-screensaver-2.28.0/src/gs-debug.h 2010-01-04 13:55:58.245752863 +0800
@@ -28,13 +28,7 @@
G_BEGIN_DECLS
-#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-#define gs_debug(...) gs_debug_real (__func__, __FILE__, __LINE__, __VA_ARGS__)
-#elif defined(__GNUC__) && __GNUC__ >= 3
-#define gs_debug(...) gs_debug_real (__FUNCTION__, __FILE__, __LINE__, __VA_ARGS__)
-#else
-#define gs_debug(...)
-#endif
+#define gs_debug(...) gs_debug_real (G_STRFUNC, __FILE__, __LINE__, __VA_ARGS__)
void gs_debug_init (gboolean debug,
gboolean to_file);