From 3a3d10750aa692a702082642f6e65545e410a6a9 Mon Sep 17 00:00:00 2001 From: Muhamed Fazal PS Date: Sat, 11 Jul 2026 19:18:06 +0530 Subject: [PATCH 1/3] Fix source URL in Arrow.h license header The vendored Arrow C Data Interface code comes from the documentation page, not the Arrow source repository. Update the source URL to match. Fixes #9657 --- src/libImaging/Arrow.h | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/libImaging/Arrow.h b/src/libImaging/Arrow.h index 0b285fe8053..b8a74f93e32 100644 --- a/src/libImaging/Arrow.h +++ b/src/libImaging/Arrow.h @@ -1,9 +1,25 @@ #include #include -// Apache License 2.0. -// Source apache arrow project -// https://arrow.apache.org/docs/format/CDataInterface.html +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// Vendored from https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions +// Only the Arrow C Data Interface structs and flags are included. #ifndef ARROW_C_DATA_INTERFACE #define ARROW_C_DATA_INTERFACE From cbdc74dd2aeed014358c9810d49d17b7ece04ad8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 13:48:51 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/libImaging/Arrow.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libImaging/Arrow.h b/src/libImaging/Arrow.h index b8a74f93e32..274c021fca2 100644 --- a/src/libImaging/Arrow.h +++ b/src/libImaging/Arrow.h @@ -18,8 +18,9 @@ // specific language governing permissions and limitations // under the License. -// Vendored from https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions -// Only the Arrow C Data Interface structs and flags are included. +// Vendored from +// https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions Only +// the Arrow C Data Interface structs and flags are included. #ifndef ARROW_C_DATA_INTERFACE #define ARROW_C_DATA_INTERFACE From a11bffd0445d74ec4fa7dcece756eef6b96c81c9 Mon Sep 17 00:00:00 2001 From: Muhamed Fazal PS Date: Sat, 11 Jul 2026 19:21:43 +0530 Subject: [PATCH 3/3] Fix formatting in Arrow.h license header The 'Only' keyword was accidentally merged with the URL line. Separate it onto its own line for readability. --- src/libImaging/Arrow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libImaging/Arrow.h b/src/libImaging/Arrow.h index 274c021fca2..c8813bab062 100644 --- a/src/libImaging/Arrow.h +++ b/src/libImaging/Arrow.h @@ -19,8 +19,8 @@ // under the License. // Vendored from -// https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions Only -// the Arrow C Data Interface structs and flags are included. +// https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions +// Only the Arrow C Data Interface structs and flags are included. #ifndef ARROW_C_DATA_INTERFACE #define ARROW_C_DATA_INTERFACE