[kde-freebsd] small area51 trunk/area51/PORTS/sysutils/k3b-kde4 build fix

Juergen Lock nox at jelal.kn-bremen.de
Fri Feb 5 21:02:26 CET 2010


I was asked on #kde-freebsd to send this by mail so here goes :)

 The important part was the missing #else part so the constructor was
missing the last arg, but since the hal text applies to freebsd too I
also changed the #ifdef.

--- src/k3bsystemproblemdialog.cpp.orig
+++ src/k3bsystemproblemdialog.cpp
@@ -175,8 +175,10 @@ void K3b::SystemProblemDialog::checkSyst
         problems.append( K3b::SystemProblem( K3b::SystemProblem::CRITICAL,
                                            i18n("No optical drive found."),
                                            i18n("K3b did not find any optical device in your system."),
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
                                            i18n("Make sure HAL daemon is running, it is used by K3b for finding devices.")
+#else
+                                           QString()
 #endif
                                            ) );
     }

 Cheers,
	Juergen


More information about the kde-freebsd mailing list