aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/rosegarden/nearbyintf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/rosegarden/nearbyintf.patch')
-rw-r--r--unmaintained/rosegarden/nearbyintf.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/unmaintained/rosegarden/nearbyintf.patch b/unmaintained/rosegarden/nearbyintf.patch
deleted file mode 100644
index d8d2a706e2..0000000000
--- a/unmaintained/rosegarden/nearbyintf.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-uclibc does not have nearbyintf
-
---- ./src/gui/widgets/Fader.cpp.orig
-+++ ./src/gui/widgets/Fader.cpp
-@@ -222,7 +222,7 @@
- if (m_integral) {
- float sliderLength = float(m_sliderMax) - float(m_sliderMin);
- position =
-- int(nearbyintf(sliderLength * (value - float(m_min)) / float(m_max - m_min) + 0.1));
-+ int(nearbyint(sliderLength * (value - float(m_min)) / float(m_max - m_min) + 0.1));
- } else {
- position =
- AudioLevel::dB_to_fader