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.

65 lines
2.9 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/glibc23/gcc2_is_ok.patch.cross
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./configure.orig 2002-10-15 02:38:43.000000000 +0200
  23. +++ ./configure 2002-10-15 02:40:02.000000000 +0200
  24. @@ -1492,5 +1492,5 @@
  25. 3.[2-9]*)
  26. ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
  27. - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  28. + *) ac_prog_version="$ac_prog_version, bad (ignore)"; ac_verc_fail=no;;
  29. esac
  30. --- ./Makeconfig.orig 2003-03-08 14:22:36.000000000 +0100
  31. +++ ./Makeconfig 2003-03-08 14:36:02.000000000 +0100
  32. @@ -557,7 +557,7 @@
  33. # The -MP flag tells GCC >= 3.2 (which we now require) to produce dummy
  34. # targets for headers so that removed headers don't break the build.
  35. ifndef +mkdep
  36. -+mkdep = $(CC) -M -MP
  37. ++mkdep = $(CC) -M
  38. endif
  39. # The program that makes Emacs-style TAGS files.
  40. @@ -637,7 +637,7 @@
  41. $(foreach lib,$(libof-$(basename $(@F))) \
  42. $(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \
  43. $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) $(CPPFLAGS-$(basename $(@F)))
  44. -override CFLAGS = -std=gnu99 \
  45. +override CFLAGS = -std=gnu9x \
  46. $(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \
  47. $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) $(CFLAGS-$(@F))
  48. --- ./Makerules.orig 2003-03-08 14:24:11.000000000 +0100
  49. +++ ./Makerules 2003-03-08 14:40:22.000000000 +0100
  50. @@ -131,9 +131,8 @@
  51. # it's used in sysd-rules, below.
  52. $(common-objpfx)%.h $(common-objpfx)%.h.d: $(..)scripts/gen-as-const.awk \
  53. %.sym $(before-compile)
  54. - $(AWK) -f $< $(filter %.sym,$^) \
  55. - | $(CC) -S -o - $(CFLAGS) $(CPPFLAGS) -x c - \
  56. - -MD -MF $(@:.h=.h.d)T -MT '$(@:.h=.h.d) $(@:.h.d=.h)' \
  57. + $(AWK) -f $< $(filter %.sym,$^) | $(CC) -M $(CFLAGS) $(CPPFLAGS) -x c - > $(@:.h=.h.d)T
  58. + $(AWK) -f $< $(filter %.sym,$^) | $(CC) -S $(CFLAGS) $(CPPFLAGS) -x c - \
  59. | sed -n 's/^.*@@@name@@@\([^@]*\)@@@value@@@[^0-9Xxa-fA-F-]*\([0-9Xxa-fA-F-][0-9Xxa-fA-F-]*\).*@@@end@@@.*$$/#define \1 \2/p' > $(@:.h.d=.h)T
  60. sed $(sed-remove-objpfx) $(sed-remove-dotdot) \
  61. $(@:.h=.h.d)T > $(@:.h=.h.d)T2