0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-13 14:09:19 +00:00
termux-packages/disabled-packages/gimp3/meson.build.patch
2022-10-27 07:05:00 +09:00

38 lines
1.1 KiB
Diff

--- a/meson.build
+++ b/meson.build
@@ -367,7 +367,7 @@
lcms = dependency('lcms2', version: '>='+lcms_minver)
libmypaint_minver = '1.3.0'
libmypaint = dependency('libmypaint', version: '>='+libmypaint_minver)
-mypaint_brushes = dependency('mypaint-brushes-1.0',version: '>='+libmypaint_minver)
+mypaint_brushes = dependency('mypaint-brushes-2.0',version: '>='+libmypaint_minver)
if not libmypaint.version().version_compare('>=1.4.0')
libmypaint_warning='''
@@ -1310,6 +1310,7 @@
endif
if shmem_choice == 'sysv'
+ if false
check_ip_rmid_deferred_release = cc.run('''
#include <sys/types.h>
#include <sys/ipc.h>
@@ -1330,6 +1331,8 @@
exit(0);
}
''').returncode() == 0
+ endif
+ check_ip_rmid_deferred_release = true
conf.set('IPC_RMID_DEFERRED_RELEASE', check_ip_rmid_deferred_release)
conf.set('USE_SYSV_SHM', true)
elif shmem_choice == 'posix'
@@ -1340,7 +1343,7 @@
conf.set('NO_FD_SET',
not platform_windows
and not cc.compiles('''
- #include <sys/types.h>
+ #include <sys/select.h>
int main() { fd_set readMask, writeMask; return 0; }
''')
)