diff -Nru libmirage-3.0.5/debian/changelog libmirage-3.0.5/debian/changelog --- libmirage-3.0.5/debian/changelog 2016-10-09 19:48:44.000000000 +0000 +++ libmirage-3.0.5/debian/changelog 2016-10-19 18:40:28.000000000 +0000 @@ -1,3 +1,7 @@ +libmirage (3.0.5-1ubuntu1~precise1~ppa2) precise; urgency=low + * Upstream patch to replace g_assert_nonnull(X) with g_assert(X != NULL) + -- Rok Mandeljc Wed, 19 Oct 2016 12:00:00 +0100 + libmirage (3.0.5-1ubuntu1~precise1~ppa1) precise; urgency=low * Updated to 3.0.5 -- Rok Mandeljc Sun, 09 Oct 2016 12:00:00 +0100 diff -Nru libmirage-3.0.5/debian/patches/01_g_assert_nonnull.diff libmirage-3.0.5/debian/patches/01_g_assert_nonnull.diff --- libmirage-3.0.5/debian/patches/01_g_assert_nonnull.diff 1970-01-01 00:00:00.000000000 +0000 +++ libmirage-3.0.5/debian/patches/01_g_assert_nonnull.diff 2016-10-19 18:46:41.000000000 +0000 @@ -0,0 +1,52 @@ +Index: libmirage-3.0.5/images/image-ccd/parser.c +=================================================================== +--- libmirage-3.0.5.orig/images/image-ccd/parser.c 2016-10-19 20:45:47.238020045 +0200 ++++ libmirage-3.0.5/images/image-ccd/parser.c 2016-10-19 20:46:38.188531986 +0200 +@@ -927,7 +927,7 @@ + + CCD_RegexRule *new_rule = g_new(CCD_RegexRule, 1); + new_rule->regex = g_regex_new(rule, G_REGEX_OPTIMIZE, 0, NULL); +- g_assert_nonnull(new_rule->regex); ++ g_assert(new_rule->regex != NULL); + new_rule->callback_func = callback; + /* Append to the list */ + list = g_list_append(list, new_rule); +Index: libmirage-3.0.5/images/image-cue/parser.c +=================================================================== +--- libmirage-3.0.5.orig/images/image-cue/parser.c 2016-10-19 20:45:47.238020045 +0200 ++++ libmirage-3.0.5/images/image-cue/parser.c 2016-10-19 20:46:38.188531986 +0200 +@@ -767,7 +767,7 @@ + + CUE_RegexRule *new_rule = g_new(CUE_RegexRule, 1); + new_rule->regex = g_regex_new(rule, G_REGEX_OPTIMIZE, 0, NULL); +- g_assert_nonnull(new_rule->regex); ++ g_assert(new_rule->regex != NULL); + new_rule->callback_func = callback; + /* Append to the list */ + list = g_list_append(list, new_rule); +Index: libmirage-3.0.5/images/image-toc/parser.c +=================================================================== +--- libmirage-3.0.5.orig/images/image-toc/parser.c 2016-10-19 20:45:47.238020045 +0200 ++++ libmirage-3.0.5/images/image-toc/parser.c 2016-10-19 20:46:38.188531986 +0200 +@@ -863,7 +863,7 @@ + + TOC_RegexRule *new_rule = g_new(TOC_RegexRule, 1); + new_rule->regex = g_regex_new(rule, G_REGEX_OPTIMIZE, 0, NULL); +- g_assert_nonnull(new_rule->regex); ++ g_assert(new_rule->regex != NULL); + new_rule->callback_func = callback; + /* Append to the list */ + list = g_list_append(list, new_rule); +Index: libmirage-3.0.5/images/image-xcdroast/parser.c +=================================================================== +--- libmirage-3.0.5.orig/images/image-xcdroast/parser.c 2016-10-19 20:45:47.238020045 +0200 ++++ libmirage-3.0.5/images/image-xcdroast/parser.c 2016-10-19 20:46:38.188531986 +0200 +@@ -496,7 +496,7 @@ + + XCDROAST_RegexRule *new_rule = g_new(XCDROAST_RegexRule, 1); + new_rule->regex = g_regex_new(rule, G_REGEX_OPTIMIZE, 0, NULL); +- g_assert_nonnull(new_rule->regex); ++ g_assert(new_rule->regex != NULL); + new_rule->callback_func = callback; + /* Append to the list */ + list = g_list_append(list, new_rule); diff -Nru libmirage-3.0.5/debian/patches/series libmirage-3.0.5/debian/patches/series --- libmirage-3.0.5/debian/patches/series 2016-10-09 19:01:03.000000000 +0000 +++ libmirage-3.0.5/debian/patches/series 2016-10-19 18:44:55.000000000 +0000 @@ -0,0 +1 @@ +01_g_assert_nonnull.diff