From: Simon Stelling Date: Fri, 17 Feb 2006 16:43:19 +0000 (+0000) Subject: no need to gzip smallish patches X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd38d0c46bfdcfe0ba62d412faadeca4439a6de2;p=gentoo.git no need to gzip smallish patches Package-Manager: portage-2.1_pre4-r1 --- diff --git a/net-nntp/gnewspost/ChangeLog b/net-nntp/gnewspost/ChangeLog index 9ffc40230cb3..b8d13668886e 100644 --- a/net-nntp/gnewspost/ChangeLog +++ b/net-nntp/gnewspost/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-nntp/gnewspost -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/gnewspost/ChangeLog,v 1.6 2005/09/13 20:14:46 metalgod Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-nntp/gnewspost/ChangeLog,v 1.7 2006/02/17 16:43:19 blubb Exp $ + + 17 Feb 2006; Simon Stelling + +files/session.c-fix_errno.patch, -files/session.c-fix_errno.patch.gz, + gnewspost-0.6.ebuild: + no need to gzip smallish patches 13 Sep 2005; Luis Medinas gnewspost-0.6.ebuild: Added ~amd64 keywords. Closes bug #104954. diff --git a/net-nntp/gnewspost/Manifest b/net-nntp/gnewspost/Manifest index 70b5de5201db..29cf885ce0ce 100644 --- a/net-nntp/gnewspost/Manifest +++ b/net-nntp/gnewspost/Manifest @@ -1,15 +1,15 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 eaeb30fd042e7d8d70da77dd5a3df380 ChangeLog 2163 -MD5 61676cdb802637dcb545271a6548592c gnewspost-0.6.ebuild 1093 -MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161 +MD5 e6db1b15cf5e9e8707f1b168c158d4ac ChangeLog 2342 +RMD160 3578a4acd51bbcd6908158247d9bb7481f36a27c ChangeLog 2342 +SHA256 58d36d8d299ec0893b3ab87f631cabb60f5d6c8bb187e028aa6426f070e51f9e ChangeLog 2342 MD5 3506642e9faf221b0d2d3e9a3713479f files/digest-gnewspost-0.6 65 -MD5 6607318912624e017104b28f8525b9cc files/session.c-fix_errno.patch.gz 590 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFDJ0FnwUpWvClEHQoRAmczAJ0eTq1ikUJ80TM4rdk7Q0uBHkLlEACeK/YY -oIv8VfGnDHii+wtfhQ0LgOo= -=HHGA ------END PGP SIGNATURE----- +RMD160 1bda9dffaa6a449c7837c83c55ea26cd254e31f9 files/digest-gnewspost-0.6 65 +SHA256 01a8e899c662bed9456e84953daffa7a4cd82543fc0097366bf3d25578c63914 files/digest-gnewspost-0.6 65 +MD5 23b9aade5e170c740988297765544bdb files/session.c-fix_errno.patch 1069 +RMD160 ce44e761c798a000361ec351709d4efbc3c89875 files/session.c-fix_errno.patch 1069 +SHA256 2619b92ca518af9db6d755c222acae42d71d70e8c03fc869099eabef0b168d44 files/session.c-fix_errno.patch 1069 +MD5 585c585aca1bfc6e5f48f57362e8160f gnewspost-0.6.ebuild 1087 +RMD160 1790d68b74931ab8a28837a5a02adc6f04b22bc4 gnewspost-0.6.ebuild 1087 +SHA256 512f075e393ca56564ea787e58833e7dfb1735dc42d2dd8c0efaff6429d15300 gnewspost-0.6.ebuild 1087 +MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161 +RMD160 f1947f39ceb22269275e1b59023c4eadcdbc1a15 metadata.xml 161 +SHA256 8031b551b7913d7c088a55811814db35dad801454d369d05ff365d33cd722153 metadata.xml 161 diff --git a/net-nntp/gnewspost/files/session.c-fix_errno.patch b/net-nntp/gnewspost/files/session.c-fix_errno.patch new file mode 100644 index 000000000000..926f74656294 --- /dev/null +++ b/net-nntp/gnewspost/files/session.c-fix_errno.patch @@ -0,0 +1,38 @@ +--- session.c.dist 2003-08-02 10:36:27.000000000 -0400 ++++ session.c 2003-08-02 10:34:10.000000000 -0400 +@@ -36,14 +36,13 @@ + #include + #include + #include ++#include + #include "gnewspost.h" + #include "prefs.h" + #include "app.h" + #include "profile.h" + #include "session.h" + +-extern int errno; +- + static void _ok_button_clicked_cb(GtkWidget *widget, gpointer data); + static gboolean _session_dlg_close_cb(GtkWidget *widget, gpointer data); + static void _zero_file_tb_clicked_cb(GtkWidget *widget, gpointer data); +@@ -437,7 +436,7 @@ + static gchar * + _make_zero_file(void) + { +- gchar *fname, *txt; ++ gchar *fname = "tmpgnewspostXXXXXX", *txt; + int fd; + + if (!gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w_zero_file_enabled_tb))) +@@ -447,8 +446,8 @@ + if (!strcmp(txt, "")) + return NULL; + +- fname = g_strdup(tmpnam(NULL)); +- if ((fd = open(fname, O_WRONLY|O_CREAT)) == -1) { ++ fd = mkstemp(fname); ++ if( fd == -1 ) { + g_warning("Can't make zero-file: %s", strerror(errno)); + g_free(fname); + return NULL; diff --git a/net-nntp/gnewspost/files/session.c-fix_errno.patch.gz b/net-nntp/gnewspost/files/session.c-fix_errno.patch.gz deleted file mode 100644 index a2ad1d0eb502..000000000000 Binary files a/net-nntp/gnewspost/files/session.c-fix_errno.patch.gz and /dev/null differ diff --git a/net-nntp/gnewspost/gnewspost-0.6.ebuild b/net-nntp/gnewspost/gnewspost-0.6.ebuild index cc83fde1882a..07cc605820a3 100644 --- a/net-nntp/gnewspost/gnewspost-0.6.ebuild +++ b/net-nntp/gnewspost/gnewspost-0.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-nntp/gnewspost/gnewspost-0.6.ebuild,v 1.5 2005/09/13 20:14:46 metalgod Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nntp/gnewspost/gnewspost-0.6.ebuild,v 1.6 2006/02/17 16:43:19 blubb Exp $ inherit eutils @@ -24,7 +24,7 @@ RDEPEND="${DEPEND} src_unpack() { unpack ${A} cd ${S}/src - epatch ${FILESDIR}/session.c-fix_errno.patch.gz + epatch ${FILESDIR}/session.c-fix_errno.patch } src_compile() {