0002-libcuefile-fedora-c99.patch 968 B

123456789101112131415161718192021222324252627
  1. From 7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19 Mon Sep 17 00:00:00 2001
  2. From: DJ Delorie <dj@redhat.com>
  3. Date: Thu, 27 Apr 2023 17:24:58 -0400
  4. Subject: [PATCH] Fix C99 compatibility issue
  5. Related to:
  6. <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  7. <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
  8. See Also https://bugzilla.redhat.com/show_bug.cgi?id=2190307
  9. Signed-off-by: DJ Delorie <dj@redhat.com>
  10. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
  11. Upstream: https://src.fedoraproject.org/rpms/libcuefile/blob/7dd8752f5aa2dccbaccb4c28a23f659df3bc0d19/f/libcuefile-fedora-c99.patch
  12. ---
  13. diff -rup a/src/cue_parse.c b/src/cue_parse.c
  14. --- a/src/cue_parse.c 2011-06-18 07:28:43.000000000 -0400
  15. +++ b/src/cue_parse.c 2023-04-27 16:10:13.314263314 -0400
  16. @@ -1513,6 +1513,8 @@ void yyerror (char *s)
  17. fprintf(stderr, "%d: %s\n", cue_lineno, s);
  18. }
  19. +void cue_delete_buffer(void);
  20. +
  21. Cd *cue_parse (FILE *fp)
  22. {
  23. cue_yyin = fp;