File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ $(package)_download_path=https://xcb.freedesktop.org/dist
4
4
$(package)_file_name =$(package ) -$($(package ) _version) .tar.xz
5
5
$(package)_sha256_hash =a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34
6
6
$(package)_dependencies =xcb_proto libXau
7
+ $(package)_patches = remove_pthread_stubs.patch
7
8
8
9
define $(package)_set_vars
9
10
$(package ) _config_opts=--disable-static --disable-devel-docs --without-doxygen --without-launchd
20
21
21
22
define $(package)_preprocess_cmds
22
23
cp -f $(BASEDIR ) /config.guess $(BASEDIR ) /config.sub build-aux && \
23
- sed "s/pthread-stubs//" -i configure
24
+ patch -p1 -i $( $( package ) _patch_dir) /remove_pthread_stubs.patch
24
25
endef
25
26
26
27
define $(package)_config_cmds
Original file line number Diff line number Diff line change
1
+ Remove uneeded pthread-stubs dependency
2
+ --- a/configure
3
+ +++ b/configure
4
+ @@ -19695,7 +19695,7 @@ fi
5
+ NEEDED="xau >= 0.99.2"
6
+ case $host_os in
7
+ linux*) ;;
8
+ - *) NEEDED="$NEEDED pthread-stubs" ;;
9
+ + *) NEEDED="$NEEDED" ;;
10
+ esac
11
+
12
+ pkg_failed=no
You can’t perform that action at this time.
0 commit comments