summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-11-26 18:48:42 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-11-26 18:30:37 +0000
commit8d9449474f5f7b63bef9e75f6708f74826a9fd82 (patch)
tree457d47ff08fbe2e3ba2cbe010129ce90fa818b54 /patches
parent98c92816575dbb5fbec7b964324a4531a649b5ef (diff)
downloadmidipix_build-8d9449474f5f7b63bef9e75f6708f74826a9fd82.tar.bz2
midipix_build-8d9449474f5f7b63bef9e75f6708f74826a9fd82.tar.xz
patches/graphicsmagick: add patches
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/graphicsmagick-1.3.35_pre.local.patch20
-rw-r--r--patches/graphicsmagick/poll.patch12
2 files changed, 32 insertions, 0 deletions
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 <sys/poll.h>
++# include <poll.h>
+ #endif
+
+ /*