summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0105-gitversion.patch19
-rw-r--r--debian/patches/0115-fix_meson_build.patch17
-rw-r--r--debian/patches/series2
3 files changed, 38 insertions, 0 deletions
diff --git a/debian/patches/0105-gitversion.patch b/debian/patches/0105-gitversion.patch
new file mode 100644
index 0000000..aba218b
--- /dev/null
+++ b/debian/patches/0105-gitversion.patch
@@ -0,0 +1,19 @@
+Description: Typo in git version macro
+Author: Jörg Fringy-Fürst <debian@jff.email>
+Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=795719
+Last-Update: 2018-05-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/src/Resources.vala
+===================================================================
+--- trunk.orig/src/Resources.vala
++++ trunk/src/Resources.vala
+@@ -18,7 +18,7 @@ namespace Resources {
+ public const string APP_DIRECT_ROLE = _("Photo Viewer");
+ public const string APP_VERSION = _VERSION;
+
+-#if _GITVERSION
++#if _GIT_VERSION
+ public const string? GIT_VERSION = _GIT_VERSION;
+ #else
+ public const string? GIT_VERSION = null;
diff --git a/debian/patches/0115-fix_meson_build.patch b/debian/patches/0115-fix_meson_build.patch
new file mode 100644
index 0000000..0739a80
--- /dev/null
+++ b/debian/patches/0115-fix_meson_build.patch
@@ -0,0 +1,17 @@
+Description: Remove --fatal-warnings from build options
+Author: Jörg Frings-Fürst <debian@jff.email>
+Last-Update: 2019-10-07
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/meson.build
+===================================================================
+--- trunk.orig/meson.build
++++ trunk/meson.build
+@@ -25,7 +25,6 @@ add_global_arguments(['--target-glib=2.4
+ '--vapidir=@0@'.format(join_paths(meson.current_source_dir(),
+ 'vapi')),
+ '--enable-checking',
+- '--fatal-warnings',
+ '--enable-experimental',
+ '--enable-deprecated'], language : 'vala')
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7fbf718
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0105-gitversion.patch
+0115-fix_meson_build.patch