mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Allow separating patches into subfolders.
This commit is contained in:
parent
e63f3b7958
commit
264b4b3cab
6
debian/rules
vendored
6
debian/rules
vendored
@ -64,8 +64,10 @@ ifneq "$(wildcard /usr/share/misc/config.guess)" ""
|
||||
endif
|
||||
|
||||
# Apply our patches to Wine
|
||||
for FILE in `ls $(CURDIR)/patches`; do \
|
||||
patch -N -p0 --strip=1 < $(CURDIR)/patches/$$FILE || exit 1; \
|
||||
for DIR in $(find $(CURDIR)/patches/ -type d | sort); do \
|
||||
for FILE in $(ls $$DIR | sort); do \
|
||||
patch -N -p0 --strip=1 < $$DIR/$$FILE || exit 1; \
|
||||
done
|
||||
done
|
||||
|
||||
# Update the configure script
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
PATCH_DATA="";
|
||||
for FILE in patches/*.patch; do
|
||||
for FILE in patches/*.patch patches/*/*.patch; do
|
||||
MD5SUM=$(md5sum "${FILE}" | sed 's| .*||g');
|
||||
AUTHOR=$(cat "${FILE}" | sed -n 's|From: \([^<]*\).*|\1|p' | sed -e 's|"||g' -e 's| $||g');
|
||||
TITLE=$(cat "${FILE}" | sed -n '1!N; s|Subject: \(.*\)\n|\1|p');
|
||||
|
Loading…
Reference in New Issue
Block a user