Skip to content

Commit

Permalink
devel/qtcreator: Update to 11.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
BSDKaffee committed Sep 29, 2023
1 parent 41d2f10 commit 1525b56
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion devel/qtcreator/Makefile
@@ -1,5 +1,5 @@
PORTNAME= qtcreator
DISTVERSION= 11.0.2
DISTVERSION= 11.0.3
CATEGORIES= devel
MASTER_SITES= QT/official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION}
DISTNAME= qt-creator-opensource-src-${DISTVERSION}
Expand Down
6 changes: 3 additions & 3 deletions devel/qtcreator/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1692026346
SHA256 (KDE/Qt/qtcreator/qt-creator-opensource-src-11.0.2.tar.xz) = 9de9925dfce0ad1e6fcc37af7441e1052dddd15f97206493758d8303479a2d03
SIZE (KDE/Qt/qtcreator/qt-creator-opensource-src-11.0.2.tar.xz) = 49828532
TIMESTAMP = 1695967211
SHA256 (KDE/Qt/qtcreator/qt-creator-opensource-src-11.0.3.tar.xz) = 5f501e64e836b7e3e50b98b3ebc345b201396a5fd92e49738dabb5e268d5cf1c
SIZE (KDE/Qt/qtcreator/qt-creator-opensource-src-11.0.3.tar.xz) = 49863336
4 changes: 2 additions & 2 deletions devel/qtcreator/files/patch-src_libs_qmljs_qmljscontext.cpp
Expand Up @@ -4,9 +4,9 @@ In default ports builds Without this spurious qDebug(), the pointer
allocated by the program. This hack may be disguising a memory problem
higher up in the application.

--- src/libs/qmljs/qmljscontext.cpp.orig 2021-11-03 12:01:09 UTC
--- src/libs/qmljs/qmljscontext.cpp.orig 2023-09-27 07:28:12 UTC
+++ src/libs/qmljs/qmljscontext.cpp
@@ -191,6 +191,7 @@ ReferenceContext::ReferenceContext(const ContextPtr &c
@@ -169,6 +169,7 @@ const Value *ReferenceContext::lookupReference(const V
const Value *ReferenceContext::lookupReference(const Value *value)
{
const Reference *reference = value_cast<Reference>(value);
Expand Down
4 changes: 2 additions & 2 deletions devel/qtcreator/files/patch-src_libs_sqlite_CMakeLists.txt
@@ -1,6 +1,6 @@
--- src/libs/sqlite/CMakeLists.txt.orig 2022-12-14 03:18:24 UTC
--- src/libs/sqlite/CMakeLists.txt.orig 2023-09-27 07:28:11 UTC
+++ src/libs/sqlite/CMakeLists.txt
@@ -53,6 +53,8 @@ add_qtc_library(Sqlite
@@ -55,6 +55,8 @@ if (APPLE)

if (APPLE)
extend_qtc_library(SqliteC DEFINES _BSD_SOURCE)
Expand Down
17 changes: 10 additions & 7 deletions devel/qtcreator/files/patch-src_tools_process__stub_main.cpp
@@ -1,25 +1,28 @@
--- src/tools/process_stub/main.cpp.orig 2023-06-08 07:45:07 UTC
--- src/tools/process_stub/main.cpp.orig 2023-09-27 07:28:08 UTC
+++ src/tools/process_stub/main.cpp
@@ -22,7 +22,7 @@
@@ -22,10 +22,9 @@
#include <unistd.h>
#endif

-#ifdef Q_OS_LINUX
+#ifdef Q_OS_UNIX
#include <sys/ptrace.h>
#include <sys/wait.h>
-#include <sys/prctl.h>
#endif

@@ -211,6 +211,9 @@ void onInferiorStarted()
#include <iostream>
@@ -254,6 +253,9 @@ void onInferiorStarted()
// In debug mode we use the poll timer to send the pid.
if (!debugMode)
sendPid(inferiorId);
+#elif defined(Q_OS_FREEBSD)
+ ptrace(PT_DETACH, inferiorId, 0, SIGSTOP);
+ sendPid(inferiorId);
#else
ptrace(PTRACE_DETACH, inferiorId, 0, SIGSTOP);
sendPid(inferiorId);
@@ -230,6 +233,9 @@ void setupUnixInferior()

if (debugMode) {
@@ -287,6 +289,9 @@ void setupUnixInferior()
// Suspend ourselves ...
raise(SIGSTOP);
});
Expand All @@ -28,4 +31,4 @@
+ inferiorProcess.setChildProcessModifier([] { ptrace(PT_TRACE_ME, 0, 0, 0); });
#else
// PTRACE_TRACEME will stop execution of the child process as soon as execve is called.
inferiorProcess.setChildProcessModifier([] { ptrace(PTRACE_TRACEME, 0, 0, 0); });
inferiorProcess.setChildProcessModifier([] {
1 change: 1 addition & 0 deletions devel/qtcreator/pkg-plist
Expand Up @@ -157,6 +157,7 @@ share/metainfo/org.qt-project.qtcreator.appdata.xml
%%DATADIR%%/changelog/changes-11.0.0.md
%%DATADIR%%/changelog/changes-11.0.1.md
%%DATADIR%%/changelog/changes-11.0.2.md
%%DATADIR%%/changelog/changes-11.0.3.md
%%DATADIR%%/changelog/changes-2.0.0
%%DATADIR%%/changelog/changes-2.0.1
%%DATADIR%%/changelog/changes-2.1.0
Expand Down

0 comments on commit 1525b56

Please sign in to comment.