summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-12-03 15:53:58 +0000
committerCédric Krier <cedk@gentoo.org>2006-12-03 15:53:58 +0000
commit5ada5549fd5e7e4114330f02461ddf1294ff0307 (patch)
tree87f771b85587cb0c2d761439786aae8291fe5623 /net-news/snownews
parentDon't need to reconf, since the patch that requires it is gone. This fixes (diff)
downloadgentoo-2-5ada5549fd5e7e4114330f02461ddf1294ff0307.tar.gz
gentoo-2-5ada5549fd5e7e4114330f02461ddf1294ff0307.tar.bz2
gentoo-2-5ada5549fd5e7e4114330f02461ddf1294ff0307.zip
Fix bug #121805
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-news/snownews')
-rw-r--r--net-news/snownews/ChangeLog6
-rw-r--r--net-news/snownews/files/snownews-1.5.7-stdint.patch17
-rw-r--r--net-news/snownews/snownews-1.5.7-r1.ebuild5
3 files changed, 26 insertions, 2 deletions
diff --git a/net-news/snownews/ChangeLog b/net-news/snownews/ChangeLog
index 72e6f43ae0aa..c78430d86a8f 100644
--- a/net-news/snownews/ChangeLog
+++ b/net-news/snownews/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-news/snownews
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/ChangeLog,v 1.6 2006/12/03 15:27:11 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/ChangeLog,v 1.7 2006/12/03 15:53:58 cedk Exp $
+
+ 03 Dec 2006; Cedric Krier <cedk@gentoo.org>
+ +files/snownews-1.5.7-stdint.patch, snownews-1.5.7-r1.ebuild:
+ Fix bug #121805
*snownews-1.5.7-r1 (03 Dec 2006)
diff --git a/net-news/snownews/files/snownews-1.5.7-stdint.patch b/net-news/snownews/files/snownews-1.5.7-stdint.patch
new file mode 100644
index 000000000000..f6c81e79925a
--- /dev/null
+++ b/net-news/snownews/files/snownews-1.5.7-stdint.patch
@@ -0,0 +1,17 @@
+diff -ru snownews-1.5.7~/md5.h snownews-1.5.7/md5.h
+--- snownews-1.5.7~/md5.h 2006-12-03 16:36:54.000000000 +0100
++++ snownews-1.5.7/md5.h 2006-12-03 16:47:23.000000000 +0100
+@@ -31,11 +31,8 @@
+ #ifndef MD5_H
+ #define MD5_H
+
+-#ifdef __alpha
+-typedef unsigned int uint32;
+-#else
+-typedef unsigned long uint32;
+-#endif
++#include <stdint.h>
++typedef uint32_t uint32;
+
+ struct MD5Context {
+ uint32 buf[4];
diff --git a/net-news/snownews/snownews-1.5.7-r1.ebuild b/net-news/snownews/snownews-1.5.7-r1.ebuild
index aceec669dbe8..295f700a7c23 100644
--- a/net-news/snownews/snownews-1.5.7-r1.ebuild
+++ b/net-news/snownews/snownews-1.5.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/snownews-1.5.7-r1.ebuild,v 1.1 2006/12/03 15:27:11 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/snownews-1.5.7-r1.ebuild,v 1.2 2006/12/03 15:53:58 cedk Exp $
inherit eutils toolchain-funcs
@@ -36,6 +36,9 @@ src_unpack() {
sed -i -e 's/$(INSTALL) -s/$(INSTALL)/' \
Makefile
+
+ #Bug #121805
+ epatch "${FILESDIR}"/${P}-stdint.patch
}
src_compile() {