* Sync with the trunk.

svn path=/nixpkgs/branches/stdenv-updates/; revision=14073
This commit is contained in:
Eelco Dolstra
2009-02-13 13:49:29 +00:00
9 changed files with 66 additions and 64 deletions

View File

@@ -0,0 +1,26 @@
diff --git a/pcap.c b/pcap.c
index 010ef74..0bfb191 100644
--- a/pcap.c
+++ b/pcap.c
@@ -211,7 +211,7 @@ pcap_set_buffer_size(pcap_t *p, int buffer_size)
return 0;
}
-int
+pcap_t *
pcap_activate(pcap_t *p)
{
int status;
diff --git a/pcap/pcap.h b/pcap/pcap.h
index ea18edc..3910a2d 100644
--- a/pcap/pcap.h
+++ b/pcap/pcap.h
@@ -263,7 +263,7 @@ int pcap_can_set_rfmon(pcap_t *);
int pcap_set_rfmon(pcap_t *, int);
int pcap_set_timeout(pcap_t *, int);
int pcap_set_buffer_size(pcap_t *, int);
-int pcap_activate(pcap_t *);
+pcap_t *pcap_activate(pcap_t *);
pcap_t *pcap_open_live(const char *, int, int, int, char *);
pcap_t *pcap_open_dead(int, int);

View File

@@ -47,7 +47,7 @@ stdenv.mkDerivation {
-system-zlib -system-libpng -system-libjpeg -fast
-qt-gif -confirm-license
-opengl -xrender -xrandr -xinerama -xcursor -qt-sql-mysql
-qdbus -cups -glib -xfixes
-qdbus -cups -glib -xfixes -dbus-linked
-fontconfig -I${freetype}/include/freetype2
'';

View File

@@ -1,11 +1,11 @@
{fetchurl, perl, db4}:
{buildPerlPackage, fetchurl, db4}:
import ../generic perl {
name = "BerkeleyDB-0.27";
buildPerlPackage rec {
name = "BerkeleyDB-0.36";
src = fetchurl {
url = http://nixos.org/tarballs/BerkeleyDB-0.27.tar.gz;
md5 = "43aa72c0c6941af0d656d749ad543e96";
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
sha256 = "07xf50riarb60l1h6m2dqmql8q5dij619712fsgw7ach04d8g3z1";
};
preConfigure = ''