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.

50 lines
2.2 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/glibc/glibc23/gcc2_is_ok.patch.cross
  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. Glibc enforces the useage of gcc-3.x - unfortunately for header generation
  20. dufing a cross toolchain build gcc-2 is also pretty fine. So flatten gcc-3
  21. only assumptions for cross builds.
  22. - Rene Rebe <rene@exactcode.de>
  23. diff -u glibc-2.3.4-2004-05-01/Makeconfig glibc-2.3.4-2004-05-01-fixed/Makeconfig
  24. --- glibc-2.3.4-2004-05-01/Makeconfig 2004-04-18 00:38:24.000000000 +0200
  25. +++ glibc-2.3.4-2004-05-01-fixed/Makeconfig 2004-05-02 19:52:24.000000000 +0200
  26. @@ -580,7 +580,7 @@
  27. # The -MP flag tells GCC >= 3.2 (which we now require) to produce dummy
  28. # targets for headers so that removed headers don't break the build.
  29. ifndef +mkdep
  30. -+mkdep = $(CC) -M -MP
  31. ++mkdep = $(CC) -M
  32. endif
  33. # The program that makes Emacs-style TAGS files.
  34. diff -u glibc-2.3.4-2004-05-01/configure glibc-2.3.4-2004-05-01-fixed/configure
  35. --- glibc-2.3.4-2004-05-01/configure 2004-04-18 00:39:58.000000000 +0200
  36. +++ glibc-2.3.4-2004-05-01-fixed/configure 2004-05-02 19:50:10.000000000 +0200
  37. @@ -4044,7 +4044,7 @@
  38. '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
  39. 3.[2-9]*)
  40. ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
  41. - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  42. + *) ac_prog_version="$ac_prog_version, bad (ignore)"; ac_verc_fail=no;;
  43. esac
  44. echo "$as_me:$LINENO: result: $ac_prog_version" >&5