vidalia: fix build with gcc-4.7
This commit is contained in:
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ cmake qt4 doxygen ];
|
buildInputs = [ cmake qt4 doxygen ];
|
||||||
|
|
||||||
|
patches = [ ./gcc-4.7.patch ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://www.torproject.org/projects/vidalia.html.en;
|
homepage = https://www.torproject.org/projects/vidalia.html.en;
|
||||||
description = "a cross-platform graphical controller for the Tor software, built using the Qt framework";
|
description = "a cross-platform graphical controller for the Tor software, built using the Qt framework";
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
diff -ru vidalia-0.3.1_orig/src/vidalia/plugin/PluginEngine.cpp vidalia-0.3.1/src/vidalia/plugin/PluginEngine.cpp
|
||||||
|
--- vidalia-0.3.1_orig/src/vidalia/plugin/PluginEngine.cpp 2012-08-08 18:02:01.901732270 +0200
|
||||||
|
+++ vidalia-0.3.1/src/vidalia/plugin/PluginEngine.cpp 2012-08-08 18:03:26.241677875 +0200
|
||||||
|
@@ -20,6 +20,8 @@
|
||||||
|
|
||||||
|
#include "Vidalia.h"
|
||||||
|
|
||||||
|
+#include <unistd.h>
|
||||||
|
+
|
||||||
|
PluginEngine::PluginEngine(QObject *parent)
|
||||||
|
: QScriptEngine(parent)
|
||||||
|
{
|
||||||
Reference in New Issue
Block a user