From f7f027e681e7c7082ee5d876ac89d7ec2203b1d5 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 6 Dec 2005 07:06:20 +0000 Subject: [PATCH] forgot to add/commit those... --- x11/kde/utils3/patches/patch-configure_in | 12 ++++++++++++ .../patches/patch-kcalc_knumber_knumber_priv_h | 13 +++++++++++++ .../patches/patch-superkaramba_src_misc_python_cpp | 12 ++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 x11/kde/utils3/patches/patch-configure_in create mode 100644 x11/kde/utils3/patches/patch-kcalc_knumber_knumber_priv_h create mode 100644 x11/kde/utils3/patches/patch-superkaramba_src_misc_python_cpp diff --git a/x11/kde/utils3/patches/patch-configure_in b/x11/kde/utils3/patches/patch-configure_in new file mode 100644 index 00000000000..4d5d4c15518 --- /dev/null +++ b/x11/kde/utils3/patches/patch-configure_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure_in,v 1.1 2005/12/06 07:06:20 espie Exp $ +--- configure.in.orig Fri Nov 25 10:58:41 2005 ++++ configure.in Fri Nov 25 10:59:06 2005 +@@ -508,7 +508,7 @@ AC_SUBST(XMMS_LIBS) + AC_SUBST(XMMS_LDFLAGS) + AC_SUBST(XMMS_INCLUDES) + +-KDE_CHECK_LIB(knewstuff, main, [MY_LIBKNEWSTUFF="-lknewstuff"]) ++KDE_CHECK_LIB(knewstuff, main, [MY_LIBKNEWSTUFF="-lknewstuff"],, -lstdc++) + AC_SUBST(MY_LIBKNEWSTUFF) + + AC_CHECK_LIB(kvm, main, [LIBKVM="-lkvm"]) diff --git a/x11/kde/utils3/patches/patch-kcalc_knumber_knumber_priv_h b/x11/kde/utils3/patches/patch-kcalc_knumber_knumber_priv_h new file mode 100644 index 00000000000..92484a9b677 --- /dev/null +++ b/x11/kde/utils3/patches/patch-kcalc_knumber_knumber_priv_h @@ -0,0 +1,13 @@ +$OpenBSD: patch-kcalc_knumber_knumber_priv_h,v 1.1 2005/12/06 07:06:20 espie Exp $ +--- kcalc/knumber/knumber_priv.h.orig Thu Nov 24 11:59:31 2005 ++++ kcalc/knumber/knumber_priv.h Thu Nov 24 12:00:01 2005 +@@ -29,7 +29,8 @@ class QString; + #endif + // this is really ugly + #ifndef NAN +-#define NAN (atof("nan")) ++#include ++#define NAN (std::atof("nan")) + #endif + + class _knumber diff --git a/x11/kde/utils3/patches/patch-superkaramba_src_misc_python_cpp b/x11/kde/utils3/patches/patch-superkaramba_src_misc_python_cpp new file mode 100644 index 00000000000..433718f1cb0 --- /dev/null +++ b/x11/kde/utils3/patches/patch-superkaramba_src_misc_python_cpp @@ -0,0 +1,12 @@ +$OpenBSD: patch-superkaramba_src_misc_python_cpp,v 1.1 2005/12/06 07:06:20 espie Exp $ +--- superkaramba/src/misc_python.cpp.orig Fri Nov 25 09:22:25 2005 ++++ superkaramba/src/misc_python.cpp Fri Nov 25 09:22:51 2005 +@@ -425,7 +425,7 @@ PyObject* py_hide(PyObject *, PyObject * + #include + #include + #include +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__OpenBSD__) + #include + #endif + #if defined(Q_OS_SOLARIS)