summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/sting/files/patch-aa16
-rw-r--r--net/sting/files/patch-aa16
2 files changed, 24 insertions, 8 deletions
diff --git a/net-mgmt/sting/files/patch-aa b/net-mgmt/sting/files/patch-aa
index 87417fd..97e617a 100644
--- a/net-mgmt/sting/files/patch-aa
+++ b/net-mgmt/sting/files/patch-aa
@@ -1,10 +1,18 @@
---- Makefile Fri Nov 5 06:00:22 1999
-+++ Makefile.new Wed May 10 11:11:23 2000
-@@ -42,7 +42,7 @@
+--- Makefile.orig Thu Nov 4 11:00:22 1999
++++ Makefile Sat Jul 1 16:27:33 2000
+@@ -37,12 +37,13 @@
+ HDR = inet.h capture.h gmt2local.h distribtion.h
+
+ LIBPCAP = ./libpcap-0.4
+-CC = gcc
++CC ?= gcc
++CFLAGS ?= -O -pipe
+ OBJS = version.o $(SRC:.c=.o)
INCLS = -I. -I$(LIBPCAP)
DEFS = -DRETSIGTYPE=void -DHAVE_SIGACTION=1
- CFLAGS = -Wall $(CCOPT) $(DEFS) $(INCLS)
+-CFLAGS = -Wall $(CCOPT) $(DEFS) $(INCLS)
-LIBS = -lm $(LIBPCAP)/libpcap.a
++CFLAGS += -Wall $(DEFS) $(INCLS)
+LIBS = -lm -lpcap
all: sting
diff --git a/net/sting/files/patch-aa b/net/sting/files/patch-aa
index 87417fd..97e617a 100644
--- a/net/sting/files/patch-aa
+++ b/net/sting/files/patch-aa
@@ -1,10 +1,18 @@
---- Makefile Fri Nov 5 06:00:22 1999
-+++ Makefile.new Wed May 10 11:11:23 2000
-@@ -42,7 +42,7 @@
+--- Makefile.orig Thu Nov 4 11:00:22 1999
++++ Makefile Sat Jul 1 16:27:33 2000
+@@ -37,12 +37,13 @@
+ HDR = inet.h capture.h gmt2local.h distribtion.h
+
+ LIBPCAP = ./libpcap-0.4
+-CC = gcc
++CC ?= gcc
++CFLAGS ?= -O -pipe
+ OBJS = version.o $(SRC:.c=.o)
INCLS = -I. -I$(LIBPCAP)
DEFS = -DRETSIGTYPE=void -DHAVE_SIGACTION=1
- CFLAGS = -Wall $(CCOPT) $(DEFS) $(INCLS)
+-CFLAGS = -Wall $(CCOPT) $(DEFS) $(INCLS)
-LIBS = -lm $(LIBPCAP)/libpcap.a
++CFLAGS += -Wall $(DEFS) $(INCLS)
+LIBS = -lm -lpcap
all: sting
OpenPOWER on IntegriCloud