summaryrefslogtreecommitdiff
path: root/yaml-cpp/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-06-14 09:52:46 +0000
committerTim Biermann <tbier@posteo.de>2021-06-14 09:52:46 +0000
commit886466d7f463287842bb28254632e1ba5c1d392e (patch)
tree618a561d15ff5cf063ca0529cb0509a122da7666 /yaml-cpp/Pkgfile
parent70c9f7b8c30518675efcdc7e3864b808a5e80ed9 (diff)
downloadcontrib-886466d7f463287842bb28254632e1ba5c1d392e.tar.gz
contrib-886466d7f463287842bb28254632e1ba5c1d392e.tar.xz
yaml-cpp: added some patches
Diffstat (limited to 'yaml-cpp/Pkgfile')
-rw-r--r--yaml-cpp/Pkgfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/yaml-cpp/Pkgfile b/yaml-cpp/Pkgfile
index 570242748..a1f011502 100644
--- a/yaml-cpp/Pkgfile
+++ b/yaml-cpp/Pkgfile
@@ -6,10 +6,15 @@
name=yaml-cpp
version=0.6.3
-release=1
-source=(https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-$version/$name-$version.tar.gz)
+release=2
+source=(https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-$version/$name-$version.tar.gz
+ yaml-cpp-0.6.3-CVE-2017-11692.patch yaml-cpp-0.6.3-abi-breakage.patch yaml-cpp-0.6.3-fix-overflows.patch)
build() {
+ patch -Np1 -d $name-$name-$version -i $SRC/yaml-cpp-0.6.3-CVE-2017-11692.patch
+ patch -Np1 -d $name-$name-$version -i $SRC/yaml-cpp-0.6.3-abi-breakage.patch
+ patch -Np1 -d $name-$name-$version -i $SRC/yaml-cpp-0.6.3-fix-overflows.patch
+
cmake -S $name-$name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \

Generated by cgit