diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2006-01-28 05:40:03 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2006-01-28 05:40:03 +0000 |
commit | 0c1eff3bb674f064763817b8aab4674065d1b8b9 (patch) | |
tree | f6ba4977b76bb1924014a81d7a6e787a02a53d81 /net-fs/ncpfs/files | |
parent | Fix ordering of modular X deps. We want to pull in modular by default when av... (diff) | |
download | historical-0c1eff3bb674f064763817b8aab4674065d1b8b9.tar.gz historical-0c1eff3bb674f064763817b8aab4674065d1b8b9.tar.bz2 historical-0c1eff3bb674f064763817b8aab4674065d1b8b9.zip |
Add patch to fix compilation with gcc-4.0; bug #118914
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'net-fs/ncpfs/files')
-rw-r--r-- | net-fs/ncpfs/files/ncpfs-2.2.6-gcc4.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-gcc4.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-gcc4.patch new file mode 100644 index 000000000000..7223b232c60a --- /dev/null +++ b/net-fs/ncpfs/files/ncpfs-2.2.6-gcc4.patch @@ -0,0 +1,36 @@ +diff -ur ncpfs-2.2.6-orig/lib/ncplib.c ncpfs-2.2.6/lib/ncplib.c +--- ncpfs-2.2.6-orig/lib/ncplib.c 2006-01-13 16:55:05.000000000 -0500 ++++ ncpfs-2.2.6/lib/ncplib.c 2006-01-13 16:56:08.000000000 -0500 +@@ -2421,7 +2421,7 @@ + int i = 1; + NWCCODE nwerr; + +- static int get_argument(int arg_no, const char **target) { ++ int get_argument(int arg_no, const char **target) { + int count = 1; + + if (target != NULL) { +diff -ur ncpfs-2.2.6-orig/util/nwpjmv.c ncpfs-2.2.6/util/nwpjmv.c +--- ncpfs-2.2.6-orig/util/nwpjmv.c 2006-01-13 16:55:05.000000000 -0500 ++++ ncpfs-2.2.6/util/nwpjmv.c 2006-01-13 16:55:50.000000000 -0500 +@@ -131,7 +131,7 @@ + char *s = q->command; + char *target_end = target + target_size; + +- static void add_string(const char *str) ++ void add_string(const char *str) + { + int len = strlen(str); + if (target + len + 1 > target_end) +diff -ur ncpfs-2.2.6-orig/util/pserver.c ncpfs-2.2.6/util/pserver.c +--- ncpfs-2.2.6-orig/util/pserver.c 2006-01-13 16:55:05.000000000 -0500 ++++ ncpfs-2.2.6/util/pserver.c 2006-01-13 16:55:36.000000000 -0500 +@@ -153,7 +153,7 @@ + char *s = q->command; + char *target_end = target + target_size; + +- static void add_string(const char *str) ++ void add_string(const char *str) + { + int len = strlen(str); + if (target + len + 1 > target_end) |