$OpenBSD: patch-qucs-core_src_math_real_cpp,v 1.1 2017/05/02 15:13:39 espie Exp $

Index: qucs-core/src/math/real.cpp
--- qucs-core/src/math/real.cpp.orig
+++ qucs-core/src/math/real.cpp
@@ -112,6 +112,8 @@ nr_double_t norm (const nr_double_t r) {
    \return Modulus of r 	 
    \todo Why not inline 	 
 */ 	 
+/* prevent collision with the system */
+#define abs myabs
 nr_double_t abs (const nr_double_t r) { 	 
   return fabs (r); 	 
 }
