ports/sysutils/syslinux/files/patch-com32-lib-MCONFIG
Martin Matuska c5912aade0 - Unbreak and update to 4.03
- Fix and rename patches to match file names
- Depend on perl5 only during build
- Make portlint happy
- Replace with sed and do it in pre-patch stage
- Use DATADIR and MANPREFIX

PR:		ports/152300
Approved by:	luigi (maintainer, private e-mail)
2010-11-18 17:42:52 +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 $@ $<