im.pidgin.adium.1-4 @ e6091a5e70af187752dd370da0f20481ba18783e which fixes loading avatars on Yahoo and logging in to GG on PPC.
authorThijs Alkemade <thijsalkemade@gmail.com>
Fri, 14 Oct 2011 12:03:56 +0200
changeset 3639 a0a72159c4b3
parent 3638 614c56e741cc
child 3640 21eae8019bae
im.pidgin.adium.1-4 @ e6091a5e70af187752dd370da0f20481ba18783e which fixes loading avatars on Yahoo and logging in to GG on PPC.

Fixes #15153
Frameworks/libglib.framework/Versions/2.0.0/Headers/glibconfig-ppc.h
Frameworks/libglib.framework/Versions/2.0.0/libglib
Frameworks/libgmodule.framework/Versions/2.0.0/libgmodule
Frameworks/libgobject.framework/Versions/2.0.0/libgobject
Frameworks/libgthread.framework/Versions/2.0.0/libgthread
Frameworks/libintl.framework/Versions/8/libintl
Frameworks/libjson-glib.framework/Versions/1.0.0/libjson-glib
Frameworks/libmeanwhile.framework/Versions/1/libmeanwhile
Frameworks/libpurple.framework/Versions/0/Headers/libgadu.h
Frameworks/libpurple.framework/Versions/0/libpurple
--- a/Frameworks/libglib.framework/Versions/2.0.0/Headers/glibconfig-ppc.h	Mon Sep 19 11:58:21 2011 +0200
+++ b/Frameworks/libglib.framework/Versions/2.0.0/Headers/glibconfig-ppc.h	Fri Oct 14 12:03:56 2011 +0200
@@ -13,6 +13,12 @@
 #define GLIB_HAVE_ALLOCA_H
 #define GLIB_HAVE_SYS_POLL_H
 
+/* Specifies that GLib's g_print*() functions wrap the
+ * system printf functions.  This is useful to know, for example,
+ * when using glibc's register_printf_function().
+ */
+#define GLIB_USING_SYSTEM_PRINTF
+
 G_BEGIN_DECLS
 
 #define G_MINFLOAT	FLT_MIN
@@ -145,10 +151,21 @@
 
 #define G_THREADS_ENABLED
 #define G_THREADS_IMPL_POSIX
-typedef struct _GMutex* GStaticMutex;
-#define G_STATIC_MUTEX_INIT NULL
-#define g_static_mutex_get_mutex(mutex) \
-  (g_static_mutex_get_mutex_impl_shortcut (mutex))
+typedef struct _GStaticMutex GStaticMutex;
+struct _GStaticMutex
+{
+  struct _GMutex *runtime_mutex;
+  union {
+    char   pad[44];
+    double dummy_double;
+    void  *dummy_pointer;
+    long   dummy_long;
+  } static_mutex;
+};
+#define	G_STATIC_MUTEX_INIT	{ NULL, { { 50,-86,-85,-89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0} } }
+#define	g_static_mutex_get_mutex(mutex) \
+  (g_thread_use_default_impl ? ((GMutex*)(gpointer) ((mutex)->static_mutex.pad)) : \
+   g_static_mutex_get_mutex_impl_shortcut (&((mutex)->runtime_mutex)))
 /* This represents a system thread as used by the implementation. An
  * alien implementaion, as loaded by g_thread_init can only count on
  * "sizeof (gpointer)" bytes to store their info. We however need more
Binary file Frameworks/libglib.framework/Versions/2.0.0/libglib has changed
Binary file Frameworks/libgmodule.framework/Versions/2.0.0/libgmodule has changed
Binary file Frameworks/libgobject.framework/Versions/2.0.0/libgobject has changed
Binary file Frameworks/libgthread.framework/Versions/2.0.0/libgthread has changed
Binary file Frameworks/libintl.framework/Versions/8/libintl has changed
Binary file Frameworks/libjson-glib.framework/Versions/1.0.0/libjson-glib has changed
Binary file Frameworks/libmeanwhile.framework/Versions/1/libmeanwhile has changed
--- a/Frameworks/libpurple.framework/Versions/0/Headers/libgadu.h	Mon Sep 19 11:58:21 2011 +0200
+++ b/Frameworks/libpurple.framework/Versions/0/Headers/libgadu.h	Fri Oct 14 12:03:56 2011 +0200
@@ -49,6 +49,10 @@
 /* Defined if libgadu was compiled for bigendian machine. */
 #undef GG_CONFIG_BIGENDIAN
 
+#ifdef __ppc__ 
+# define GG_CONFIG_BIGENDIAN 
+#endif 
+
 /* Defined if this machine has gethostbyname_r(). */
 #undef GG_CONFIG_HAVE_GETHOSTBYNAME_R
 
Binary file Frameworks/libpurple.framework/Versions/0/libpurple has changed