diff options
-rw-r--r-- | community/doctest/APKBUILD | 10 | ||||
-rw-r--r-- | community/doctest/fix-warning.patch | 12 |
2 files changed, 19 insertions, 3 deletions
diff --git a/community/doctest/APKBUILD b/community/doctest/APKBUILD index e4dcb65e03..9b3cb89469 100644 --- a/community/doctest/APKBUILD +++ b/community/doctest/APKBUILD @@ -2,14 +2,15 @@ # Maintainer: Nick Black <dankamongmen@gmail.com> pkgname=doctest pkgver=2.4.6 -pkgrel=0 +pkgrel=1 pkgdesc="Fast header-only C++ unit testing" url="https://github.com/onqtam/doctest" arch="noarch" license="MIT" subpackages="$pkgname-dev" makedepends="cmake" -source="$pkgname-$pkgver.tar.gz::https://github.com/onqtam/doctest/archive/$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://github.com/onqtam/doctest/archive/$pkgver.tar.gz + fix-warning.patch" build() { if [ "$CBUILD" != "$CHOST" ]; then @@ -32,4 +33,7 @@ package() { DESTDIR="$pkgdir" cmake --build "$pkgname-$pkgver" --target install } -sha512sums="a5cccf085af946003140af688f071a6407d42fc685324a537e3b704ef9de0f2228bd06eabfd1df8da70dec001420dd0b2813e5e4320b5c1da450cb0aadd63788 doctest-2.4.6.tar.gz" +sha512sums=" +a5cccf085af946003140af688f071a6407d42fc685324a537e3b704ef9de0f2228bd06eabfd1df8da70dec001420dd0b2813e5e4320b5c1da450cb0aadd63788 doctest-2.4.6.tar.gz +653813bdd2766a50f89a3a1cdc9f703c749220f9091f269e3197a9a47abce7fa8adb7de8acaa1add49c113a5461fc9bb327e6b0b537eac528f52507b91b24d7e fix-warning.patch +" diff --git a/community/doctest/fix-warning.patch b/community/doctest/fix-warning.patch new file mode 100644 index 0000000000..a8c4442f4b --- /dev/null +++ b/community/doctest/fix-warning.patch @@ -0,0 +1,12 @@ +--- a/examples/all_features/stringification.cpp 2021-10-24 02:51:18.387049593 +0300 ++++ b/examples/all_features/stringification.cpp 2021-10-24 02:51:35.319213554 +0300 +@@ -103,9 +103,6 @@ + MyTypeInherited<int> bla1; + bla1.one = 5; + bla1.two = 4u; +- MyTypeInherited<int> bla2; +- bla2.one = 5; +- bla2.two = 6u; + + Bar::Foo f1; + Bar::Foo f2; |