summaryrefslogtreecommitdiff
path: root/deskutils/vym/files/patch-floatimageobj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/vym/files/patch-floatimageobj.cpp')
-rw-r--r--deskutils/vym/files/patch-floatimageobj.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/deskutils/vym/files/patch-floatimageobj.cpp b/deskutils/vym/files/patch-floatimageobj.cpp
new file mode 100644
index 000000000000..1ece7c0af72f
--- /dev/null
+++ b/deskutils/vym/files/patch-floatimageobj.cpp
@@ -0,0 +1,15 @@
+--- floatimageobj.cpp.orig Sun Sep 26 22:45:56 2004
++++ floatimageobj.cpp Sun Oct 17 17:12:27 2004
+@@ -2,6 +2,12 @@
+ #include "branchobj.h"
+ #include <math.h>
+
++#if !defined(HAVE_LRINTF)
++static inline long int lrint(double x)
++{
++ return (long)(rint(x));
++}
++#endif
+
+ /////////////////////////////////////////////////////////////////
+ // FloatImageObj