public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: LuK1337 <priv.luk@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/android-tools] f43: Add missing <cstdint> includes for GCC 16
Date: Sat, 01 Aug 2026 07:49:19 GMT	[thread overview]
Message-ID: <178557055991.1.1075426417042726358.rpms-android-tools-d720e63a1f4e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/android-tools
Branch : f43
Commit : d720e63a1f4ebfb2b61594978db015d44da1b0a4
Author : LuK1337 <priv.luk@gmail.com>
Date   : 2026-01-16T13:28:27+01:00
Stats  : +60/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/android-tools/c/d720e63a1f4ebfb2b61594978db015d44da1b0a4?branch=f43

Log:
Add missing <cstdint> includes for GCC 16

---
diff --git a/0004-Add-missing-cstdint-includes-for-GCC-16-Fedora.patch b/0004-Add-missing-cstdint-includes-for-GCC-16-Fedora.patch
new file mode 100644
index 0000000..017f27b
--- /dev/null
+++ b/0004-Add-missing-cstdint-includes-for-GCC-16-Fedora.patch
@@ -0,0 +1,58 @@
+From 5b417e7577075ebef7c80bfdb75f89a4be4cd8de Mon Sep 17 00:00:00 2001
+From: meator <meator.dev@gmail.com>
+Date: Wed, 14 Jan 2026 11:57:22 +0100
+Subject: [PATCH 1/2] Include missing cstdint header
+
+This code relied on the fact that some system headers pulled <cstdint>,
+so it did not bother to include it itself. However, this behavior is not
+specified, so compiler updates can break the code by no longer including
+this header.
+---
+ vendor/libbase/hex.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/vendor/libbase/hex.cpp b/vendor/libbase/hex.cpp
+index a4b7715..c46f42d 100644
+--- a/vendor/libbase/hex.cpp
++++ b/vendor/libbase/hex.cpp
+@@ -18,6 +18,8 @@
+ 
+ #include "android-base/logging.h"
+ 
++#include <cstdint>
++
+ namespace android {
+ namespace base {
+ 
+-- 
+2.52.0
+
+
+From f97ee86871920bdf4c7bd3278c1ad0234cd81251 Mon Sep 17 00:00:00 2001
+From: meator <meator.dev@gmail.com>
+Date: Wed, 14 Jan 2026 12:13:37 +0100
+Subject: [PATCH 2/2] Include missing cstdint header
+
+This code relied on the fact that some system headers pulled <cstdint>,
+so it did not bother to include it itself. However, this behavior is not
+specified, so compiler updates can break the code by no longer including
+this header.
+---
+ vendor/libziparchive/include/ziparchive/zip_writer.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/vendor/libziparchive/include/ziparchive/zip_writer.h b/vendor/libziparchive/include/ziparchive/zip_writer.h
+index 268e8b6..c85be2a 100644
+--- a/vendor/libziparchive/include/ziparchive/zip_writer.h
++++ b/vendor/libziparchive/include/ziparchive/zip_writer.h
+@@ -18,6 +18,7 @@
+ 
+ #include <cstdio>
+ #include <ctime>
++#include <cstdint>
+ 
+ #include <gtest/gtest_prod.h>
+ #include <memory>
+-- 
+2.52.0
+

diff --git a/android-tools.spec b/android-tools.spec
index b0b03ae..e43316b 100644
--- a/android-tools.spec
+++ b/android-tools.spec
@@ -17,6 +17,8 @@ Patch0:        0001-Fix-libusb-enumeration.patch
 Patch1:        0002-extras-libjsonpb-Fix-incompatibility-with-protobuf-v30.patch
 # https://github.com/nmeum/android-tools/pull/190
 Patch2:        0003-Make-legacy-USB-driver-default-on-Linux.patch
+# https://github.com/nmeum/android-tools/pull/191
+Patch3:        0004-Add-missing-cstdint-includes-for-GCC-16-Fedora.patch
 
 BuildRequires: brotli-devel
 BuildRequires: cmake

                 reply	other threads:[~2026-08-01  7:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178557055991.1.1075426417042726358.rpms-android-tools-d720e63a1f4e@fedoraproject.org \
    --to=priv.luk@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox