mirror of the now-defunct rocklinux.org
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.

73 lines
1.7 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/tcpdump/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -ruN tcpdump-3.8.3/configure tcpdump-3.8.3-new/configure
  20. --- tcpdump-3.8.3/configure 2004-03-28 23:06:09.000000000 +0200
  21. +++ tcpdump-3.8.3-new/configure 2004-05-15 23:20:01.829813808 +0200
  22. @@ -8879,6 +8879,9 @@
  23. int
  24. main ()
  25. {
  26. + return_pcap_debug();
  27. + return 0;
  28. +}
  29. int
  30. return_pcap_debug(void)
  31. @@ -8887,10 +8890,8 @@
  32. return pcap_debug;
  33. }
  34. +;
  35. - ;
  36. - return 0;
  37. -}
  38. _ACEOF
  39. rm -f conftest.$ac_objext conftest$ac_exeext
  40. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  41. @@ -8938,18 +8939,19 @@
  42. int
  43. main ()
  44. {
  45. + return_yydebug();
  46. + return 0;
  47. +}
  48. - int
  49. - return_yydebug(void)
  50. - {
  51. - extern int yydebug;
  52. -
  53. - return yydebug;
  54. - }
  55. +int
  56. +return_yydebug(void)
  57. +{
  58. + extern int yydebug;
  59. - ;
  60. - return 0;
  61. + return yydebug;
  62. }
  63. +;
  64. +
  65. _ACEOF
  66. rm -f conftest.$ac_objext conftest$ac_exeext
  67. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5