express change in the format of a quilt patch
authorBdale Garbee <bdale@gag.com>
Fri, 27 Jul 2018 10:31:52 +0000 (18:31 +0800)
committerBdale Garbee <bdale@gag.com>
Fri, 27 Jul 2018 10:31:52 +0000 (18:31 +0800)
debian/patches/series
debian/patches/update_sizebuf_types.patch [new file with mode: 0644]

index 55dcc4bcdf6edd72a000666eebb70b876b0fa762..f548d03067d73db54e895da79f6aec406e63632b 100644 (file)
@@ -4,3 +4,4 @@ as31-mkstemps.patch
 as31-fix-duplicate-line.patch
 update-version
 helptext
+update_sizebuf_types.patch
diff --git a/debian/patches/update_sizebuf_types.patch b/debian/patches/update_sizebuf_types.patch
new file mode 100644 (file)
index 0000000..6712ad9
--- /dev/null
@@ -0,0 +1,17 @@
+diff --git a/as31/run.c b/as31/run.c
+index 9e5263b..6010ee8 100644
+--- a/as31/run.c
++++ b/as31/run.c
+@@ -34,10 +34,10 @@ int run_as31(const char *infile, int lst, int use_stdout,
+       FILE* finPre;
+       char tmpName[256];
+       char *lineBuffer=NULL;
+-      int sizeBuf=0;
++      long unsigned int sizeBuf=0;
+       char *includePtr=NULL;
+       char *incLineBuffer=NULL;
+-      int incSizeBuf=0;
++      long unsigned int incSizeBuf=0;
+       FILE* includeFile=NULL;
+       int fd;