[SCM] gmtk/master: Move struct members around to not break the ABI

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Thu Jun 12 16:16:51 UTC 2014


The following commit has been merged in the master branch:
commit 4738de768ab47649fd251b53aeb0d307101ede6a
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Thu Jun 12 17:57:20 2014 +0200

    Move struct members around to not break the ABI

diff --git a/debian/patches/series b/debian/patches/series
index fe04dc8..db0521e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0002-hide-private-symbols.patch
 0003-use-soname-as-domain.patch
+unbreak-ABI.patch
diff --git a/debian/patches/unbreak-ABI.patch b/debian/patches/unbreak-ABI.patch
new file mode 100644
index 0000000..65cf877
--- /dev/null
+++ b/debian/patches/unbreak-ABI.patch
@@ -0,0 +1,22 @@
+Description: Do not insert new members in the middle of the struct
+Author: Sebastian Ramacher <sramacher at debian.org>
+Last-Update: 2014-06-12
+
+--- gmtk-1.0.9.orig/src/gmtk_media_player.h
++++ gmtk-1.0.9/src/gmtk_media_player.h
+@@ -328,7 +328,6 @@ struct _GmtkMediaPlayer {
+     gchar *artist;
+     gchar *title;
+     gchar *album;
+-    gchar *genre;
+     gboolean enable_divx;
+     gboolean disable_xvmc;
+     gboolean retry_on_full_cache;
+@@ -400,6 +399,7 @@ struct _GmtkMediaPlayer {
+ 
+     gboolean disposed;
+     GMutex *player_lock;
++    gchar *genre;
+     GRegex *name_regex;
+     GRegex *genre_regex;
+     GRegex *title_regex;

-- 
gmtk packaging



More information about the pkg-multimedia-commits mailing list