mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
wvstreams: remove
This commit is contained in:
parent
f1802d8398
commit
7dc3460764
@ -1,43 +0,0 @@
|
||||
Debian's patch to build with fresher GCC
|
||||
|
||||
Index: wvstreams-4.6.1/crypto/wvx509.cc
|
||||
===================================================================
|
||||
--- wvstreams-4.6.1.orig/crypto/wvx509.cc 2011-05-20 00:02:38.119136584 +0200
|
||||
+++ wvstreams-4.6.1/crypto/wvx509.cc 2011-05-20 00:02:26.035136589 +0200
|
||||
@@ -1157,7 +1157,7 @@
|
||||
|
||||
if (ext)
|
||||
{
|
||||
- X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
|
||||
+ X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext);
|
||||
if (!method)
|
||||
{
|
||||
WvDynBuf buf;
|
||||
Index: wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc
|
||||
===================================================================
|
||||
--- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:38.391136584 +0200
|
||||
+++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:35.283136585 +0200
|
||||
@@ -1,8 +1,6 @@
|
||||
#include "wvunixdgsocket.h"
|
||||
-#ifdef MACOS
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
-#endif
|
||||
|
||||
WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
|
||||
: socketfile(filename)
|
||||
Index: wvstreams-4.6.1/streams/wvatomicfile.cc
|
||||
===================================================================
|
||||
--- wvstreams-4.6.1.orig/streams/wvatomicfile.cc 2011-05-20 00:02:38.223136584 +0200
|
||||
+++ wvstreams-4.6.1/streams/wvatomicfile.cc 2011-05-20 00:02:31.619136587 +0200
|
||||
@@ -10,10 +10,7 @@
|
||||
#include "wvatomicfile.h"
|
||||
#include "wvfileutils.h"
|
||||
#include "wvstrutils.h"
|
||||
-
|
||||
-#ifdef MACOS
|
||||
#include <sys/stat.h>
|
||||
-#endif
|
||||
|
||||
WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
|
||||
: tmp_file(WvString::null)
|
@ -1,28 +0,0 @@
|
||||
{ stdenv, fetchurl, qt4, dbus, zlib, openssl, readline, perl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "wvstreams-4.6.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz;
|
||||
sha256 = "0cvnq3mvh886gmxh0km858aqhx30hpyrfpg1dh6ara9sz3xza0w4";
|
||||
};
|
||||
|
||||
patches = [ ./compile.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
find -type f | xargs sed -i 's@/bin/bash@bash@g'
|
||||
|
||||
sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cc')
|
||||
'';
|
||||
|
||||
buildInputs = [ qt4 dbus zlib openssl readline perl ];
|
||||
|
||||
meta = {
|
||||
description = "Network programming library in C++";
|
||||
homepage = http://alumnit.ca/wiki/index.php?page=WvStreams;
|
||||
license = "LGPL";
|
||||
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -10585,8 +10585,6 @@ with pkgs;
|
||||
|
||||
wt = callPackage ../development/libraries/wt { };
|
||||
|
||||
wvstreams = callPackage ../development/libraries/wvstreams { };
|
||||
|
||||
wxGTK = wxGTK28;
|
||||
|
||||
wxGTK28 = callPackage ../development/libraries/wxwidgets/2.8 {
|
||||
|
Loading…
Reference in New Issue
Block a user