public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libQGLViewer] epel10: Fix broken patch
@ 2026-11-30 13:55 Rich Mattes
0 siblings, 0 replies; only message in thread
From: Rich Mattes @ 2026-11-30 13:55 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/libQGLViewer
Branch : epel10
Commit : ea73b16483dcf6fb86aa1f26e0b433d69e467d1a
Author : Rich Mattes <richmattes@gmail.com>
Date : 2018-08-12T10:24:21-04:00
Stats : +3/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/libQGLViewer/c/ea73b16483dcf6fb86aa1f26e0b433d69e467d1a?branch=epel10
Log:
Fix broken patch
---
diff --git a/libQGLViewer-2.6.4-qreal.patch b/libQGLViewer-2.6.4-qreal.patch
index e8ee56f..cdbc099 100644
--- a/libQGLViewer-2.6.4-qreal.patch
+++ b/libQGLViewer-2.6.4-qreal.patch
@@ -1,6 +1,6 @@
diff -up ./QGLViewer/vec.h.qreal ./QGLViewer/vec.h
--- ./QGLViewer/vec.h.qreal 2016-10-06 16:08:49.000000000 -0400
-+++ ./QGLViewer/vec.h 2018-08-12 10:17:47.460111801 -0400
++++ ./QGLViewer/vec.h 2018-08-12 10:23:01.494354925 -0400
@@ -160,6 +160,7 @@ public:
const qreal* address() const { qWarning("Vec::address() is deprecated, use operator const qreal* instead."); return operator const qreal*(); }
#endif
@@ -9,12 +9,10 @@ diff -up ./QGLViewer/vec.h.qreal ./QGLViewer/vec.h
/*! Conversion operator returning the memory address of the vector.
Very convenient to pass a Vec pointer as a parameter to \c GLdouble OpenGL functions:
-@@ -186,7 +187,8 @@ public:
- return v_;
+@@ -187,6 +188,7 @@ public:
#endif
}
--
-+#endif
+
+// only enable on platforms where qreal is defined as double
/*! Conversion operator returning the memory address of the vector.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 13:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 13:55 [rpms/libQGLViewer] epel10: Fix broken patch Rich Mattes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox