slackbuilds/system/hardinfo/makefile.patch

11 lines
334 B
Diff

--- hardinfo-0.5.1/Makefile.in.old 2015-12-19 09:39:19.955074713 +0700
+++ hardinfo-0.5.1/Makefile.in 2015-12-19 09:39:40.254827496 +0700
@@ -1,6 +1,6 @@
CCFLAGS = -fPIC -pipe -Wall -g
-CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I.
+CFLAGS = $(GTK_CFLAGS) $(SOUP_CFLAGS) -I. -std=gnu89
CC = gcc $(ARCHOPTS) -g
CCSLOW = gcc -O0 -g