Advertisement
Guest User

patches net-tools+afpfs-ng

a guest
Jan 25th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. cat net-tools/patches-4.9/999-fix.patch
  2. --- a/iptunnel.c 2019-07-03 22:57:18.799904218 +0300
  3. +++ b/iptunnel.c 2019-07-03 22:57:02.696649694 +0300
  4. @@ -26,15 +26,15 @@
  5. #include <sys/socket.h>
  6. #include <sys/ioctl.h>
  7. #include <netinet/in.h>
  8. -#include <netinet/ip.h>
  9. +//#include <netinet/ip.h>
  10. #include <arpa/inet.h>
  11. -#if defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))
  12. +//#if defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))
  13. #include <net/if.h>
  14. #include <net/if_arp.h>
  15. -#else
  16. -#include <linux/if.h>
  17. -#include <linux/if_arp.h>
  18. -#endif
  19. +//#else
  20. +//#include <linux/if.h>
  21. +//#include <linux/if_arp.h>
  22. +//#endif
  23. #include <linux/types.h>
  24. #include <linux/if_tunnel.h>
  25.  
  26. cat afpfs-ng/patches-4.9/999-fix.patch
  27. --- a/fuse/fuse_int.c 2019-07-11 12:38:38.068142306 +0300
  28. +++ b/fuse/fuse_int.c 2019-07-11 12:38:22.880236024 +0300
  29. @@ -25,8 +25,8 @@
  30. #include <string.h>
  31. #include <errno.h>
  32. #ifdef __linux__
  33. -#include <asm/fcntl.h>
  34. -#else
  35. +/* #include <asm/fcntl.h>
  36. +#else */
  37. #include <fcntl.h>
  38. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement