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.

47 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../uclibc/160-unifdef_fix.patch
  5. # Copyright (C) 2009 The OpenSDE 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. https://dev.openwrt.org/browser/trunk/toolchain/uClibc/patches-0.9.30.1/160-unifdef_fix.patch
  17. --- ./extra/scripts/unifdef.c.orig 2008-04-28 01:10:00.000000000 +0200
  18. +++ ./extra/scripts/unifdef.c 2009-08-25 15:20:08.000000000 +0200
  19. @@ -206,7 +206,7 @@ static void done(void);
  20. static void error(const char *);
  21. static int findsym(const char *);
  22. static void flushline(bool);
  23. -static Linetype getline(void);
  24. +static Linetype get_line(void);
  25. static Linetype ifeval(const char **);
  26. static void ignoreoff(void);
  27. static void ignoreon(void);
  28. @@ -512,7 +512,7 @@ process(void)
  29. for (;;) {
  30. linenum++;
  31. - lineval = getline();
  32. + lineval = get_line();
  33. trans_table[ifstate[depth]][lineval]();
  34. debug("process %s -> %s depth %d",
  35. linetype_name[lineval],
  36. @@ -526,7 +526,7 @@ process(void)
  37. * help from skipcomment().
  38. */
  39. static Linetype
  40. -getline(void)
  41. +get_line(void)
  42. {
  43. const char *cp;
  44. int cursym;