git.iko.soy/typeable/nixpkgs
on master help sign in
wvstreams: remove
commit7dc34607641cc8f1815e89340897613c164d3deb authorRobin Gloster <mail@glob.in> dateTue 1 Aug 2017, 23:39 (9 years ago) parentf1802d8
3 files changed−73
pkgs/development/libraries/wvstreams/compile.patch−43 pkgs/development/libraries/wvstreams/default.nix−28 pkgs/top-level/all-packages.nix−2
pkgs/development/libraries/wvstreams/compile.patchdeleted−43
@@ -1,43 +0,0 @@
1−Debian's patch to build with fresher GCC
2−
3−Index: wvstreams-4.6.1/crypto/wvx509.cc
4−===================================================================
5−--- wvstreams-4.6.1.orig/crypto/wvx509.cc 2011-05-20 00:02:38.119136584 +0200
6−+++ wvstreams-4.6.1/crypto/wvx509.cc 2011-05-20 00:02:26.035136589 +0200
7−@@ -1157,7 +1157,7 @@
8−
9− if (ext)
10− {
11−- X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
12−+ X509V3_EXT_METHOD *method = (X509V3_EXT_METHOD *)X509V3_EXT_get(ext);
13− if (!method)
14− {
15− WvDynBuf buf;
16−Index: wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc
17−===================================================================
18−--- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:38.391136584 +0200
19−+++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc 2011-05-20 00:02:35.283136585 +0200
20−@@ -1,8 +1,6 @@
21− #include "wvunixdgsocket.h"
22−-#ifdef MACOS
23− #include <sys/types.h>
24− #include <sys/stat.h>
25−-#endif
26−
27− WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
28− : socketfile(filename)
29−Index: wvstreams-4.6.1/streams/wvatomicfile.cc
30−===================================================================
31−--- wvstreams-4.6.1.orig/streams/wvatomicfile.cc 2011-05-20 00:02:38.223136584 +0200
32−+++ wvstreams-4.6.1/streams/wvatomicfile.cc 2011-05-20 00:02:31.619136587 +0200
33−@@ -10,10 +10,7 @@
34− #include "wvatomicfile.h"
35− #include "wvfileutils.h"
36− #include "wvstrutils.h"
37−-
38−-#ifdef MACOS
39− #include <sys/stat.h>
40−-#endif
41−
42− WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
43− : tmp_file(WvString::null)
pkgs/development/libraries/wvstreams/default.nixdeleted−28
@@ -1,28 +0,0 @@
1−{ stdenv, fetchurl, qt4, dbus, zlib, openssl, readline, perl }:
2−
3−stdenv.mkDerivation {
4− name = "wvstreams-4.6.1";
5−
6− src = fetchurl {
7− url = http://wvstreams.googlecode.com/files/wvstreams-4.6.1.tar.gz;
8− sha256 = "0cvnq3mvh886gmxh0km858aqhx30hpyrfpg1dh6ara9sz3xza0w4";
9− };
10−
11− patches = [ ./compile.patch ];
12−
13− preConfigure = ''
14− find -type f | xargs sed -i 's@/bin/bash@bash@g'
15−
16− sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cc')
17− '';
18−
19− buildInputs = [ qt4 dbus zlib openssl readline perl ];
20−
21− meta = {
22− description = "Network programming library in C++";
23− homepage = http://alumnit.ca/wiki/index.php?page=WvStreams;
24− license = "LGPL";
25− maintainers = [ stdenv.lib.maintainers.marcweber ];
26− platforms = stdenv.lib.platforms.linux;
27− };
28−}
pkgs/top-level/all-packages.nix−2
@@ -10585,8 +10585,6 @@ with pkgs;
1058510585
1058610586 wt = callPackage ../development/libraries/wt { };
1058710587
10588− wvstreams = callPackage ../development/libraries/wvstreams { };
10589−
1059010588 wxGTK = wxGTK28;
1059110589
1059210590 wxGTK28 = callPackage ../development/libraries/wxwidgets/2.8 {