public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rich Mattes <richmattes@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libQGLViewer] epel10: Add qreal support patch
Date: Mon, 30 Nov 2026 13:55:03 GMT [thread overview]
Message-ID: <179604690303.1.7390999593721252182.rpms-libQGLViewer-1b81eb6b7521@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libQGLViewer
Branch : epel10
Commit : 1b81eb6b752165189a75cda0984d8bea84554694
Author : Rich Mattes <richmattes@gmail.com>
Date : 2018-08-12T09:51:37-04:00
Stats : +25/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/libQGLViewer/c/1b81eb6b752165189a75cda0984d8bea84554694?branch=epel10
Log:
Add qreal support patch
---
diff --git a/libQGLViewer-2.6.4-qreal.patch b/libQGLViewer-2.6.4-qreal.patch
new file mode 100644
index 0000000..0eda4c6
--- /dev/null
+++ b/libQGLViewer-2.6.4-qreal.patch
@@ -0,0 +1,24 @@
+diff -up ./QGLViewer/vec.h.qreal ./QGLViewer/vec.h
+--- ./QGLViewer/vec.h.qreal 2018-08-12 09:48:47.564866881 -0400
++++ ./QGLViewer/vec.h 2018-08-12 09:50:16.732120711 -0400
+@@ -196,13 +196,13 @@ public:
+ glVertex3fv(pos);
+ \endcode
+ \note The returned float array is a static shared by all \c Vec instances. */
+- operator const float*() const {
+- static float* const result = new float[3];
+- result[0] = (float)x;
+- result[1] = (float)y;
+- result[2] = (float)z;
+- return result;
+- }
++// operator const float*() const {
++// static float* const result = new float[3];
++// result[0] = (float)x;
++// result[1] = (float)y;
++// result[2] = (float)z;
++// return result;
++// }
+ //@}
+
+ /*! @name Algebraic computations */
diff --git a/libQGLViewer.spec b/libQGLViewer.spec
index b281e07..8a7318b 100644
--- a/libQGLViewer.spec
+++ b/libQGLViewer.spec
@@ -11,7 +11,7 @@ Source0: http://www.libqglviewer.com/src/%{name}-%{version}.tar.gz
# QGLViewer/VRender/gpc.cpp uses exit(0) to "abort" from a failure of malloc
# Use abort() instead.
Patch0: libQGLViewer-2.6.3-exit.patch
-
+Patch1: libQGLViewer-2.6.4-qreal.patch
# libQGLViewer .pro files explicitely remove "-g" from compile flags. Make
# them back.
Patch1: libQGLViewer-2.6.3-dbg.patch
reply other threads:[~2026-11-30 13:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179604690303.1.7390999593721252182.rpms-libQGLViewer-1b81eb6b7521@fedoraproject.org \
--to=richmattes@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox