diff options
Diffstat (limited to 'wm/metisse/patches/patch-ae')
-rw-r--r-- | wm/metisse/patches/patch-ae | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/wm/metisse/patches/patch-ae b/wm/metisse/patches/patch-ae deleted file mode 100644 index 68059a08249..00000000000 --- a/wm/metisse/patches/patch-ae +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD: patch-ae,v 1.5 2010/12/27 14:28:38 obache Exp $ - ---- FvwmCompositor/main/LayerManager.cxx.orig 2008-08-25 13:54:44.000000000 +0000 -+++ FvwmCompositor/main/LayerManager.cxx -@@ -25,6 +25,23 @@ - using namespace std; - - // -------------------------------------------------------------------- -+#if defined(__NetBSD__) || defined(__DragonFly__) -+#include <sys/param.h> -+#if !(defined(__DragonFly__) && __DragonFly_version >= 200204) && !(defined(__NetBSD__) && (__NetBSD_Version__ >= 599002100 || (__NetBSD_Version__ >= 501000000 && __NetBSD_Version__ < 599000000))) -+static inline double -+fmin(double x, double y) -+{ -+ return (x < y) ? x : y; -+} -+ -+static inline double -+fmax(double x, double y) -+{ -+ return (x > y) ? x : y; -+} -+#endif -+#endif -+ - - void LayerManager::preDisplay(void) - { |