Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
kimageformats


Commits:
8014f47b by Antonio Rojas at 2024-01-10T18:45:25+01:00
Drop patch

- - - - -


2 changed files:

- PKGBUILD
- − qt-6.7.patch


Changes:

=====================================
PKGBUILD
=====================================
@@ -27,18 +27,13 @@ optdepends=('imath: EXR format support'
             'libraw: RAW format support'
             'openexr: EXR format support')
 groups=(kf6)
-source=(https://download.kde.org/unstable/frameworks/$pkgver/$pkgname-$pkgver.tar.xz{,.sig}
-        qt-6.7.patch)
+source=(https://download.kde.org/unstable/frameworks/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
 sha256sums=('1167c664357978c787ee745c54712efaf02e795789d53c5ce7d8f91c934691b0'
             'SKIP'
             'a46574654bb857b36c0cf9cc5d8d15d6bcc4ce3d8a48a9e284c313ffd3fc1b5f')
 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB  # David Faure 
<[email protected]>
               E0A3EB202F8E57528E13E72FD7574483BB57B18D) # Jonathan Esk-Riddell 
<[email protected]>
 
-prepare() {
-  patch -d $pkgname-$pkgver -p1 < qt-6.7.patch # Fix build with Qt 6.7
-}
-
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF \


=====================================
qt-6.7.patch deleted
=====================================
@@ -1,17 +0,0 @@
-diff --git a/src/imageformats/xcf.cpp b/src/imageformats/xcf.cpp
-index 9a20cbe..7d8bccf 100644
---- a/src/imageformats/xcf.cpp
-+++ b/src/imageformats/xcf.cpp
-@@ -960,7 +960,11 @@ bool XCFImageFormat::loadImageProperties(QDataStream 
&xcf_io, XCFImage &xcf_imag
-         case PROP_PARASITES:
-             while (!property.atEnd()) {
-                 char *tag;
-+#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
-                 quint32 size;
-+#else
-+                qsizetype size;
-+#endif
- 
-                 property.readBytes(tag, size);
- 
- 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kimageformats/-/commit/8014f47b30646890a288728456b0191b7b8e3a5d

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kimageformats/-/commit/8014f47b30646890a288728456b0191b7b8e3a5d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to