forgot to add/commit those...

This commit is contained in:
espie 2005-12-06 07:06:20 +00:00
parent 02bbd30eb7
commit f7f027e681
3 changed files with 37 additions and 0 deletions

View File

@ -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"])

View File

@ -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 <cstdlib>
+#define NAN (std::atof("nan"))
#endif
class _knumber

View File

@ -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 <sys/ioctl.h>
#include <net/if.h>
#include <arpa/inet.h>
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
#include <netinet/in.h>
#endif
#if defined(Q_OS_SOLARIS)