public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: more fix for python-3.12 issue
@ 2026-08-07 16:05 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-07 16:05 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : 44cc7c7763b22e5d130793a759c1e0e7b801d3b2
Author : Than Ngo <than@redhat.com>
Date   : 2023-07-22T16:56:46+02:00
Stats  : +13/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/44cc7c7763b22e5d130793a759c1e0e7b801d3b2?branch=epel9-next

Log:
more fix for python-3.12 issue

---
diff --git a/chromium-115-python-3.12-deprecated.patch b/chromium-115-python-3.12-deprecated.patch
index 9d22f25..25d2dbd 100644
--- a/chromium-115-python-3.12-deprecated.patch
+++ b/chromium-115-python-3.12-deprecated.patch
@@ -6,7 +6,7 @@ diff -up chromium-115.0.5790.102/base/write_build_date_header.py.me chromium-115
  
    date_val = int(args.timestamp)
 -  date = datetime.datetime.utcfromtimestamp(date_val)
-+  date = datetime.datetime.fromtimestamp(date_val, datetime.timezone.utc)
++  date =  datetime.datetime.fromtimestamp(date_val, datetime.timezone.utc)
    output = ('// Generated by //base/write_build_date_header.py\n'
              '#ifndef BASE_GENERATED_BUILD_DATE_TIMESTAMP \n'
              f'#define BASE_GENERATED_BUILD_DATE_TIMESTAMP {date_val}'
@@ -147,3 +147,15 @@ diff -up chromium-115.0.5790.102/third_party/dawn/generator/generator_lib.py.me 
  
      def preprocess(self, source):
          lines = source.split('\n')
+diff -up chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-tools/src/build-gn/generate_vulkan_layers_json.py.me chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-tools/src/build-gn/generate_vulkan_layers_json.py
+diff -up chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-validation-layers/src/build-gn/generate_vulkan_layers_json.py.me chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-validation-layers/src/build-gn/generate_vulkan_layers_json.py
+--- chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-validation-layers/src/build-gn/generate_vulkan_layers_json.py.me	2023-07-22 16:02:48.330050088 +0200
++++ chromium-115.0.5790.102/third_party/vulkan-deps/vulkan-validation-layers/src/build-gn/generate_vulkan_layers_json.py	2023-07-22 16:03:02.320023617 +0200
+@@ -28,7 +28,6 @@ import platform
+ import sys
+ 
+ def glob_slash(dirname):
+-    """Like regular glob but replaces \ with / in returned paths."""
+     return [s.replace('\\', '/') for s in glob.glob(dirname)]
+ 
+ def main():

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:05 [rpms/chromium] epel9-next: more fix for python-3.12 issue Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox