xawtv-3.95.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. diff -uNr xawtv-3.100.orig/common/channel.c xawtv-3.100/common/channel.c
  2. --- xawtv-3.100.orig/common/channel.c 2011-02-22 07:56:44.000000000 +0200
  3. +++ xawtv-3.100/common/channel.c 2011-05-07 15:35:34.948000119 +0300
  4. @@ -181,6 +181,9 @@
  5. { -1, NULL, },
  6. };
  7. +extern struct STRTAB booltab[];
  8. +extern struct STRTAB captab[];
  9. +
  10. /* just malloc memory for a new channel ... */
  11. struct CHANNEL*
  12. add_channel(char *name)
  13. diff -uNr xawtv-3.100.orig/common/channel.h xawtv-3.100/common/channel.h
  14. --- xawtv-3.100.orig/common/channel.h 2011-02-22 07:56:44.000000000 +0200
  15. +++ xawtv-3.100/common/channel.h 2011-05-07 15:36:33.398000163 +0300
  16. @@ -90,8 +90,5 @@
  17. /* ----------------------------------------------------------------------- */
  18. -extern struct STRTAB booltab[];
  19. -extern struct STRTAB captab[];
  20. -
  21. int str_to_int(char *str, struct STRTAB *tab);
  22. const char* int_to_str(int n, struct STRTAB *tab);
  23. diff -uNr xawtv-3.100.orig/common/commands.c xawtv-3.100/common/commands.c
  24. --- xawtv-3.100.orig/common/commands.c 2011-02-22 07:56:44.000000000 +0200
  25. +++ xawtv-3.100/common/commands.c 2011-05-07 15:37:07.600000117 +0300
  26. @@ -162,6 +162,9 @@
  27. static int keypad_state = -1;
  28. +extern struct STRTAB booltab[];
  29. +extern struct STRTAB captab[];
  30. +
  31. /* ----------------------------------------------------------------------- */
  32. void add_attrs(struct ng_attribute *new)