summaryrefslogtreecommitdiff
path: root/print/sioyek/files/patch-pdf__viewer_utils.cpp
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-05-16 11:55:50 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2025-05-18 12:17:52 +0200
commit90d3ed050873e2343565e80ee5cab83e2522de7d (patch)
treedf361e4a5f8c81e822ef943c192c4b12ba5042ff /print/sioyek/files/patch-pdf__viewer_utils.cpp
parentdevel/csmith: update to 2.3.0.79 (diff)
print/sioyek: update to 2.0.0.20250513
- fixes a crash when using the search function. - the new version requires qt6 - ship and install the man page - get rid of most now-obsolete site patches PR: 286827 Reported by: Nithal El Mejmissani <nithale@gmail.com>
Diffstat (limited to 'print/sioyek/files/patch-pdf__viewer_utils.cpp')
-rw-r--r--print/sioyek/files/patch-pdf__viewer_utils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/sioyek/files/patch-pdf__viewer_utils.cpp b/print/sioyek/files/patch-pdf__viewer_utils.cpp
index f5214ad89f03..0586ac3c20fa 100644
--- a/print/sioyek/files/patch-pdf__viewer_utils.cpp
+++ b/print/sioyek/files/patch-pdf__viewer_utils.cpp
@@ -1,11 +1,11 @@
---- pdf_viewer/utils.cpp.orig 2023-03-04 13:46:24 UTC
+--- pdf_viewer/utils.cpp.orig 2025-05-13 14:36:40 UTC
+++ pdf_viewer/utils.cpp
-@@ -1194,7 +1194,7 @@ void sleep_ms(unsigned int ms) {
+@@ -1548,7 +1548,7 @@ void sleep_ms(unsigned int ms) {
#ifdef Q_OS_WIN
- Sleep(ms);
+ Sleep(ms);
#else
-- struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 };
-+ struct timespec ts = { static_cast<time_t>(ms / 1000), static_cast<long>((ms % 1000) * 1000 * 1000) };
- nanosleep(&ts, NULL);
+- struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 };
++ struct timespec ts = { static_cast<time_t>(ms / 1000), static_cast<long>((ms % 1000) * 1000 * 1000) };
+ nanosleep(&ts, NULL);
#endif
}