diff options
Diffstat (limited to 'net-fs/davfs2/files')
-rw-r--r-- | net-fs/davfs2/files/davfs2-1.4.5-glibc212.patch | 60 | ||||
-rw-r--r-- | net-fs/davfs2/files/davfs2-1.4.7-destdir.patch | 18 |
2 files changed, 78 insertions, 0 deletions
diff --git a/net-fs/davfs2/files/davfs2-1.4.5-glibc212.patch b/net-fs/davfs2/files/davfs2-1.4.5-glibc212.patch new file mode 100644 index 000000000000..cd7cde3f26a0 --- /dev/null +++ b/net-fs/davfs2/files/davfs2-1.4.5-glibc212.patch @@ -0,0 +1,60 @@ +http://bugs.gentoo.org/332865 +https://savannah.nongnu.org/bugs/?28916 + +--- src/dav_coda.c ++++ src/dav_coda.c +@@ -52,6 +52,9 @@ + #ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif ++#ifdef HAVE_SYS_STAT_H ++#include <sys/stat.h> ++#endif + + #include "defaults.h" + #include "mount_davfs.h" +--- src/dav_fuse.c ++++ src/dav_fuse.c +@@ -41,6 +41,12 @@ + #ifdef HAVE_UNISTD_H + #include <unistd.h> + #endif ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++#ifdef HAVE_SYS_STAT_H ++#include <sys/stat.h> ++#endif + + #include "defaults.h" + #include "mount_davfs.h" +--- src/kernel_interface.c ++++ src/kernel_interface.c +@@ -44,6 +44,12 @@ + #ifdef HAVE_UNISTD_H + #include <unistd.h> + #endif ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++#ifdef HAVE_SYS_STAT_H ++#include <sys/stat.h> ++#endif + + #ifdef HAVE_SYS_MOUNT_H + #include <sys/mount.h> +--- src/webdav.c ++++ src/webdav.c +@@ -47,6 +47,12 @@ + #ifdef HAVE_UNISTD_H + #include <unistd.h> + #endif ++#ifdef HAVE_SYS_TYPES_H ++#include <sys/types.h> ++#endif ++#ifdef HAVE_SYS_STAT_H ++#include <sys/stat.h> ++#endif + + #include <ne_alloc.h> + #include <ne_auth.h> diff --git a/net-fs/davfs2/files/davfs2-1.4.7-destdir.patch b/net-fs/davfs2/files/davfs2-1.4.7-destdir.patch new file mode 100644 index 000000000000..40dbd9585a23 --- /dev/null +++ b/net-fs/davfs2/files/davfs2-1.4.7-destdir.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/384703 +Patch by Jeroen Roovers + +https://savannah.nongnu.org/support/?108104 + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -51,8 +51,8 @@ + chmod u+s $(DESTDIR)$(sbindir)/mount.davfs; \ + if test "$(sbindir)" != "$(ssbindir)"; then \ + $(mkinstalldirs) $(DESTDIR)$(ssbindir); \ +- $(LN_S) -f $(DESTDIR)$(sbindir)/mount.davfs $(DESTDIR)$(ssbindir)/mount.davfs; \ +- $(LN_S) -f $(DESTDIR)$(sbindir)/umount.davfs $(DESTDIR)$(ssbindir)/umount.davfs; \ ++ $(LN_S) -f $(sbindir)/mount.davfs $(DESTDIR)$(ssbindir)/mount.davfs; \ ++ $(LN_S) -f $(sbindir)/umount.davfs $(DESTDIR)$(ssbindir)/umount.davfs; \ + fi + + uninstall-hook: |