summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice van der Pot <griffon26@gentoo.org>2007-05-11 19:49:06 +0000
committerMaurice van der Pot <griffon26@gentoo.org>2007-05-11 19:49:06 +0000
commit395595c8252978e3c9a9076076064e8e949f643e (patch)
tree283114e1bd168182471dc68273644853d5e8e47c /net-fs/ncpfs/files
parentDont run make bootstrap for src_test, it deletes ocamlopt, upstream does not ... (diff)
downloadgentoo-2-395595c8252978e3c9a9076076064e8e949f643e.tar.gz
gentoo-2-395595c8252978e3c9a9076076064e8e949f643e.tar.bz2
gentoo-2-395595c8252978e3c9a9076076064e8e949f643e.zip
Added missing includes to ncpfs-2.2.6 fixing compile errors (bug #157462 and #178090)
(Portage version: 2.1.2.5)
Diffstat (limited to 'net-fs/ncpfs/files')
-rw-r--r--net-fs/ncpfs/files/ncpfs-2.2.6-missing-includes.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-fs/ncpfs/files/ncpfs-2.2.6-missing-includes.patch b/net-fs/ncpfs/files/ncpfs-2.2.6-missing-includes.patch
new file mode 100644
index 000000000000..11a4f87add48
--- /dev/null
+++ b/net-fs/ncpfs/files/ncpfs-2.2.6-missing-includes.patch
@@ -0,0 +1,22 @@
+diff -ruN ncpfs-2.2.6/contrib/pam/pam_ncp_auth.c ncpfs-2.2.6-fixed/contrib/pam/pam_ncp_auth.c
+--- ncpfs-2.2.6/contrib/pam/pam_ncp_auth.c 2005-01-27 18:35:59.000000000 +0100
++++ ncpfs-2.2.6-fixed/contrib/pam/pam_ncp_auth.c 2007-05-11 21:38:05.143474750 +0200
+@@ -257,6 +257,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <syslog.h>
+ #include <unistd.h>
+ #include <pwd.h>
+ #include <grp.h>
+diff -ruN ncpfs-2.2.6/sutil/ncpm_common.c ncpfs-2.2.6-fixed/sutil/ncpm_common.c
+--- ncpfs-2.2.6/sutil/ncpm_common.c 2005-01-27 18:35:59.000000000 +0100
++++ ncpfs-2.2.6-fixed/sutil/ncpm_common.c 2007-05-11 21:38:29.609003750 +0200
+@@ -82,6 +82,7 @@
+
+ #include "ncpm_common.h"
+
++#include <stddef.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <signal.h>