diff options
Diffstat (limited to 'misc/edfbrowser/files')
-rw-r--r-- | misc/edfbrowser/files/patch-edfbrowser.pro | 59 | ||||
-rw-r--r-- | misc/edfbrowser/files/patch-edflib.c | 11 | ||||
-rw-r--r-- | misc/edfbrowser/files/patch-global.h | 11 |
3 files changed, 81 insertions, 0 deletions
diff --git a/misc/edfbrowser/files/patch-edfbrowser.pro b/misc/edfbrowser/files/patch-edfbrowser.pro new file mode 100644 index 000000000000..1cc7925c64f1 --- /dev/null +++ b/misc/edfbrowser/files/patch-edfbrowser.pro @@ -0,0 +1,59 @@ +--- edfbrowser.pro.orig 2022-06-20 06:49:59 UTC ++++ edfbrowser.pro +@@ -284,35 +284,35 @@ win32 { + QMAKE_CXXFLAGS += -Wextra -Wshadow -Wformat -Wformat-nonliteral -Wformat-security -Wtype-limits -Wfatal-errors -Wdeprecated-declarations + + unix { +-target.path = /usr/bin ++target.path = $$PREFIX/bin/ + target.files = edfbrowser + INSTALLS += target + +-documentation.path = /usr/share/doc/edfbrowser ++documentation.path = $$PREFIX/share/doc/edfbrowser + documentation.files = doc/* + INSTALLS += documentation + +-icon_a.path = /usr/share/icons ++icon_a.path = $$PREFIX/share/icons + icon_a.files = images/edf.png + INSTALLS += icon_a + +-icon_b.path += /usr/share/pixmaps ++icon_b.path += $$PREFIX/share/pixmaps + icon_b.files = images/edf.png + INSTALLS += icon_b + +-icon_c.path += /usr/share/icons/hicolor/48x48/apps ++icon_c.path += $$PREFIX/share/icons/hicolor/48x48/apps + icon_c.files = images/edf.png + INSTALLS += icon_c + +-icon_d.path += /usr/share/icons/hicolor/48x48/mimetypes ++icon_d.path += $$PREFIX/share/icons/hicolor/48x48/mimetypes + icon_d.files = images/edf.png + INSTALLS += icon_d + +-desktop_link.path += /usr/share/applications ++desktop_link.path += $$PREFIX/share/applications + desktop_link.files += install/edfbrowser.desktop + INSTALLS += desktop_link + +-mime.path += /usr/share/mime/packages ++mime.path += $$PREFIX/share/mime/packages + mime.files += install/edfbrowser.xml + INSTALLS += mime + } +@@ -323,10 +323,10 @@ mac { + QMAKE_APPLICATION_BUNDLE_NAME = EDFbrowser + QMAKE_TARGET_BUNDLE_PREFIX = net.teuniz + icns.target = edf.icns +- icns.commands = /usr/bin/env bash $$_PRO_FILE_PWD_/images/macos-icns-create.command "$$(PWD)" ++ icns.commands = $$PREFIX/bin/env bash $$_PRO_FILE_PWD_/images/macos-icns-create.command "$$(PWD)" + QMAKE_EXTRA_TARGETS += icns + ICON = $$(PWD)/edf.icns +- QMAKE_POST_LINK = /usr/bin/env bash $$_PRO_FILE_PWD_/install/macos-dmg-create.command "$$(PWD)" ++ QMAKE_POST_LINK = $$PREFIX/bin/env bash $$_PRO_FILE_PWD_/install/macos-dmg-create.command "$$(PWD)" + QMAKE_CLEAN += edf.iconset EDFbrowser-*-temp.dmg + QMAKE_DISTCLEAN += edf.icns EDFbrowser-*.dmg + } diff --git a/misc/edfbrowser/files/patch-edflib.c b/misc/edfbrowser/files/patch-edflib.c new file mode 100644 index 000000000000..4412992a2639 --- /dev/null +++ b/misc/edfbrowser/files/patch-edflib.c @@ -0,0 +1,11 @@ +--- edflib.c.orig 2022-06-20 06:42:24 UTC ++++ edflib.c +@@ -38,7 +38,7 @@ + #define EDFLIB_VERSION (121) + #define EDFLIB_MAXFILES (64) + +-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) ++#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__FreeBSD__) + + #define fopeno fopen + diff --git a/misc/edfbrowser/files/patch-global.h b/misc/edfbrowser/files/patch-global.h new file mode 100644 index 000000000000..a6dd5007295f --- /dev/null +++ b/misc/edfbrowser/files/patch-global.h @@ -0,0 +1,11 @@ +--- global.h.orig 2022-06-20 06:40:34 UTC ++++ global.h +@@ -54,7 +54,7 @@ + + #include <stdio.h> + +-#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) ++#if defined(__APPLE__) || defined(__MACH__) || defined(__APPLE_CC__) || defined(__HAIKU__) || defined(__FreeBSD__) + + #define fopeno fopen + |