www-client/prozilla: add patches

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2353 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2010-08-31 19:54:56 +00:00
parent 743c34942c
commit ce1defe4fb
13 changed files with 427 additions and 25 deletions

View File

@@ -0,0 +1,21 @@
Submitted By: Your Name (your at email dot address)
Date: 2010-08-29
Initial Package Version: 2.0.4
Origin: http://github.com/screwgoth/prozilla-dev-2.5/commit/5c5600e816124f84ddedaa09306377362504642c
Upstream Status: dead
Description: Make sure that home_dir is never empty. If all else fails, pwd is
home_dir.
diff -Naur prozilla-2.0.4.orig/libprozilla/src/main.c prozilla-2.0.4/libprozilla/src/main.c
--- prozilla-2.0.4.orig/libprozilla/src/main.c 2010-08-29 12:49:09.000000000 +0000
+++ prozilla-2.0.4/libprozilla/src/main.c 2010-08-29 15:46:41.000000000 +0000
@@ -101,6 +101,9 @@
sprintf(netrc_file, "%s/%s", libprozrtinfo.home_dir, ".netrc");
libprozrtinfo.netrc_list = parse_netrc(netrc_file);
+ } else {
+ /* Make sure home dir is never NULL */
+ libprozrtinfo.home_dir = kstrdup(".");
}
libprozrtinfo.dl_dir = kstrdup(".");