From 8d9449474f5f7b63bef9e75f6708f74826a9fd82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Thu, 26 Nov 2020 18:48:42 +0100 Subject: patches/graphicsmagick: add patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- patches/graphicsmagick-1.3.35_pre.local.patch | 20 ++++++++++++++++++++ patches/graphicsmagick/poll.patch | 12 ++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 patches/graphicsmagick-1.3.35_pre.local.patch create mode 100644 patches/graphicsmagick/poll.patch (limited to 'patches') diff --git a/patches/graphicsmagick-1.3.35_pre.local.patch b/patches/graphicsmagick-1.3.35_pre.local.patch new file mode 100644 index 00000000..8ccf465c --- /dev/null +++ b/patches/graphicsmagick-1.3.35_pre.local.patch @@ -0,0 +1,20 @@ +diff -ru GraphicsMagick-1.3.35.orig/configure GraphicsMagick-1.3.35/configure +--- GraphicsMagick-1.3.35.orig/configure 2020-02-23 16:53:04.000000000 +0100 ++++ GraphicsMagick-1.3.35/configure 2020-11-24 13:12:28.674236547 +0100 +@@ -14614,6 +14614,16 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++midipix*) ++ version_type=linux # correct to gnu/linux during the next big refactor ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ++ soname_spec='$libname$release$shared_ext$major' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no diff --git a/patches/graphicsmagick/poll.patch b/patches/graphicsmagick/poll.patch new file mode 100644 index 00000000..7da1e8fd --- /dev/null +++ b/patches/graphicsmagick/poll.patch @@ -0,0 +1,12 @@ +diff -ru GraphicsMagick-1.3.35.orig/magick/studio.h GraphicsMagick-1.3.35/magick/studio.h +--- GraphicsMagick-1.3.35.orig/magick/studio.h 2020-02-23 16:39:56.000000000 +0100 ++++ GraphicsMagick-1.3.35/magick/studio.h 2020-11-24 12:39:58.348234453 +0100 +@@ -232,7 +232,7 @@ + #endif + + #if defined(HAVE_POLL) +-# include ++# include + #endif + + /* -- cgit v1.2.3