summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2005-02-27 16:13:11 +0000
committerJason Wever <weeve@gentoo.org>2005-02-27 16:13:11 +0000
commit1cc45f0f66e232dceff549a95be41d6f740ed7fc (patch)
treef0b46535f54d3f7662a8cbbe80b1da69b4810742 /net-im/bitlbee/files
parentAdded ~sparc keyword as it was dropped in the version bump. (diff)
downloadgentoo-2-1cc45f0f66e232dceff549a95be41d6f740ed7fc.tar.gz
gentoo-2-1cc45f0f66e232dceff549a95be41d6f740ed7fc.tar.bz2
gentoo-2-1cc45f0f66e232dceff549a95be41d6f740ed7fc.zip
Version bump, resolves bug #83401.
(Portage version: 2.0.51.17)
Diffstat (limited to 'net-im/bitlbee/files')
-rw-r--r--net-im/bitlbee/files/bitlbee-gentoohack.patch32
-rw-r--r--net-im/bitlbee/files/digest-bitlbee-0.921
2 files changed, 33 insertions, 0 deletions
diff --git a/net-im/bitlbee/files/bitlbee-gentoohack.patch b/net-im/bitlbee/files/bitlbee-gentoohack.patch
new file mode 100644
index 000000000000..b39a64922518
--- /dev/null
+++ b/net-im/bitlbee/files/bitlbee-gentoohack.patch
@@ -0,0 +1,32 @@
+diff -Naur bitlbee-0.91/bitlbee.c bitlbee-0.91-gentoohack/bitlbee.c
+--- bitlbee-0.91/bitlbee.c 2004-11-21 15:52:28.000000000 +0100
++++ bitlbee-0.91-gentoohack/bitlbee.c 2004-12-21 17:15:15.000000000 +0100
+@@ -285,6 +285,7 @@
+ account_t *a;
+ FILE *fp;
+ char *hash;
++ int retval;
+
+ /*\
+ * [SH] Nothing should be saved if no password is set, because the
+@@ -344,11 +345,16 @@
+ g_snprintf( path, 511, "%s%s%s", global.conf->configdir, irc->nick, ".accounts~" );
+ fp = fopen( path, "w" );
+ if( !fp ) return( 0 );
+- if( fprintf( fp, "%s", hash ) != strlen( hash ) )
++ retval = fprintf( fp, "%s", hash );
++ if( retval != strlen( hash ) )
+ {
+- irc_usermsg( irc, "fprintf() wrote too little. Disk full?" );
+- fclose( fp );
+- return( 0 );
++ if( retval == 1) {
++ irc_usermsg( irc, "Enabling writing hack for gentoo. This is dangerous and may corrupt your files.");
++ } else {
++ irc_usermsg( irc, "fprintf() wrote too little. Disk full?" );
++ fclose( fp );
++ return( 0 );
++ }
+ }
+ g_free( hash );
+
diff --git a/net-im/bitlbee/files/digest-bitlbee-0.92 b/net-im/bitlbee/files/digest-bitlbee-0.92
new file mode 100644
index 000000000000..c8861218390d
--- /dev/null
+++ b/net-im/bitlbee/files/digest-bitlbee-0.92
@@ -0,0 +1 @@
+MD5 0ffec374b76f376f75b2cab95636a0de bitlbee-0.92.tar.gz 464110