summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch')
-rw-r--r--media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch b/media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch
deleted file mode 100644
index 3fb29a7f0b54..000000000000
--- a/media-libs/ganv/files/ganv-1.4.2-no-fdgl.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-diff --git a/src/Canvas.cpp b/src/Canvas.cpp
-index c01021c..1c66a6c 100644
---- a/src/Canvas.cpp
-+++ b/src/Canvas.cpp
-@@ -760,6 +760,18 @@ GanvCanvasImpl::layout_dot(const std::string& filename)
- }
- #endif
-
-+inline uint64_t
-+get_monotonic_time()
-+{
-+#if GLIB_CHECK_VERSION(2, 28, 0)
-+ return g_get_monotonic_time();
-+#else
-+ GTimeVal time;
-+ g_get_current_time(&time);
-+ return time.tv_sec + time.tv_usec;
-+#endif
-+}
-+
- #ifdef GANV_FDGL
-
- inline Region
-@@ -788,18 +800,6 @@ apply_force(GanvNode* a, GanvNode* b, const Vector& f)
- b->impl->force = vec_sub(b->impl->force, f);
- }
-
--inline uint64_t
--get_monotonic_time()
--{
--#if GLIB_CHECK_VERSION(2, 28, 0)
-- return g_get_monotonic_time();
--#else
-- GTimeVal time;
-- g_get_current_time(&time);
-- return time.tv_sec + time.tv_usec;
--#endif
--}
--
- gboolean
- GanvCanvasImpl::layout_iteration()
- {