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.

56 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../net-tools/gcc34.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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. The usual label at end of compound statement fixes for gcc-3.4.
  17. - Rene Rebe <rene@exactcode.de>
  18. --- ./lib/inet_sr.c.vanilla 2004-07-04 20:31:07.000000000 +0200
  19. +++ ./lib/inet_sr.c 2004-07-04 20:31:15.000000000 +0200
  20. @@ -104,7 +104,6 @@
  21. isnet = 1; break;
  22. case 2:
  23. isnet = 0; break;
  24. - default:
  25. }
  26. /* Fill in the other fields. */
  27. --- ./hostname.c.vanilla 2004-07-04 20:31:45.000000000 +0200
  28. +++ ./hostname.c 2004-07-04 20:32:07.000000000 +0200
  29. @@ -97,7 +97,6 @@
  30. case EINVAL:
  31. fprintf(stderr, _("%s: name too long\n"), program_name);
  32. break;
  33. - default:
  34. }
  35. exit(1);
  36. };
  37. @@ -116,7 +115,6 @@
  38. case EINVAL:
  39. fprintf(stderr, _("%s: name too long\n"), program_name);
  40. break;
  41. - default:
  42. }
  43. exit(1);
  44. };
  45. @@ -173,7 +171,6 @@
  46. *p = '\0';
  47. printf("%s\n", hp->h_name);
  48. break;
  49. - default:
  50. }
  51. }