[arch-commits] Commit in aws-sdk-cpp/repos/community-x86_64 (4 files)
Anatol Pomozov
anatolik at gemini.archlinux.org
Wed Nov 3 22:10:28 UTC 2021
Date: Wednesday, November 3, 2021 @ 22:10:27
Author: anatolik
Revision: 1035715
archrelease: copy trunk to community-x86_64
Added:
aws-sdk-cpp/repos/community-x86_64/PKGBUILD
(from rev 1035714, aws-sdk-cpp/trunk/PKGBUILD)
aws-sdk-cpp/repos/community-x86_64/fix_null.patch
(from rev 1035714, aws-sdk-cpp/trunk/fix_null.patch)
Deleted:
aws-sdk-cpp/repos/community-x86_64/PKGBUILD
aws-sdk-cpp/repos/community-x86_64/fix_null.patch
----------------+
PKGBUILD | 66 ++++++++++++++++++++++++-------------------------------
fix_null.patch | 52 +++++++++++++++++++++----------------------
2 files changed, 55 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-03 22:10:02 UTC (rev 1035714)
+++ PKGBUILD 2021-11-03 22:10:27 UTC (rev 1035715)
@@ -1,37 +0,0 @@
-# Maintainer: Anatol Pomozov
-
-pkgname=aws-sdk-cpp
-pkgver=1.9.118
-pkgrel=1
-pkgdesc='AWS SDK for C++'
-arch=(x86_64)
-url='https://github.com/aws/aws-sdk-cpp'
-license=(Apache)
-depends=(openssl curl zlib util-linux-libs aws-c-common aws-c-event-stream libpulse aws-crt-cpp)
-makedepends=(cmake ninja)
-source=(aws-sdk-cpp-$pkgver.zip::https://github.com/aws/aws-sdk-cpp/archive/$pkgver.zip
- fix_null.patch) # https://github.com/aws/aws-sdk-cpp/pull/1506
-sha256sums=('6fd92dae061b08c324801be03bd285b56a52e0c3ac2a13e37cfeffe86587b4ca'
- '2260270b5f05c79232b106ad4c73856c05db1f5866174934e0f03e56668868c3')
-
-prepare() {
- cd aws-sdk-cpp-$pkgver
-
- patch -p1 < ../fix_null.patch
-}
-
-build() {
- cd aws-sdk-cpp-$pkgver
-
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCUSTOM_MEMORY_MANAGEMENT=OFF -DENABLE_TESTING=OFF -DBUILD_DEPS=OFF \
- -DCMAKE_MODULE_PATH=/usr/lib/cmake \
- -S . -B build -G Ninja
- ninja -C build -j 2 # the build is so heavy that it gets OOM killed even at powerful machines
-}
-
-package() {
- cd aws-sdk-cpp-$pkgver
-
- DESTDIR="$pkgdir" ninja -C build install
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: aws-sdk-cpp/repos/community-x86_64/PKGBUILD (from rev 1035714, aws-sdk-cpp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-03 22:10:27 UTC (rev 1035715)
@@ -0,0 +1,29 @@
+# Maintainer: Anatol Pomozov
+
+pkgname=aws-sdk-cpp
+pkgver=1.9.136
+pkgrel=1
+pkgdesc='AWS SDK for C++'
+arch=(x86_64)
+url='https://github.com/aws/aws-sdk-cpp'
+license=(Apache)
+depends=(openssl curl zlib util-linux-libs aws-c-common aws-c-event-stream libpulse aws-crt-cpp)
+makedepends=(cmake ninja)
+source=(aws-sdk-cpp-$pkgver.zip::https://github.com/aws/aws-sdk-cpp/archive/$pkgver.zip)
+sha256sums=('98f88b9628ed01380373cd1bcccb425ee14744090a435daea19a5810d2a28b1d')
+
+build() {
+ cd aws-sdk-cpp-$pkgver
+
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCUSTOM_MEMORY_MANAGEMENT=OFF -DENABLE_TESTING=OFF -DBUILD_DEPS=OFF \
+ -DCMAKE_MODULE_PATH=/usr/lib/cmake \
+ -S . -B build -G Ninja
+ ninja -C build -j 2 # the build is so heavy that it gets OOM killed even at powerful machines
+}
+
+package() {
+ cd aws-sdk-cpp-$pkgver
+
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Deleted: fix_null.patch
===================================================================
--- fix_null.patch 2021-11-03 22:10:02 UTC (rev 1035714)
+++ fix_null.patch 2021-11-03 22:10:27 UTC (rev 1035715)
@@ -1,26 +0,0 @@
-diff --git a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
-index f70a6c88f6..e09a4e0ee6 100644
---- a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
-+++ b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
-@@ -72,9 +72,7 @@ namespace Aws
- assert(handler);
- if (!handler)
- {
-- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
-- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
-- "ErrorMessage: " << handler->GetEventPayloadAsString());
-+ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but handler is null.");
- return;
- }
- handler->WriteMessageEventPayload(static_cast<unsigned char*>(payload->buffer), payload->len);
-@@ -129,9 +127,7 @@ namespace Aws
- assert(handler);
- if (!handler)
- {
-- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
-- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
-- "ErrorMessage: " << handler->GetEventPayloadAsString());
-+ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but handler is null.");
- return;
- }
-
Copied: aws-sdk-cpp/repos/community-x86_64/fix_null.patch (from rev 1035714, aws-sdk-cpp/trunk/fix_null.patch)
===================================================================
--- fix_null.patch (rev 0)
+++ fix_null.patch 2021-11-03 22:10:27 UTC (rev 1035715)
@@ -0,0 +1,26 @@
+diff --git a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
+index f70a6c88f6..e09a4e0ee6 100644
+--- a/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
++++ b/aws-cpp-sdk-core/source/utils/event/EventStreamDecoder.cpp
+@@ -72,9 +72,7 @@ namespace Aws
+ assert(handler);
+ if (!handler)
+ {
+- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
+- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
+- "ErrorMessage: " << handler->GetEventPayloadAsString());
++ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but handler is null.");
+ return;
+ }
+ handler->WriteMessageEventPayload(static_cast<unsigned char*>(payload->buffer), payload->len);
+@@ -129,9 +127,7 @@ namespace Aws
+ assert(handler);
+ if (!handler)
+ {
+- AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but decoder encountered internal errors before."
+- "ErrorCode: " << EventStreamErrorsMapper::GetNameForError(handler->GetInternalError()) << ", "
+- "ErrorMessage: " << handler->GetEventPayloadAsString());
++ AWS_LOGSTREAM_ERROR(EVENT_STREAM_DECODER_CLASS_TAG, "Payload received, but handler is null.");
+ return;
+ }
+
More information about the arch-commits
mailing list