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.

66 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/kasc/openh323/bison-fix.patch.pwlib
  9. # ROCK Linux is Copyright (C) 1998 - 2004 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. --- ./tools/asnparser/asnparser.dsp 2002-10-08 14:41:52.000000000 +0200
  20. +++ ./tools/asnparser/asnparser.dsp 2003-04-04 12:20:46.000000000 +0200
  21. @@ -108,7 +108,7 @@
  22. InputName=asn_grammar
  23. BuildCmds= \
  24. - bison -t -v -d $(InputName).y \
  25. + bison -y -t -v -d $(InputName).y \
  26. copy $(InputName)_tab.c $(InputName).cxx \
  27. copy $(InputName)_tab.h $(InputName).h \
  28. @@ -127,7 +127,7 @@
  29. InputName=asn_grammar
  30. BuildCmds= \
  31. - bison -t -v -d $(InputName).y \
  32. + bison -y -t -v -d $(InputName).y \
  33. copy $(InputName)_tab.c $(InputName).cxx \
  34. copy $(InputName)_tab.h $(InputName).h \
  35. --- ./tools/asnparser/parser.patch 2003-04-04 12:42:10.000000000 +0200
  36. +++ ./tools/asnparser/parser.patch 2003-04-04 12:40:15.000000000 +0200
  37. @@ -0,0 +1,11 @@
  38. +--- ./asn_grammar.cxx 2003-04-04 12:22:16.000000000 +0200
  39. ++++ ./asn_grammar.cxx 2003-04-04 12:39:11.000000000 +0200
  40. +@@ -5045,7 +5045,7 @@
  41. + #if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
  42. + __attribute__ ((__unused__))
  43. + #endif
  44. +-
  45. ++ ;
  46. +
  47. + goto yyerrlab2;
  48. +
  49. --- ./tools/asnparser/Makefile~ 2002-01-27 01:07:10.000000000 +0100
  50. +++ ./tools/asnparser/Makefile 2003-04-04 12:45:12.000000000 +0200
  51. @@ -55,8 +55,9 @@
  52. asn_grammar.cxx: asn_grammar.y
  53. @if [ ! -d $(OBJDIR) ] ; then mkdir $(OBJDIR) ; fi
  54. - bison -t -v -d -o $* $<
  55. + bison -y -t -v -d -o $* $<
  56. mv $* $*.cxx
  57. + patch -p 1 <parser.patch
  58. asn_lex.cxx: asn_lex.l
  59. flex -t $< > $@