Skip to content

Commit 7fa6e2a

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Update libmagic.patch
2 parents 3187575 + f15ab32 commit 7fa6e2a

File tree

2 files changed

+96
-59
lines changed

2 files changed

+96
-59
lines changed

ext/fileinfo/generate_patch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ if [[ ! -d libmagic.orig ]]; then
44
wget -O - ftp://ftp.astron.com/pub/file/file-$VERSION.tar.gz \
55
| tar -xz --strip-components=2 -C libmagic.orig file-$VERSION/src
66
fi
7+
sed -e "s/X\.YY/${VERSION//.}/g" libmagic.orig/magic.h.in > libmagic.orig/magic.h
78
diff -u libmagic.orig libmagic | grep -v '^Only in' > libmagic.patch

0 commit comments

Comments
 (0)