diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-24 02:52:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-24 02:52:00 +0100 |
commit | e19b21c73e5feac42ade97baf3eeb45c58a2f234 (patch) | |
tree | f524a01a657ca0dd25be3a5bf70fbb6b694b0275 /app-cdr/bin2iso/files | |
parent | fceabcd48faf4c890719a14ac4ed93b6b7993364 (diff) |
gentoo auto-resync : 24:07:2022 - 02:51:59
Diffstat (limited to 'app-cdr/bin2iso/files')
-rw-r--r-- | app-cdr/bin2iso/files/bin2iso-19b-fixes.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-cdr/bin2iso/files/bin2iso-19b-fixes.patch b/app-cdr/bin2iso/files/bin2iso-19b-fixes.patch new file mode 100644 index 000000000000..fc28945ea990 --- /dev/null +++ b/app-cdr/bin2iso/files/bin2iso-19b-fixes.patch @@ -0,0 +1,24 @@ +--- a/bin2iso19b_linux.c ++++ b/bin2iso19b_linux.c +@@ -1,6 +1,12 @@ ++#ifndef _POSIX_C_SOURCE
++#define _POSIX_C_SOURCE 200809L
++#endif
++
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <unistd.h>
++#include <sys/types.h>
+
+ #define DEBUG 0
+ #define CHECK 0 /* don't bother checking bin for validity... */
+@@ -111,7 +117,7 @@ + unsigned long size; /* track size in bytes */
+ } tTrack;
+
+-buffered_fread(unsigned char *array, unsigned int size) {
++int buffered_fread(unsigned char *array, unsigned int size) {
+ unsigned int i;
+
+ if(INBUF_WIDX == 0) {
|