mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
vidalia: fix build with gcc-4.7
This commit is contained in:
parent
37b1c1481b
commit
72a8329ee2
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ cmake qt4 doxygen ];
|
||||
|
||||
patches = [ ./gcc-4.7.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.torproject.org/projects/vidalia.html.en;
|
||||
description = "a cross-platform graphical controller for the Tor software, built using the Qt framework";
|
||||
|
12
pkgs/tools/security/vidalia/gcc-4.7.patch
Normal file
12
pkgs/tools/security/vidalia/gcc-4.7.patch
Normal file
@ -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)
|
||||
{
|
Loading…
Reference in New Issue
Block a user