aboutsummaryrefslogtreecommitdiff
path: root/system/hardinfo/makefile.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-19 09:42:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-19 09:42:32 +0700
commite40b09091822e15c64784cfcf530398631b22763 (patch)
treed1a8dd9dafee52467f0d380878b34289fd41ccac /system/hardinfo/makefile.patch
parent230c7d9ebbfa50a98caac9394cb33fb64b5d28bf (diff)
system/hardinfo: Patched for newer GCC.
Thanks to _gin in LQ. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/hardinfo/makefile.patch')
-rw-r--r--system/hardinfo/makefile.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/hardinfo/makefile.patch b/system/hardinfo/makefile.patch
new file mode 100644
index 0000000000000..a32b77e423bd5
--- /dev/null
+++ b/system/hardinfo/makefile.patch
@@ -0,0 +1,10 @@
+--- 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
+