summaryrefslogtreecommitdiffstats
path: root/sysutils/upsmon
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>2000-04-29 20:12:39 +0000
committercpiazza <cpiazza@FreeBSD.org>2000-04-29 20:12:39 +0000
commit960dfcbe6bc8b902bfa9a38e8480c4c9341a0665 (patch)
treeb4fd8e90bdebf847fc9e0e0ec9c87921a5f34267 /sysutils/upsmon
parent5f634a8bd5a7765f9dafd95a2c4ff8e9f4c3b2f4 (diff)
downloadFreeBSD-ports-960dfcbe6bc8b902bfa9a38e8480c4c9341a0665.zip
FreeBSD-ports-960dfcbe6bc8b902bfa9a38e8480c4c9341a0665.tar.gz
Fix compile error (use -pedantic)
PR: 18216
Diffstat (limited to 'sysutils/upsmon')
-rw-r--r--sysutils/upsmon/files/patch-aa14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/upsmon/files/patch-aa b/sysutils/upsmon/files/patch-aa
index 79d209a..905ebd8 100644
--- a/sysutils/upsmon/files/patch-aa
+++ b/sysutils/upsmon/files/patch-aa
@@ -1,20 +1,22 @@
---- makefile.bsdi.orig Wed Aug 5 01:18:38 1998
-+++ makefile.bsdi Mon Oct 5 20:11:38 1998
-@@ -33,13 +33,13 @@
+--- makefile.bsdi.orig Tue Aug 4 14:18:38 1998
++++ makefile.bsdi Sat Apr 29 13:11:52 2000
+@@ -32,14 +32,14 @@
+ .SUFFIXES: #clear list of suffixes
.SUFFIXES: .cc .o #rules for .c and .o
- CC = gcc
+-CC = gcc
-CFLAGS_DEBUG = -O2 -Wall -DDEBUG -g
-CFLAGS_NODEBUG = -O2 -Wall -g
++#CC = gcc
+CFLAGS_DEBUG = -DDEBUG
+CFLAGS_NODEBUG =
.ifdef DEBUG
-CFLAGS = $(CFLAGS_DEBUG)
-+CFLAGS += $(CFLAGS_DEBUG)
++CFLAGS += $(CFLAGS_DEBUG) -pedantic
.else
-CFLAGS = $(CFLAGS_NODEBUG)
-+CFLAGS += $(CFLAGS_NODEBUG)
++CFLAGS += $(CFLAGS_NODEBUG) -pedantic
.endif
UPSMOND_TARGET = upsmond
OpenPOWER on IntegriCloud