ports/sysutils/syslinux/files/patch-com32_lib_MCONFIG
Luigi Rizzo 5a3e648d5e Update to 3.83
This is basically PR ports/141166 by Boris Samorodov, which
updates the code to version 3.83 and splits the patches
into smaller chunks to ease future updates.

I have only touched the indentation in one function in patch-mtools_syslinux.c

Submitted-by:	Boris Samorodov
PR:	141166
2009-12-08 10:09:02 +00:00

11 lines
396 B
Text

--- com32/lib/MCONFIG.orig 2009-10-06 02:06:06.000000000 +0400
+++ com32/lib/MCONFIG 2009-12-04 09:46:19.000000000 +0300
@@ -45,7 +45,7 @@
$(CC) $(MAKEDEPS) $(CFLAGS) -S -o $@ $<
.S.o:
- $(CC) $(MAKEDEPS) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(filter-out -std=gnu99, $(CFLAGS)) -D__ASSEMBLY__ -c -o $@ $<
.S.s:
$(CC) $(MAKEDEPS) $(CFLAGS) -D__ASSEMBLY__ -E -o $@ $<