srcpkgs/q*: convert patches to -Np1

* par is kept at -Np0

```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.-][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.-][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
This commit is contained in:
Đoàn Trần Công Danh 2021-06-19 10:03:21 +07:00 committed by Đoàn Trần Công Danh
parent 49cb564d14
commit 635e9da391
78 changed files with 170 additions and 196 deletions

View file

@ -1,5 +1,5 @@
--- CMakeLists.txt 2019-04-24 14:58:14.000000000 +0200
+++ - 2019-12-12 23:58:20.783902817 +0100
--- a/CMakeLists.txt 2019-04-24 14:58:14.000000000 +0200
+++ b/CMakeLists.txt 2019-04-24 14:58:14.000000000 +0200
@@ -264,7 +264,8 @@
QCA_LIBRARY_INSTALL_DIR
QCA_FEATURE_INSTALL_DIR

View file

@ -1,5 +1,5 @@
--- plugins/qca-ossl/qca-ossl.cpp.bak 2020-08-13 20:47:26.316272036 +0200
+++ plugins/qca-ossl/qca-ossl.cpp 2020-08-13 21:14:09.838349311 +0200
--- a/plugins/qca-ossl/qca-ossl.cpp.bak 2020-08-13 20:47:26.316272036 +0200
+++ b/plugins/qca-ossl/qca-ossl.cpp 2020-08-13 21:14:09.838349311 +0200
@@ -41,7 +41,13 @@
#include <openssl/pkcs12.h>
#include <openssl/ssl.h>

View file

@ -15,7 +15,6 @@ license="LGPL-2.1-or-later"
homepage="https://userbase.kde.org/QCA"
distfiles="${KDE_SITE}/qca/${version}/qca-${version}.tar.xz"
checksum=c13851109abefc4623370989fae3a745bf6b1acb3c2a13a8958539823e974e4b
patch_args=-Np0
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"

View file

@ -2,8 +2,8 @@ ALLPERMS isn't specified in POSIX so musl doesn't define it
diff --git a/src/FileInfo.cpp b/src/FileInfo.cpp
index 5cc198c..197d40c 100644
--- src/FileInfo.cpp
+++ src/FileInfo.cpp
--- a/src/FileInfo.cpp
+++ b/src/FileInfo.cpp
@@ -24,6 +24,10 @@
#include "Logger.h"
#include "Exception.h"

View file

@ -11,7 +11,6 @@ license="GPL-2.0-only"
homepage="https://github.com/shundhammer/qdirstat"
distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz"
checksum=fb40181972092d80994d3d04802c43298b70a21f1e636d5490a2bfbd1cb407d9
patch_args=-Np0
post_install() {
vman man/qdirstat.1

View file

@ -1,5 +1,5 @@
--- ./src/libraries/misc.h.orig 2016-03-31 23:28:06.023869695 +0200
+++ ./src/libraries/misc.h 2016-03-31 23:28:12.069869242 +0200
--- a/src/libraries/misc.h 2016-03-31 23:28:06.023869695 +0200
+++ b/src/libraries/misc.h 2016-03-31 23:28:12.069869242 +0200
@@ -30,6 +30,7 @@
#endif
@ -8,8 +8,8 @@
/* Computes the integer part of the base 10 log */
int int_log10(int n);
--- src/libraries/vt.c.orig 2016-03-31 23:33:35.641845025 +0200
+++ src/libraries/vt.c 2016-03-31 23:33:49.739843970 +0200
--- a/src/libraries/vt.c 2016-03-31 23:33:35.641845025 +0200
+++ b/src/libraries/vt.c 2016-03-31 23:33:49.739843970 +0200
@@ -101,9 +101,9 @@ int switch_to_tty(int tty)
if (!ttyname) return 0;

View file

@ -15,7 +15,6 @@ homepage="http://qingy.sourceforge.net"
#distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
distfiles="https://sources.voidlinux.org/qingy-1.0.0/qingy-1.0.0.tar.bz2"
checksum=de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3
patch_args=-Np0
make_dirs="/var/lib/misc 0755 root root"

View file

@ -1,7 +1,7 @@
Index: lib/TerminalCharacterDecoder.cpp
===================================================================
--- lib/TerminalCharacterDecoder.cpp.orig
+++ lib/TerminalCharacterDecoder.cpp
--- a/lib/TerminalCharacterDecoder.cpp
+++ b/lib/TerminalCharacterDecoder.cpp
@@ -22,6 +22,8 @@
// Own
#include "TerminalCharacterDecoder.h"

View file

@ -11,4 +11,3 @@ license="GPL-2.0-or-later"
homepage="https://github.com/Swordfish90/qmltermwidget"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=23e19eedb59d6fe3e37ecc06872f54befd94384946926e009c42c4b39914cfe2
patch_args=-Np0

View file

@ -1,5 +1,5 @@
--- src/qmmp/output.cpp 2016-10-04 11:49:39.000000000 +0200
+++ src/qmmp/output.cpp 2016-10-11 12:07:30.574173779 +0200
--- a/src/qmmp/output.cpp 2016-10-04 11:49:39.000000000 +0200
+++ b/src/qmmp/output.cpp 2016-10-11 12:07:30.574173779 +0200
@@ -14,6 +14,9 @@
#include "qmmpplugincache_p.h"
#include "output.h"

View file

@ -1,5 +1,5 @@
--- src/plugins/Visual/projectm/projectm.pro 2021-02-04 20:09:45.000000000 +0100
+++ src/plugins/Visual/projectm/projectm.pro 2021-02-12 15:19:03.951750274 +0100
--- a/src/plugins/Visual/projectm/projectm.pro 2021-02-04 20:09:45.000000000 +0100
+++ b/src/plugins/Visual/projectm/projectm.pro 2021-02-12 15:19:03.951750274 +0100
@@ -22,6 +22,7 @@
LIBS += -L/usr/lib -I/usr/include
#projectM config path
@ -9,8 +9,8 @@
for(path, PROJECTM_CONFIG_FILES) {
exists($$path) {
diff -rub a/src/plugins/Visual/projectm/projectmwidget.cpp b/src/plugins/Visual/projectm/projectmwidget.cpp
--- src/plugins/Visual/projectm/projectmwidget.cpp 2021-02-04 20:09:45.000000000 +0100
+++ src/plugins/Visual/projectm/projectmwidget.cpp 2021-02-12 15:22:26.833419341 +0100
--- a/src/plugins/Visual/projectm/projectmwidget.cpp 2021-02-04 20:09:45.000000000 +0100
+++ b/src/plugins/Visual/projectm/projectmwidget.cpp 2021-02-12 15:22:26.833419341 +0100
@@ -34,7 +34,7 @@
#include "projectmwidget.h"

View file

@ -21,7 +21,6 @@ license="GPL-3.0-or-later"
homepage="http://qmmp.ylsoftware.com"
distfiles="http://qmmp.ylsoftware.com/files/${pkgname}-${version}.tar.bz2"
checksum=f513774357836ad4983fa216c84cf5db634284faebec48c461733838917fd664
patch_args=-Np0
qmmp-devel_package() {
short_desc+=" - development files"

View file

@ -1,5 +1,5 @@
--- qomui/update.py
+++ qomui/update.py
--- a/qomui/update.py
+++ b/qomui/update.py
@@ -991,9 +991,7 @@
if ip != 0:

View file

@ -15,4 +15,3 @@ license="GPL-3.0-or-later"
homepage="https://github.com/corrad1nho/qomui"
distfiles="https://github.com/corrad1nho/qomui/archive/v${version}.tar.gz"
checksum=78187864a4368fed06f6e58c4d411053a1d1193d625ee79be0a57bf0938b1d0b
patch_args=-Np0

View file

@ -1,5 +1,5 @@
--- sources/model.h 2019-07-24 21:18:33.000000000 +0200
+++ sources/model.h 2020-07-28 17:11:17.441765416 +0200
--- a/sources/model.h 2019-07-24 21:18:33.000000000 +0200
+++ b/sources/model.h 2020-07-28 17:11:17.441765416 +0200
@@ -27,6 +27,7 @@
#include <QtPlugin>
#include <QWidget>

View file

@ -14,7 +14,6 @@ license="GPL-2.0-or-later"
homepage="https://launchpad.net/qpdfview"
distfiles="https://launchpad.net/qpdfview/trunk/${version}/+download/qpdfview-${version}.tar.gz"
checksum=cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c
patch_args=-Np0
pre_configure() {
lrelease qpdfview.pro

View file

@ -5,8 +5,8 @@ patch the configure script for the Python bindings to support object dir
builds
Index: Python/configure.py
===================================================================
--- Python/configure.py 2014-07-05 10:02:02.318834374 -0400
+++ Python/configure.py 2014-07-05 10:02:02.306834375 -0400
--- a/Python/configure.py 2014-07-05 10:02:02.318834374 -0400
+++ b/Python/configure.py 2014-07-05 10:02:02.306834375 -0400
@@ -31,6 +31,8 @@
import optparse
import sys

View file

@ -13,7 +13,6 @@ license="GPL-3.0-only"
homepage="https://www.riverbankcomputing.com/software/qscintilla/intro"
distfiles="https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla_gpl-${version}.tar.gz"
checksum=029bdc476a069fda2cea3cd937ba19cc7fa614fb90578caef98ed703b658f4a1
patch_args=-Np0
qscintilla-qt5-devel_package() {
short_desc+=" - development files"

View file

@ -1,7 +1,7 @@
Index: rig/rigcontrol.cpp
===================================================================
--- rig/rigcontrol.cpp
+++ rig/rigcontrol.cpp
--- a/rig/rigcontrol.cpp
+++ b/rig/rigcontrol.cpp
@@ -34,6 +34,10 @@
#define MAXCONFLEN 128

View file

@ -14,7 +14,6 @@ homepage="http://users.telenet.be/on4qz/qsstv/"
changelog="http://users.telenet.be/on4qz/qsstv/manual/changelog.html"
distfiles="http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz"
checksum=177e286090c71f8a033646b39c3b6abe212cc06718c1ecc9ddc7024198cb7e40
patch_args=-Np0
post_install() {
vinstall icons/qsstv.png 644 usr/share/pixmaps

View file

@ -1,5 +1,5 @@
--- qt5-fsarchiver.pro.orig 2018-06-22 00:01:06.101404975 +0200
+++ qt5-fsarchiver.pro 2018-06-22 00:01:45.933869386 +0200
--- a/qt5-fsarchiver.pro 2018-06-22 00:01:06.101404975 +0200
+++ b/qt5-fsarchiver.pro 2018-06-22 00:01:45.933869386 +0200
@@ -9,7 +9,7 @@
QT += widgets gui core

View file

@ -1,5 +1,5 @@
--- qt5-fsarchiver.pro.orig 2018-06-21 23:15:21.665117797 +0200
+++ qt5-fsarchiver.pro 2018-06-21 23:15:36.159276907 +0200
--- a/qt5-fsarchiver.pro 2018-06-21 23:15:21.665117797 +0200
+++ b/qt5-fsarchiver.pro 2018-06-21 23:15:36.159276907 +0200
@@ -147,7 +147,7 @@
src/writebuf.c
RESOURCES += src/icon.qrc

View file

@ -1,5 +1,5 @@
--- src/common.c.orig 2018-06-21 23:29:12.238999543 +0200
+++ src/common.c 2018-06-21 23:30:28.347795214 +0200
--- a/src/common.c 2018-06-21 23:29:12.238999543 +0200
+++ b/src/common.c 2018-06-21 23:30:28.347795214 +0200
@@ -34,7 +34,7 @@
#include <time.h>
#include <limits.h>

View file

@ -15,7 +15,6 @@ license="GPL-2.0-only"
homepage="https://sourceforge.net/projects/qt4-fsarchiver"
distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz"
checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175
patch_args=-Np0
CFLAGS="-fcommon"

View file

@ -1,5 +1,5 @@
--- src/plugins/styles/gtk2/qgtkstyle_p.cpp 2017-03-11 10:23:02.000000000 +0100
+++ - 2020-06-13 19:46:47.729544729 +0200
--- a/src/plugins/styles/gtk2/qgtkstyle_p.cpp 2017-03-11 10:23:02.000000000 +0100
+++ b/src/plugins/styles/gtk2/qgtkstyle_p.cpp 2017-03-11 10:23:02.000000000 +0100
@@ -508,7 +508,6 @@
if (oldTheme != QGtkStylePrivate::getThemeName()) {
oldTheme = QGtkStylePrivate::getThemeName();
@ -8,8 +8,8 @@
QApplication::setPalette(newPalette);
if (!QGtkStylePrivate::instances.isEmpty()) {
QGtkStylePrivate::instances.last()->initGtkWidgets();
--- src/plugins/styles/gtk2/qgtkstyle.cpp 2020-06-13 19:48:41.746108796 +0200
+++ - 2020-06-13 19:48:47.476009571 +0200
--- a/src/plugins/styles/gtk2/qgtkstyle.cpp 2020-06-13 19:48:41.746108796 +0200
+++ b/src/plugins/styles/gtk2/qgtkstyle.cpp 2020-06-13 19:48:41.746108796 +0200
@@ -440,7 +440,7 @@
// not supported as these should be entirely determined by
// current Gtk settings

View file

@ -14,7 +14,6 @@ license="LGPL-2.1-only, LGPL-3.0-only"
homepage="https://github.com/qt/qtstyleplugins"
distfiles="https://github.com/qt/qtstyleplugins/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=29ec24fa8df64be161ad06d0e5af3ba1a20bfe265004f5fe4ab9f5f3abf9a5ba
patch_args=-Np0
# Cross builds fail with -fuse-ld=gold
LDFLAGS="-Wl,-fuse-ld=bfd"

View file

@ -23,8 +23,8 @@ Reviewed by NOBODY (OOPS!).
diff --git Source/JavaScriptCore/llint/LowLevelInterpreter.asm Source/JavaScriptCore/llint/LowLevelInterpreter.asm
index ab3c0c8e771..6c32eef8852 100644
--- Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+++ Source/JavaScriptCore/llint/LowLevelInterpreter.asm
--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
@@ -1167,7 +1167,13 @@ macro setEntryAddress(index, label)
move index, t4
storep t1, [a0, t4, 8]
@ -42,8 +42,8 @@ index ab3c0c8e771..6c32eef8852 100644
storep t4, [a0, t3, 4]
diff --git Source/JavaScriptCore/offlineasm/arm.rb Source/JavaScriptCore/offlineasm/arm.rb
index c8064a59196..a9c40c8995c 100644
--- Source/JavaScriptCore/offlineasm/arm.rb
+++ Source/JavaScriptCore/offlineasm/arm.rb
--- a/Source/JavaScriptCore/offlineasm/arm.rb
+++ b/Source/JavaScriptCore/offlineasm/arm.rb
@@ -504,6 +504,8 @@ class Instruction
when "mvlbl"
$asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
@ -55,8 +55,8 @@ index c8064a59196..a9c40c8995c 100644
when "bieq", "bpeq", "bbeq"
diff --git Source/JavaScriptCore/offlineasm/instructions.rb Source/JavaScriptCore/offlineasm/instructions.rb
index bbfce7193b3..8cc1cb961ce 100644
--- Source/JavaScriptCore/offlineasm/instructions.rb
+++ Source/JavaScriptCore/offlineasm/instructions.rb
--- a/Source/JavaScriptCore/offlineasm/instructions.rb
+++ b/Source/JavaScriptCore/offlineasm/instructions.rb
@@ -261,7 +261,8 @@ X86_INSTRUCTIONS =
ARM_INSTRUCTIONS =
[

View file

@ -1,5 +1,5 @@
--- Source/WebCore/css/makegrammar.pl 2020-04-14 00:51:51.000000000 +0200
+++ Source/WebCore/css/makegrammar.pl 2020-10-25 14:59:39.879927464 +0100
--- a/Source/WebCore/css/makegrammar.pl 2020-04-14 00:51:51.000000000 +0200
+++ b/Source/WebCore/css/makegrammar.pl 2020-10-25 14:59:39.879927464 +0100
@@ -73,7 +73,6 @@
}

View file

@ -1,5 +1,5 @@
--- Source/JavaScriptCore/runtime/Options.h 2020-04-14 00:51:51.000000000 +0200
+++ - 2020-07-11 18:53:50.372744315 +0200
--- a/Source/JavaScriptCore/runtime/Options.h 2020-04-14 00:51:51.000000000 +0200
+++ b/Source/JavaScriptCore/runtime/Options.h 2020-04-14 00:51:51.000000000 +0200
@@ -40,6 +40,16 @@
namespace JSC {

View file

@ -1,5 +1,5 @@
--- Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h 2019-08-15 20:56:14.000000000 +0200
+++ Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h 2020-03-04 10:43:29.468482593 +0100
--- a/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h 2019-08-15 20:56:14.000000000 +0200
+++ b/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h 2020-03-04 10:43:29.468482593 +0100
@@ -315,11 +315,7 @@
void countLeadingZeros32(RegisterID src, RegisterID dest)

View file

@ -1,5 +1,5 @@
--- Source/WTF/wtf/Platform.h 2020-04-14 00:51:51.000000000 +0200
+++ Source/WTF/wtf/Platform.h 2020-08-02 15:08:02.169747050 +0200
--- a/Source/WTF/wtf/Platform.h 2020-04-14 00:51:51.000000000 +0200
+++ b/Source/WTF/wtf/Platform.h 2020-08-02 15:08:02.169747050 +0200
@@ -95,7 +95,12 @@
#define WTF_MIPS_PIC (defined __PIC__)
#define WTF_MIPS_ISA(v) (defined WTF_MIPS_ARCH && WTF_MIPS_ARCH == v)

View file

@ -1,5 +1,5 @@
--- Source/JavaScriptCore/heap/MachineStackMarker.cppg 2019-01-12 19:48:12.801137040 +0100
+++ Source/JavaScriptCore/heap/MachineStackMarker.cpp 2019-01-12 20:09:03.662201571 +0100
--- a/Source/JavaScriptCore/heap/MachineStackMarker.cppg 2019-01-12 19:48:12.801137040 +0100
+++ b/Source/JavaScriptCore/heap/MachineStackMarker.cpp 2019-01-12 20:09:03.662201571 +0100
@@ -681,7 +681,19 @@
#endif

View file

@ -1,5 +1,5 @@
--- Source/JavaScriptCore/heap/MachineStackMarker.cpp
+++ Source/JavaScriptCore/heap/MachineStackMarker.cpp
--- a/Source/JavaScriptCore/heap/MachineStackMarker.cpp
+++ b/Source/JavaScriptCore/heap/MachineStackMarker.cpp
@@ -87,7 +87,11 @@ static void pthreadSignalHandlerSuspendResume(int, siginfo_t*, void* ucontext)
ucontext_t* userContext = static_cast<ucontext_t*>(ucontext);

View file

@ -3,8 +3,8 @@ This fixes JavaScriptCore on big endian systems (mainly ppc).
Without the patch, attempting to run any JS results in
a crash as the generated code was endian specific.
--- Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
+++ Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
--- a/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
@@ -1500,13 +1500,13 @@ _llint_op_put_by_id:
loadp StructureChain::m_vector[t3], t3
assert(macro (ok) btpnz t3, ok end)

View file

@ -1,5 +1,5 @@
--- Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 2018-01-20 16:53:35.000000000 +0100
+++ Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 2019-01-12 18:56:04.698975664 +0100
--- a/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 2018-01-20 16:53:35.000000000 +0100
+++ b/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 2019-01-12 18:56:04.698975664 +0100
@@ -51,8 +51,10 @@
#include <cxxabi.h>
#if OS(DARWIN) || (OS(LINUX) && !PLATFORM(GTK))

View file

@ -3,8 +3,8 @@ Author: Dmitry Shachnev <mitya57@debian.org>
Forwarded: not-needed
Last-Update: 2017-08-27
--- Source/WTF/wtf/ExportMacros.h
+++ Source/WTF/wtf/ExportMacros.h
--- a/Source/WTF/wtf/ExportMacros.h
+++ b/Source/WTF/wtf/ExportMacros.h
@@ -56,7 +56,7 @@
#elif defined(__GNUC__) && !defined(__CC_ARM) && !defined(__ARMCC__)
@ -14,8 +14,8 @@ Last-Update: 2017-08-27
#define WTF_IMPORT_DECLARATION WTF_EXPORT_DECLARATION
#define WTF_HIDDEN_DECLARATION __attribute__((visibility("hidden")))
--- Source/cmake/OptionsQt.cmake
+++ Source/cmake/OptionsQt.cmake
--- a/Source/cmake/OptionsQt.cmake
+++ b/Source/cmake/OptionsQt.cmake
@@ -658,6 +658,7 @@ if (COMPILER_IS_GCC_OR_CLANG AND UNIX)
if (NOT SHARED_CORE)
set(CMAKE_C_FLAGS "-fvisibility=hidden ${CMAKE_C_FLAGS}")

View file

@ -25,7 +25,6 @@ license="LGPL-2.1-or-later"
homepage="https://www.qt.io/"
distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-opensource-src-${_v}.tar.xz"
checksum=9a6ed083154c7ec850081102b299afa928ca7e48bbdf2b5f3ae152425e46eb17
patch_args=-Np0
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
CXXFLAGS="-fpermissive -Wno-class-memaccess -Wno-redundant-move -Wno-deprecated-copy"

View file

@ -6,8 +6,8 @@ On GLIBC this seems to only happen with programs that load qt5-webengine(?)
---
diff --git qtbasesrc/corelib/global/qlibraryinfo.cpp qtbasesrc/corelib/global/qlibraryinfo.cpp
index 8bcf67e73d..28d7355310 100644
--- qtbase/src/corelib/global/qlibraryinfo.cpp
+++ qtbase/src/corelib/global/qlibraryinfo.cpp
--- a/qtbase/src/corelib/global/qlibraryinfo.cpp
+++ b/qtbase/src/corelib/global/qlibraryinfo.cpp
@@ -558,6 +558,12 @@ static QString getRelocatablePrefix()
int result = dladdr(reinterpret_cast<void *>(&QLibraryInfo::isDebugBuild), &info);
if (result > 0 && info.dli_fname)

View file

@ -1,5 +1,5 @@
--- ./qtbase/src/gui/Qt5GuiConfigExtras.cmake.in 2020-09-19 13:27:22.130997854 +0200
+++ - 2020-09-19 13:36:44.503955926 +0200
--- a/qtbase/src/gui/Qt5GuiConfigExtras.cmake.in 2020-09-19 13:27:22.130997854 +0200
+++ b/qtbase/src/gui/Qt5GuiConfigExtras.cmake.in 2020-09-19 13:27:22.130997854 +0200
@@ -106,12 +106,6 @@
set(Qt5Gui_${_cmake_lib_name}_LIBRARY ${_lib})
else()

View file

@ -1,5 +1,5 @@
--- qtbase/src/corelib/codecs/qiconvcodec.cpp 2017-01-18 15:20:58.000000000 +0100
+++ qtbase/src/corelib/codecs/qiconvcodec.cpp 2017-02-21 14:33:32.423808603 +0100
--- a/qtbase/src/corelib/codecs/qiconvcodec.cpp 2017-01-18 15:20:58.000000000 +0100
+++ b/qtbase/src/corelib/codecs/qiconvcodec.cpp 2017-02-21 14:33:32.423808603 +0100
@@ -64,7 +64,7 @@
#elif defined(Q_OS_AIX)
# define NO_BOM

View file

@ -1,5 +1,5 @@
--- qtlocation/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp 2017-11-14 18:03:52.000000000 +0100
+++ qtlocation/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp 2018-01-27 19:49:19.691858141 +0100
--- a/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp 2017-11-14 18:03:52.000000000 +0100
+++ b/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp 2018-01-27 19:49:19.691858141 +0100
@@ -11,17 +11,21 @@
std::string getCurrentThreadName() {

View file

@ -1,8 +1,8 @@
For musl libc the stackBottom for the main thread is recalculated
just as it is for Android. See: https://bugreports.qt.io/browse/QTBUG-44268
--- qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-02-26 10:34:34.000000000 +0100
+++ qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-04-04 21:52:43.780823136 +0200
--- a/qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-02-26 10:34:34.000000000 +0100
+++ b/qtdeclarative/src/qml/jsruntime/qv4engine.cpp 2016-04-04 21:52:43.780823136 +0200
@@ -94,6 +94,11 @@
#include <valgrind/memcheck.h>
#endif

View file

@ -1,5 +1,5 @@
--- qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.h 2017-11-22 09:57:45.000000000 +0100
+++ qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.h 2018-01-27 19:17:31.333759690 +0100
--- a/qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.h 2017-11-22 09:57:45.000000000 +0100
+++ b/qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.h 2018-01-27 19:17:31.333759690 +0100
@@ -47,6 +47,7 @@
// The order of the following includes is mandatory, because some

View file

@ -12,8 +12,8 @@ so the user doesn't have to specify QT_QUICK_BACKEND
diff --git qtdeclarative/src/quick/scenegraph/qsgcontextplugin.cpp qtdeclarative/src/quick/scenegraph/qsgcontextplugin.cpp
index 66add51..a0fdaa2 100644
--- qtdeclarative/src/quick/scenegraph/qsgcontextplugin.cpp
+++ qtdeclarative/src/quick/scenegraph/qsgcontextplugin.cpp
--- a/qtdeclarative/src/quick/scenegraph/qsgcontextplugin.cpp
+++ b/qtdeclarative/src/quick/scenegraph/qsgcontextplugin.cpp
@@ -139,7 +139,10 @@ QSGAdaptationBackendData *contextFactory()
// If this platform does not support OpenGL, and no backend has been set
// default to the software renderer

View file

@ -1,5 +1,5 @@
--- qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
+++ qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
--- a/qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
+++ b/qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
@@ -43,6 +43,7 @@
#include "qxcbwindow.h"
#include "qtouchdevice.h"

View file

@ -1,7 +1,7 @@
diff --git qtbase/mkspecs/features/qt_build_config.prf qtbase/mkspecs/features/qt_build_config.prf
index 8273ba3fe1..b674f42109 100644
--- qtbase/mkspecs/features/qt_build_config.prf
+++ qtbase/mkspecs/features/qt_build_config.prf
--- a/qtbase/mkspecs/features/qt_build_config.prf
+++ b/qtbase/mkspecs/features/qt_build_config.prf
@@ -11,6 +11,10 @@
!contains(QMAKE_INTERNAL_INCLUDED_FILES, .*qmodule\\.pri) {
@ -15,8 +15,8 @@ index 8273ba3fe1..b674f42109 100644
} else {
diff --git qtbase/mkspecs/features/qt_config.prf qtbase/mkspecs/features/qt_config.prf
index 93c54e3010..aaff26b52a 100644
--- qtbase/mkspecs/features/qt_config.prf
+++ qtbase/mkspecs/features/qt_config.prf
--- a/qtbase/mkspecs/features/qt_config.prf
+++ b/qtbase/mkspecs/features/qt_config.prf
@@ -1,6 +1,10 @@
# This file is loaded as one of the last things by all qmakespecs.

View file

@ -32,7 +32,6 @@ python_version=2 #unverified
replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0
qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0"
lib32mode=full
patch_args=-Np0
CXXFLAGS="-Wno-deprecated-declarations -Wno-class-memaccess -Wno-packed-not-aligned"
# Required for musl libc

View file

@ -3,8 +3,8 @@ the amount of exported symbols that we need to take
care of in the .symbols file.
Index: libqtpas/Qt5Pas.pro
===================================================================
--- Qt5Pas.pro
+++ Qt5Pas.pro
--- a/Qt5Pas.pro
+++ b/Qt5Pas.pro
@@ -21,7 +21,7 @@ TEMPLATE = lib
VPATH = src
MOC_DIR = tmp

View file

@ -1,8 +1,8 @@
Description: new source included in lazarus-1.8~rc2
Index: Qt5Pas.pro
===================================================================
--- Qt5Pas.pro
+++ Qt5Pas.pro
--- a/Qt5Pas.pro
+++ b/Qt5Pas.pro
@@ -121,7 +121,10 @@ HEADERS += \
qsize_c.h \
qstring_c.h \
@ -81,8 +81,8 @@ Index: Qt5Pas.pro
qstackedlayout_hook_c.cpp \
Index: src/chandles.h
===================================================================
--- src/chandles.h
+++ src/chandles.h
--- a/src/chandles.h
+++ b/src/chandles.h
@@ -23,6 +23,8 @@ typedef unsigned int PTRUINT;
typedef struct QAbstractButton__ { PTRINT dummy; } *QAbstractButtonH;
@ -104,7 +104,7 @@ Index: src/chandles.h
Index: src/qbackingstore_c.cpp
===================================================================
--- /dev/null
+++ src/qbackingstore_c.cpp
+++ b/src/qbackingstore_c.cpp
@@ -0,0 +1,78 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -187,7 +187,7 @@ Index: src/qbackingstore_c.cpp
Index: src/qbackingstore_c.h
===================================================================
--- /dev/null
+++ src/qbackingstore_c.h
+++ b/src/qbackingstore_c.h
@@ -0,0 +1,32 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -224,7 +224,7 @@ Index: src/qbackingstore_c.h
Index: src/qmargins_c.cpp
===================================================================
--- /dev/null
+++ src/qmargins_c.cpp
+++ b/src/qmargins_c.cpp
@@ -0,0 +1,73 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -302,7 +302,7 @@ Index: src/qmargins_c.cpp
Index: src/qmargins_c.h
===================================================================
--- /dev/null
+++ src/qmargins_c.h
+++ b/src/qmargins_c.h
@@ -0,0 +1,31 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -337,8 +337,8 @@ Index: src/qmargins_c.h
+#endif
Index: src/qobject_c.cpp
===================================================================
--- src/qobject_c.cpp
+++ src/qobject_c.cpp
--- a/src/qobject_c.cpp
+++ b/src/qobject_c.cpp
@@ -177,3 +177,10 @@ void QObject_deleteLater(QObjectH handle
((QObject *)handle)->deleteLater();
}
@ -352,8 +352,8 @@ Index: src/qobject_c.cpp
+}
Index: src/qobject_c.h
===================================================================
--- src/qobject_c.h
+++ src/qobject_c.h
--- a/src/qobject_c.h
+++ b/src/qobject_c.h
@@ -47,5 +47,6 @@ C_EXPORT uint QObject_registerUserData()
C_EXPORT QObjectH QObject_parent(QObjectH handle);
C_EXPORT bool QObject_inherits(QObjectH handle, const char* classname);
@ -364,7 +364,7 @@ Index: src/qobject_c.h
Index: src/qscreen_c.cpp
===================================================================
--- /dev/null
+++ src/qscreen_c.cpp
+++ b/src/qscreen_c.cpp
@@ -0,0 +1,178 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -547,7 +547,7 @@ Index: src/qscreen_c.cpp
Index: src/qscreen_c.h
===================================================================
--- /dev/null
+++ src/qscreen_c.h
+++ b/src/qscreen_c.h
@@ -0,0 +1,49 @@
+//******************************************************************************
+// Copyright (c) 2007 by Željan Rikalo
@ -601,7 +601,7 @@ Index: src/qscreen_c.h
Index: src/qscreen_hook_c.cpp
===================================================================
--- /dev/null
+++ src/qscreen_hook_c.cpp
+++ b/src/qscreen_hook_c.cpp
@@ -0,0 +1,68 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -674,7 +674,7 @@ Index: src/qscreen_hook_c.cpp
Index: src/qscreen_hook_c.h
===================================================================
--- /dev/null
+++ src/qscreen_hook_c.h
+++ b/src/qscreen_hook_c.h
@@ -0,0 +1,30 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -709,7 +709,7 @@ Index: src/qscreen_hook_c.h
Index: src/qscreen_hook.h
===================================================================
--- /dev/null
+++ src/qscreen_hook.h
+++ b/src/qscreen_hook.h
@@ -0,0 +1,190 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -904,7 +904,7 @@ Index: src/qscreen_hook.h
Index: src/qsurface_c.cpp
===================================================================
--- /dev/null
+++ src/qsurface_c.cpp
+++ b/src/qsurface_c.cpp
@@ -0,0 +1,45 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -954,7 +954,7 @@ Index: src/qsurface_c.cpp
Index: src/qsurface_c.h
===================================================================
--- /dev/null
+++ src/qsurface_c.h
+++ b/src/qsurface_c.h
@@ -0,0 +1,25 @@
+//******************************************************************************
+// Copyright (c) 2007 by Željan Rikalo
@ -984,7 +984,7 @@ Index: src/qsurface_c.h
Index: src/qsurfaceformat_c.cpp
===================================================================
--- /dev/null
+++ src/qsurfaceformat_c.cpp
+++ b/src/qsurfaceformat_c.cpp
@@ -0,0 +1,202 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -1191,7 +1191,7 @@ Index: src/qsurfaceformat_c.cpp
Index: src/qsurfaceformat_c.h
===================================================================
--- /dev/null
+++ src/qsurfaceformat_c.h
+++ b/src/qsurfaceformat_c.h
@@ -0,0 +1,57 @@
+//******************************************************************************
+// Copyright (c) 2007 by Željan Rikalo
@ -1253,7 +1253,7 @@ Index: src/qsurfaceformat_c.h
Index: src/qwindow_c.cpp
===================================================================
--- /dev/null
+++ src/qwindow_c.cpp
+++ b/src/qwindow_c.cpp
@@ -0,0 +1,548 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -1806,7 +1806,7 @@ Index: src/qwindow_c.cpp
Index: src/qwindow_c.h
===================================================================
--- /dev/null
+++ src/qwindow_c.h
+++ b/src/qwindow_c.h
@@ -0,0 +1,123 @@
+//******************************************************************************
+// Copyright (c) 2007 by Željan Rikalo
@ -1934,7 +1934,7 @@ Index: src/qwindow_c.h
Index: src/qwindow_hook_c.cpp
===================================================================
--- /dev/null
+++ src/qwindow_hook_c.cpp
+++ b/src/qwindow_hook_c.cpp
@@ -0,0 +1,112 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -2051,7 +2051,7 @@ Index: src/qwindow_hook_c.cpp
Index: src/qwindow_hook_c.h
===================================================================
--- /dev/null
+++ src/qwindow_hook_c.h
+++ b/src/qwindow_hook_c.h
@@ -0,0 +1,38 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -2094,7 +2094,7 @@ Index: src/qwindow_hook_c.h
Index: src/qwindow_hook.h
===================================================================
--- /dev/null
+++ src/qwindow_hook.h
+++ b/src/qwindow_hook.h
@@ -0,0 +1,341 @@
+//******************************************************************************
+// Copyright (c) 2017 by Željan Rikalo
@ -2439,8 +2439,8 @@ Index: src/qwindow_hook.h
+#endif
Index: qt5.pas
===================================================================
--- qt5.pas
+++ qt5.pas
--- a/qt5.pas
+++ b/qt5.pas
@@ -78,11 +78,7 @@ type
QtHandle = LongWord;
{$ENDIF}
@ -2456,8 +2456,8 @@ Index: qt5.pas
QRgb = longword;
Index: src/qpaintdevice_c.cpp
===================================================================
--- src/qpaintdevice_c.cpp
+++ src/qpaintdevice_c.cpp
--- a/src/qpaintdevice_c.cpp
+++ b/src/qpaintdevice_c.cpp
@@ -71,6 +71,12 @@ int QPaintDevice_devicePixelRatio(QPaint
return (int) ((QPaintDevice *)handle)->devicePixelRatio();
}
@ -2473,8 +2473,8 @@ Index: src/qpaintdevice_c.cpp
return (int) ((QPaintDevice *)handle)->colorCount();
Index: src/qpaintdevice_c.h
===================================================================
--- src/qpaintdevice_c.h
+++ src/qpaintdevice_c.h
--- a/src/qpaintdevice_c.h
+++ b/src/qpaintdevice_c.h
@@ -27,6 +27,7 @@ C_EXPORT int QPaintDevice_logicalDpiY(QP
C_EXPORT int QPaintDevice_physicalDpiX(QPaintDeviceH handle);
C_EXPORT int QPaintDevice_physicalDpiY(QPaintDeviceH handle);
@ -2485,8 +2485,8 @@ Index: src/qpaintdevice_c.h
Index: src/qplaintextedit_c.cpp
===================================================================
--- src/qplaintextedit_c.cpp
+++ src/qplaintextedit_c.cpp
--- a/src/qplaintextedit_c.cpp
+++ b/src/qplaintextedit_c.cpp
@@ -355,6 +355,21 @@ void QPlainTextEdit_zoomOut(QPlainTextEd
((QPlainTextEdit *)handle)->zoomOut(range);
}
@ -2511,8 +2511,8 @@ Index: src/qplaintextedit_c.cpp
return (QPlainTextDocumentLayoutH) new QPlainTextDocumentLayout((QTextDocument*)document);
Index: src/qplaintextedit_c.h
===================================================================
--- src/qplaintextedit_c.h
+++ src/qplaintextedit_c.h
--- a/src/qplaintextedit_c.h
+++ b/src/qplaintextedit_c.h
@@ -79,6 +79,9 @@ C_EXPORT void QPlainTextEdit_appendHtml(
C_EXPORT void QPlainTextEdit_centerCursor(QPlainTextEditH handle);
C_EXPORT void QPlainTextEdit_zoomIn(QPlainTextEditH handle, int range);
@ -2525,8 +2525,8 @@ Index: src/qplaintextedit_c.h
C_EXPORT int QPlainTextDocumentLayout_hitTest(QPlainTextDocumentLayoutH handle, const QPointFH AnonParam1, Qt::HitTestAccuracy AnonParam2);
Index: src/qprinterinfo_c.cpp
===================================================================
--- src/qprinterinfo_c.cpp
+++ src/qprinterinfo_c.cpp
--- a/src/qprinterinfo_c.cpp
+++ b/src/qprinterinfo_c.cpp
@@ -83,6 +83,11 @@ void QPrinterInfo_availablePrinters(PPtr
copyQListTemplateToPtrIntArrayWithNew(t_retval, retval);
}
@ -2541,8 +2541,8 @@ Index: src/qprinterinfo_c.cpp
*(QPrinterInfo *)retval = QPrinterInfo::defaultPrinter();
Index: src/qprinterinfo_c.h
===================================================================
--- src/qprinterinfo_c.h
+++ src/qprinterinfo_c.h
--- a/src/qprinterinfo_c.h
+++ b/src/qprinterinfo_c.h
@@ -27,6 +27,7 @@ C_EXPORT bool QPrinterInfo_isNull(QPrint
C_EXPORT bool QPrinterInfo_isDefault(QPrinterInfoH handle);
C_EXPORT void QPrinterInfo_supportedPaperSizes(QPrinterInfoH handle, PPtrIntArray retval);
@ -2553,8 +2553,8 @@ Index: src/qprinterinfo_c.h
Index: src/qtextedit_c.cpp
===================================================================
--- src/qtextedit_c.cpp
+++ src/qtextedit_c.cpp
--- a/src/qtextedit_c.cpp
+++ b/src/qtextedit_c.cpp
@@ -472,3 +472,17 @@ void QTextEdit_zoomOut(QTextEditH handle
((QTextEdit *)handle)->zoomOut(range);
}
@ -2575,8 +2575,8 @@ Index: src/qtextedit_c.cpp
+
Index: src/qtextedit_c.h
===================================================================
--- src/qtextedit_c.h
+++ src/qtextedit_c.h
--- a/src/qtextedit_c.h
+++ b/src/qtextedit_c.h
@@ -100,5 +100,7 @@ C_EXPORT void QTextEdit_append(QTextEdit
C_EXPORT void QTextEdit_scrollToAnchor(QTextEditH handle, PWideString name);
C_EXPORT void QTextEdit_zoomIn(QTextEditH handle, int range);

View file

@ -12,7 +12,6 @@ license="LGPL-3.0-or-later"
homepage="https://svn.freepascal.org/svn/lazarus/trunk/lcl/interfaces/qt5/cbindings"
distfiles="${DEBIAN_SITE}/main/libq/libqtpas/libqtpas_${version}.orig.tar.xz"
checksum=fcc5f695d60d5f72bf501b2fa779e8a1a2636c8d991270b5b3fef3d0e990365c
patch_args=-Np0
post_install() {
vinstall qt5.pas 0644 usr/share/pascal/qt5

View file

@ -1,7 +1,7 @@
Index: cmake/FindWrapAtomic.cmake
===================================================================
--- cmake/FindWrapAtomic.cmake.orig
+++ cmake/FindWrapAtomic.cmake
--- a/cmake/FindWrapAtomic.cmake
+++ b/cmake/FindWrapAtomic.cmake
@@ -38,7 +38,8 @@ endif()
add_library(WrapAtomic::WrapAtomic INTERFACE IMPORTED)

View file

@ -1,5 +1,5 @@
--- qmake/library/ioutils.cpp 2020-09-24 17:55:53.000000000 +0200
+++ - 2020-10-07 22:40:03.905629969 +0200
--- a/qmake/library/ioutils.cpp 2020-09-24 17:55:53.000000000 +0200
+++ b/qmake/library/ioutils.cpp 2020-09-24 17:55:53.000000000 +0200
@@ -40,6 +40,7 @@
# include <unistd.h>
# include <utime.h>
@ -8,8 +8,8 @@
# include <errno.h>
#endif
--- src/corelib/io/qstorageinfo_unix.cpp 2020-09-24 17:55:53.000000000 +0200
+++ - 2020-10-07 22:42:32.333434381 +0200
--- a/src/corelib/io/qstorageinfo_unix.cpp 2020-09-24 17:55:53.000000000 +0200
+++ b/src/corelib/io/qstorageinfo_unix.cpp 2020-09-24 17:55:53.000000000 +0200
@@ -58,6 +58,7 @@
# include <sys/vfs.h>
# include <mntent.h>

View file

@ -30,7 +30,6 @@ homepage="https://www.qt.io"
distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtbase-everywhere-src-${version}.tar.xz"
checksum=21a8aa9f07170e047270c668c8b037536f40226db7adbc529a0b41c3a3cb3ff2
python_version=3
patch_args=-Np0
if [ "$CROSS_BUILD" ]; then
# QtSetup fails native builds if this is set

View file

@ -1,5 +1,5 @@
--- src/QtAV/FilterContext.h 2019-07-11 02:58:59.000000000 +0200
+++ src/QtAV/FilterContext.h 2020-07-25 11:16:49.931296324 +0200
--- a/src/QtAV/FilterContext.h 2019-07-11 02:58:59.000000000 +0200
+++ b/src/QtAV/FilterContext.h 2020-07-25 11:16:49.931296324 +0200
@@ -26,6 +26,7 @@
#include <QtCore/QByteArray>
#include <QtCore/QRect>
@ -8,8 +8,8 @@
/*
* QPainterFilterContext, D2DFilterContext, ...
*/
--- qml/SGVideoNode.cpp 2019-07-11 02:58:59.000000000 +0200
+++ qml/SGVideoNode.cpp 2020-07-25 11:20:28.307307590 +0200
--- a/qml/SGVideoNode.cpp 2019-07-11 02:58:59.000000000 +0200
+++ b/qml/SGVideoNode.cpp 2020-07-25 11:20:28.307307590 +0200
@@ -25,6 +25,7 @@
#include "QtAV/VideoFrame.h"
#include <QtCore/QScopedPointer>

View file

@ -17,7 +17,6 @@ homepage="http://www.qtav.org"
changelog="https://raw.githubusercontent.com/wang-bin/QtAV/master/Changelog"
distfiles="https://github.com/wang-bin/QtAV/archive/v${version}.tar.gz"
checksum=a493d54d105b32c526f05188e4d7a8cf3508ecac697aae088721ffad20982288
patch_args=-Np0
post_install() {
vmkdir usr/bin

View file

@ -1,5 +1,5 @@
--- src/app/main.cpp 2020-08-25 13:26:21.000000000 +0200
+++ src/app/main.cpp 2020-09-03 14:21:38.975668939 +0200
--- a/src/app/main.cpp 2020-08-25 13:26:21.000000000 +0200
+++ b/src/app/main.cpp 2020-09-03 14:21:38.975668939 +0200
@@ -718,8 +718,10 @@
{
m_trimTimer.setSingleShot(true);

View file

@ -19,7 +19,6 @@ distfiles="https://download.qt.io/official_releases/qtcreator/${version%.*}/${ve
checksum=5ca9457987e7af0af929c310cc995496388076b6a0b9c429828c60bf0eec1b4d
replaces="qtcreator-data>=0"
python_version=3
patch_args=-Np0
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" libexecinfo-devel"

View file

@ -13,8 +13,8 @@ BUG: 408286
diff --git a/lib/utils/gtkprops.h b/lib/utils/gtkprops.h
index abc0675..e248255 100644
--- lib/utils/gtkprops.h
+++ lib/utils/gtkprops.h
--- a/lib/utils/gtkprops.h
+++ b/lib/utils/gtkprops.h
@@ -74,7 +74,7 @@ class GtkWidgetProps {
};
#define DEF_WIDGET_SIG_CONN_PROPS(name) \

View file

@ -1,5 +1,5 @@
--- qt5/style/qtcurve.h 2017-06-03 21:16:00.000000000 +0200
+++ qt5/style/qtcurve.h 2020-07-25 11:06:21.935263927 +0200
--- a/qt5/style/qtcurve.h 2017-06-03 21:16:00.000000000 +0200
+++ b/qt5/style/qtcurve.h 2020-07-25 11:06:21.935263927 +0200
@@ -32,6 +32,7 @@
#include <QColor>
#include <QFont>

View file

@ -16,4 +16,3 @@ homepage="https://quickgit.kde.org/?p=qtcurve.git"
distfiles="https://github.com/KDE/qtcurve/archive/${version}.tar.gz"
checksum=fbfdafdac90d4c540dd55a4accfecfc3a17c1f532c5241e28003348beafaca15
nocross="tries to execute a helper binary compiled for target on the host"
patch_args=-Np0

View file

@ -1,5 +1,5 @@
--- libfm/iconlist.h 2019-06-04 07:47:00.000000000 +0200
+++ libfm/iconlist.h 2020-08-31 18:50:21.401362347 +0200
--- a/libfm/iconlist.h 2019-06-04 07:47:00.000000000 +0200
+++ b/libfm/iconlist.h 2020-08-31 18:50:21.401362347 +0200
@@ -9,6 +9,7 @@
#include <QStyledItemDelegate>
#include <QModelIndex>
@ -8,8 +8,8 @@
class IconListDelegate : public QItemDelegate
{
--- libfm/iconview.h 2019-06-04 07:47:00.000000000 +0200
+++ libfm/iconview.h 2020-08-31 18:50:30.723362828 +0200
--- a/libfm/iconview.h 2019-06-04 07:47:00.000000000 +0200
+++ b/libfm/iconview.h 2020-08-31 18:50:30.723362828 +0200
@@ -11,6 +11,7 @@
#include <QKeyEvent>
#include <QModelIndex>

View file

@ -14,4 +14,3 @@ homepage="https://github.com/rodlie/qtfm"
changelog="https://raw.githubusercontent.com/rodlie/qtfm/master/ChangeLog"
distfiles="https://github.com/rodlie/qtfm/archive/${version}.tar.gz"
checksum=b9c707443e20644f6e5f0393ce5158843724ac08f92cf8d7ea8e1109957b5c00
patch_args=-Np0

View file

@ -1,5 +1,5 @@
--- qtikz.pro
+++ qtikz.pro
--- a/qtikz.pro
+++ b/qtikz.pro
@@ -5,7 +5,7 @@
ORGNAME = "Florian_Hackenberger"
APPNAME = qtikz

View file

@ -13,7 +13,6 @@ license="GPL-2.0-or-later"
homepage="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/"
distfiles="https://github.com/fhackenberger/ktikz/archive/${version}.tar.gz"
checksum=03f6ee335ca1abb23216870a6df71406ab44a4899875d4695b8594cfb789a127
patch_args=-Np0
post_patch() {
vsed -e '/include.*QPainter/a #include <QtGui/QPainterPath>' \

View file

@ -2,8 +2,8 @@ Use kwallet interface definition from the kwallet package,
instead of using the out-of-date provided in qtkeychain package
see https://github.com/frankosterfeld/qtkeychain/issues/172
--- CMakeLists.txt.ORIG 2020-09-08 15:13:16.000000000 +0200
+++ CMakeLists.txt 2020-11-13 13:50:56.648621533 +0100
--- a/CMakeLists.txt 2020-09-08 15:13:16.000000000 +0200
+++ b/CMakeLists.txt 2020-11-13 13:50:56.648621533 +0100
@@ -169,7 +169,7 @@
add_definitions(-DKEYCHAIN_DBUS=1)

View file

@ -12,7 +12,6 @@ license="BSD-2-Clause"
homepage="https://github.com/frankosterfeld/qtkeychain"
distfiles="https://github.com/frankosterfeld/${pkgname%-*}/archive/v${version}.tar.gz"
checksum=77fc6841c1743d9e6bd499989481cd9239c21bc9bf0760d41a4f4068d2f0a49d
patch_args=-Np0
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel"

View file

@ -1,5 +1,5 @@
--- src/src.pro 2018-06-04 11:43:53.000000000 +0200
+++ - 2019-07-10 02:36:51.536590804 +0200
--- a/src/src.pro 2018-06-04 11:43:53.000000000 +0200
+++ b/src/src.pro 2018-06-04 11:43:53.000000000 +0200
@@ -7,6 +7,32 @@
CONFIG += c++11 staticlib
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT

View file

@ -14,7 +14,6 @@ homepage="https://qtpass.org/"
changelog="https://raw.githubusercontent.com/IJHack/QtPass/master/CHANGELOG.md"
distfiles="https://github.com/IJHack/${pkgname}/archive/v${version}.tar.gz"
checksum=7a68e1afe68462c878c212a79c40ade5ba14b72710c5e62450cf54c7b5621254
patch_args=-Np0
do_install() {
vbin main/qtpass

View file

@ -1,8 +1,8 @@
# upstream: yes
# picked from 579e559a6322209df7cd51c34801fecff5fe734b
--- src/common/types.h
+++ src/common/types.h
--- a/src/common/types.h
+++ b/src/common/types.h
@@ -140,6 +140,7 @@
typedef QList<MsgId> MsgIdList;
typedef QList<BufferId> BufferIdList;

View file

@ -18,7 +18,6 @@ license="GPL-2.0-only, GPL-3.0-only"
homepage="https://www.quassel-irc.org"
distfiles="https://quassel-irc.org/pub/quassel-${version}.tar.bz2"
checksum=48efee9778743b1db9f44efb91d1c913104db01190c57f2ff57483c39a97e855
patch_args=-Np0
build_options="ldap"

View file

@ -1,5 +1,5 @@
--- qjsc.c
+++ qjsc.c
--- a/qjsc.c
+++ b/qjsc.c
@@ -452,6 +452,9 @@ static int output_executable(const char *out_filename, const char *cfilename,
*arg++ = "-lm";
*arg++ = "-ldl";

View file

@ -13,7 +13,6 @@ license="MIT"
homepage="https://bellard.org/quickjs/"
distfiles="https://bellard.org/quickjs/quickjs-${version//./-}.tar.xz"
checksum=a45bface4c3379538dea8533878d694e289330488ea7028b105f72572fe7fe1a
patch_args=-Np0
if [ "$CROSS_BUILD" ]; then
make_build_args+=" CROSS_PREFIX=${XBPS_CROSS_TRIPLET}-"

View file

@ -1,7 +1,7 @@
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,9 @@ AC_C_INLINE
AC_CHECK_FUNC([nl_langinfo], [
AC_DEFINE([HAVE_NL_LANGINFO], 1, [Use nl_langinfo for querying locale])
@ -14,8 +14,8 @@ Index: configure.ac
# Gettext support
Index: quota.c
===================================================================
--- quota.c.orig
+++ quota.c
--- a/quota.c
+++ b/quota.c
@@ -48,6 +48,10 @@
#define FL_SHOW_DEVICE 32768
#define FL_PROJECT 65536

View file

@ -13,7 +13,6 @@ license="GPL-2"
homepage="https://sourceforge.net/projects/linuxquota/"
distfiles="${SOURCEFORGE_SITE}/linuxquota/quota-tools/${pkgname}-${version}.tar.gz"
checksum=2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d
patch_args=-Np0
pre_configure() {
autoreconf -fi

View file

@ -1,5 +1,5 @@
--- lib/libdvbv5/dvb-dev-local.c
+++ lib/libdvbv5/dvb-dev-local.c
--- a/lib/libdvbv5/dvb-dev-local.c
+++ b/lib/libdvbv5/dvb-dev-local.c
@@ -44,6 +44,16 @@
# define _(string) string
#endif

View file

@ -1,7 +1,7 @@
diff --git utils/ir-ctl/keymap.h utils/ir-ctl/keymap.h
index f2b2963..51e4440 100644
--- utils/ir-ctl/keymap.h
+++ utils/ir-ctl/keymap.h
--- a/utils/ir-ctl/keymap.h
+++ b/utils/ir-ctl/keymap.h
@@ -1,6 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __KEYMAP_H
@ -37,8 +37,8 @@ index f2b2963..51e4440 100644
void free_keymap(struct keymap *map);
diff --git utils/keytable/keymap.h utils/keytable/keymap.h
index f2b2963..51e4440 100644
--- utils/keytable/keymap.h
+++ utils/keytable/keymap.h
--- a/utils/keytable/keymap.h
+++ b/utils/keytable/keymap.h
@@ -1,6 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __KEYMAP_H

View file

@ -1,5 +1,5 @@
--- utils/keytable/keytable.c 2019-09-22 11:22:54.000000000 +0200
+++ utils/keytable/keytable.c 2021-01-15 14:48:30.569549169 +0100
--- a/utils/keytable/keytable.c 2019-09-22 11:22:54.000000000 +0200
+++ b/utils/keytable/keytable.c 2021-01-15 14:48:30.569549169 +0100
@@ -1533,7 +1533,7 @@
for (i = 0; i < rd / sizeof(struct input_event); i++) {

View file

@ -14,7 +14,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://linuxtv.org/"
distfiles="https://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2"
checksum=6cb60d822eeed20486a03cc23e0fc65956fbc1e85e0c1a7477f68bbd9802880d
patch_args=-Np0
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"