summary refs log tree commit diff
path: root/pkgs/development/tools/analysis
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-04-21 21:31:08 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-04-21 21:31:08 +0000
commit672890153e38829445ffff99833e25d2ee7f220f (patch)
tree6f91b0a685406776397e9ddb701c5e4bce035144 /pkgs/development/tools/analysis
parentd2067c300fcc0bd147e17785ca51110b0282466d (diff)
downloadnixpkgs-672890153e38829445ffff99833e25d2ee7f220f.tar
nixpkgs-672890153e38829445ffff99833e25d2ee7f220f.tar.gz
nixpkgs-672890153e38829445ffff99833e25d2ee7f220f.tar.bz2
nixpkgs-672890153e38829445ffff99833e25d2ee7f220f.tar.lz
nixpkgs-672890153e38829445ffff99833e25d2ee7f220f.tar.xz
nixpkgs-672890153e38829445ffff99833e25d2ee7f220f.tar.zst
nixpkgs-672890153e38829445ffff99833e25d2ee7f220f.zip
Fixing lua and perl for radare.
svn path=/nixpkgs/trunk/; revision=15230
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r--pkgs/development/tools/analysis/radare/default.nix6
-rw-r--r--pkgs/development/tools/analysis/radare/lua.patch12
2 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/development/tools/analysis/radare/default.nix b/pkgs/development/tools/analysis/radare/default.nix
index db83ade8fd4..083e32c2eb9 100644
--- a/pkgs/development/tools/analysis/radare/default.nix
+++ b/pkgs/development/tools/analysis/radare/default.nix
@@ -1,5 +1,5 @@
 {stdenv, fetchurl, pkgconfig, gtk, libusb, readline, lua, gtkdialog,
-  python, ruby, libewf, vte}:
+  python, ruby, libewf, vte, perl}:
 
 stdenv.mkDerivation {
   name = "radare-1.2.2";
@@ -9,8 +9,10 @@ stdenv.mkDerivation {
     sha256 = "0624ic97s1b70ijbr16b33p76mls8rziqwla6bq29l554dh2hfn4";
   };
 
+  patches = [ ./lua.patch ];
+
   buildInputs = [pkgconfig gtk readline libusb lua gtkdialog python
-    ruby libewf vte];
+    ruby libewf vte perl];
 
   meta = {
     description = "Free advanced command line hexadecimal editor";
diff --git a/pkgs/development/tools/analysis/radare/lua.patch b/pkgs/development/tools/analysis/radare/lua.patch
new file mode 100644
index 00000000000..3a2ca0d505d
--- /dev/null
+++ b/pkgs/development/tools/analysis/radare/lua.patch
@@ -0,0 +1,12 @@
+diff --git a/src/plug/hack/Makefile b/src/plug/hack/Makefile
+index b05d8dd..d6c73f9 100644
+--- a/src/plug/hack/Makefile
++++ b/src/plug/hack/Makefile
+@@ -7,7 +7,6 @@ PERL_LIBS=`perl -MExtUtils::Embed -e ldopts` -lncurses
+ PY_CFLAGS=-I${PREFIX}/include/python2.5/ -I/usr/include/python2.5/
+ PY_LIBS=-lpython2.5
+ LUA_CFLAGS=-I${PREFIX}/include/lua5.1/ -I/usr/include/lua5.1/
+-LUA_LIBS=
+ RUBY_CFLAGS=-I/usr/lib/ruby/1.8/i386-linux
+ RUBY_LIBS=-lruby18
+ SO=${SHARED_EXT}