OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.3 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../dietlibc/patches/pkg_iptables.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. diff -ruN iptables-1.3.2.orig/Makefile iptables-1.3.2/Makefile
  17. --- iptables-1.3.2.orig/Makefile 2005-07-10 16:01:40.000000000 +0200
  18. +++ iptables-1.3.2/Makefile 2005-07-19 12:19:41.000000000 +0200
  19. @@ -103,7 +103,7 @@
  20. STATIC_LIBS = extensions/libext.a
  21. STATIC6_LIBS = extensions/libext6.a
  22. LDFLAGS = -static
  23. -LDLIBS =
  24. +LDLIBS =
  25. endif
  26. .PHONY: default
  27. diff -ruN iptables-1.3.2.orig/include/libiptc/ipt_kernel_headers.h iptables-1.3.2/include/libiptc/ipt_kernel_headers.h
  28. --- iptables-1.3.2.orig/include/libiptc/ipt_kernel_headers.h 2004-10-10 11:56:23.000000000 +0200
  29. +++ iptables-1.3.2/include/libiptc/ipt_kernel_headers.h 2005-07-19 12:17:03.000000000 +0200
  30. @@ -5,7 +5,7 @@
  31. #include <limits.h>
  32. -#if defined(__GLIBC__) && __GLIBC__ == 2
  33. +#if (defined(__GLIBC__) && __GLIBC__ == 2) || defined(__dietlibc__)
  34. #include <netinet/ip.h>
  35. #include <netinet/in.h>
  36. #include <netinet/ip_icmp.h>
  37. diff -ruN iptables-1.3.2.orig/iptables-restore.c iptables-1.3.2/iptables-restore.c
  38. --- iptables-1.3.2.orig/iptables-restore.c 2005-06-24 18:34:19.000000000 +0200
  39. +++ iptables-1.3.2/iptables-restore.c 2005-07-19 12:17:03.000000000 +0200
  40. @@ -8,7 +8,7 @@
  41. */
  42. #include <getopt.h>
  43. -#include <sys/errno.h>
  44. +#include <errno.h>
  45. #include <string.h>
  46. #include <stdio.h>
  47. #include <stdlib.h>
  48. diff -ruN iptables-1.3.2.orig/iptables-save.c iptables-1.3.2/iptables-save.c
  49. --- iptables-1.3.2.orig/iptables-save.c 2005-04-15 11:30:16.000000000 +0200
  50. +++ iptables-1.3.2/iptables-save.c 2005-07-19 12:17:03.000000000 +0200
  51. @@ -6,7 +6,7 @@
  52. *
  53. */
  54. #include <getopt.h>
  55. -#include <sys/errno.h>
  56. +#include <errno.h>
  57. #include <stdio.h>
  58. #include <fcntl.h>
  59. #include <stdlib.h>