summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-07-07 01:19:17 -0400
committerMark H Weaver <mhw@netris.org>2014-07-07 17:17:18 -0400
commitfa40e4d4ec92222fa68cb9694812a310344cc4f0 (patch)
tree25da6d4853211e7c4438dd79829a016a3afa4795 /gnu
parent59c51be2900b896d87b2393faecfef732d015e34 (diff)
gnu: bitlbee: Upgrade to 3.2.2.
* gnu/packages/messaging.scm (bitlbee): Upgrade to 3.2.2. Remove patches. Use 'libotr' instead of 'libotr-3'. * gnu/packages/patches/bitlbee-fix-tests.patch: Remove file. * gnu/packages/patches/bitlbee-memset-fix.patch: Remove file. * gnu-system.am (dist_patch_DATA): Remove patches.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/messaging.scm8
-rw-r--r--gnu/packages/patches/bitlbee-fix-tests.patch33
-rw-r--r--gnu/packages/patches/bitlbee-memset-fix.patch15
3 files changed, 3 insertions, 53 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index c1a755ef841..7e2056c3473 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -77,20 +77,18 @@ providing:
77(define-public bitlbee 77(define-public bitlbee
78 (package 78 (package
79 (name "bitlbee") 79 (name "bitlbee")
80 (version "3.2.1") 80 (version "3.2.2")
81 (source (origin 81 (source (origin
82 (method url-fetch) 82 (method url-fetch)
83 (uri (string-append "http://get.bitlbee.org/src/bitlbee-" 83 (uri (string-append "http://get.bitlbee.org/src/bitlbee-"
84 version ".tar.gz")) 84 version ".tar.gz"))
85 (sha256 85 (sha256
86 (base32 "0n8g5452i5qap43zxb83gxp01d48psf6rr3k1q7z6a3dgpfi3x00")) 86 (base32 "13jmcxxgli82wb2n4hs091159xk8rgh7nb02f478lgpjh6996f5s"))))
87 (patches (list (search-patch "bitlbee-memset-fix.patch")
88 (search-patch "bitlbee-fix-tests.patch")))))
89 (build-system gnu-build-system) 87 (build-system gnu-build-system)
90 (native-inputs `(("pkg-config" ,pkg-config) 88 (native-inputs `(("pkg-config" ,pkg-config)
91 ("check" ,check))) 89 ("check" ,check)))
92 (inputs `(("glib" ,glib) 90 (inputs `(("glib" ,glib)
93 ("libotr" ,libotr-3) 91 ("libotr" ,libotr)
94 ("gnutls" ,gnutls) 92 ("gnutls" ,gnutls)
95 ("zlib" ,zlib) ; Needed to satisfy "pkg-config --exists gnutls" 93 ("zlib" ,zlib) ; Needed to satisfy "pkg-config --exists gnutls"
96 ("python" ,python-2) 94 ("python" ,python-2)
diff --git a/gnu/packages/patches/bitlbee-fix-tests.patch b/gnu/packages/patches/bitlbee-fix-tests.patch
deleted file mode 100644
index 52bb6c605d9..00000000000
--- a/gnu/packages/patches/bitlbee-fix-tests.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1Pass the correct number of arguments to 'nick_strip' and 'nick_ok' in tests.
2
3Patch by Mark H Weaver <mhw@netris.org>.
4
5--- bitlbee/tests/check_nick.c.orig 2013-11-27 17:54:54.000000000 -0500
6+++ bitlbee/tests/check_nick.c 2014-03-05 23:41:45.761230468 -0500
7@@ -30,7 +30,7 @@ START_TEST(test_nick_strip)
8 for (i = 0; get[i]; i++) {
9 char copy[60];
10 strcpy(copy, get[i]);
11- nick_strip(copy);
12+ nick_strip(NULL, copy);
13 fail_unless (strcmp(copy, expected[i]) == 0,
14 "(%d) nick_strip broken: %s -> %s (expected: %s)",
15 i, get[i], copy, expected[i]);
16@@ -45,7 +45,7 @@ START_TEST(test_nick_ok_ok)
17 int i;
18
19 for (i = 0; nicks[i]; i++) {
20- fail_unless (nick_ok(nicks[i]) == 1,
21+ fail_unless (nick_ok(NULL, nicks[i]) == 1,
22 "nick_ok() failed: %s", nicks[i]);
23 }
24 }
25@@ -58,7 +58,7 @@ START_TEST(test_nick_ok_notok)
26 int i;
27
28 for (i = 0; nicks[i]; i++) {
29- fail_unless (nick_ok(nicks[i]) == 0,
30+ fail_unless (nick_ok(NULL, nicks[i]) == 0,
31 "nick_ok() succeeded for invalid: %s", nicks[i]);
32 }
33 }
diff --git a/gnu/packages/patches/bitlbee-memset-fix.patch b/gnu/packages/patches/bitlbee-memset-fix.patch
deleted file mode 100644
index 1d801e00706..00000000000
--- a/gnu/packages/patches/bitlbee-memset-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Fix the size argument to 'memset'.
2
3Patch by Mark H Weaver <mhw@netris.org>.
4
5--- bitlbee/lib/md5.c.orig 2013-11-27 17:54:54.000000000 -0500
6+++ bitlbee/lib/md5.c 2014-03-05 21:39:04.739746093 -0500
7@@ -159,7 +159,7 @@ void md5_finish(struct MD5Context *ctx,
8 ctx->buf[2] = cvt32(ctx->buf[2]);
9 ctx->buf[3] = cvt32(ctx->buf[3]);
10 memcpy(digest, ctx->buf, 16);
11- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
12+ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
13 }
14
15 void md5_finish_ascii(struct MD5Context *context, char *ascii)