Skip to content

Commit

Permalink
VERSION: update to 1852eb9052a0
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeboski committed Dec 25, 2015
1 parent b522391 commit fb34f49
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
purple-facebook-1852eb9052a0 (2015-12-25):
- Fixed broken contact counting with non-friends
- Trivial documentation fixes

purple-facebook-078fbf8d1a4e (2015-12-21):
- Fixed missing link to libgio-2.0 with Windows

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
078fbf8d1a4e
1852eb9052a0
37 changes: 37 additions & 0 deletions patches/02-glibcompat.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
diff -r 1852eb9052a0 libpurple/glibcompat.h
--- a/libpurple/glibcompat.h Fri Dec 25 15:20:41 2015 -0500
+++ b/libpurple/glibcompat.h Fri Dec 25 15:49:07 2015 -0500
@@ -61,6 +61,33 @@
return FALSE;
}

+#if !GLIB_CHECK_VERSION(2, 32, 0)
+
+static inline GByteArray * g_byte_array_new_take(guint8 *data, gsize len)
+{
+ GByteArray *array;
+
+ array = g_byte_array_new();
+ g_byte_array_append(array, data, len);
+ g_free(data);
+
+ return array;
+}
+
+static inline void g_queue_free_full(GQueue *queue, GDestroyNotify free_func)
+{
+ g_queue_foreach(queue, (GFunc)free_func, NULL);
+ g_queue_free(queue);
+}
+
+#if !GLIB_CHECK_VERSION(2, 30, 0)
+
+#define G_VALUE_INIT {0, {{0}}}
+
+#endif /* < 2.30.0 */
+
+#endif /* < 2.32.0 */
+
#endif /* < 2.36.0 */


File renamed without changes.

0 comments on commit fb34f49

Please sign in to comment.