* [gentoo-commits] gentoo-x86 commit in net-analyzer/sniffit/files: sniffit-0.3.7-gentoo.patch
@ 2009-01-15 6:37 Jeroen Roovers (jer)
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2009-01-15 6:37 UTC (permalink / raw
To: gentoo-commits
jer 09/01/15 06:37:32
Added: sniffit-0.3.7-gentoo.patch
Log:
Do not hide compiler warnings. Do not hardcode CFLAGS in Makefile. Do not strip (bug #251985).
(Portage version: 2.2_rc22/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
Revision Changes Path
1.1 net-analyzer/sniffit/files/sniffit-0.3.7-gentoo.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sniffit/files/sniffit-0.3.7-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sniffit/files/sniffit-0.3.7-gentoo.patch?rev=1.1&content-type=text/plain
Index: sniffit-0.3.7-gentoo.patch
===================================================================
--- sniffit.0.3.7.beta/Makefile.in.orig 2009-01-15 07:28:39.000000000 +0100
+++ sniffit.0.3.7.beta/Makefile.in 2009-01-15 07:28:26.000000000 +0100
@@ -10,9 +10,9 @@
LIBS = @LIBS@
DEFS = @DEFS@
OS_OPT = @OS_OPT@
-OBJ_FLAG = -w -O2 -c
+OBJ_FLAG = $(CFLAGS) -c
OBJ_OPT = -I./libpcap -L./libpcap
-EXE_FLAG = -w -O2 -o sniffit
+EXE_FLAG = $(CFLAGS) -o sniffit
EXE_OPT = -I./libpcap -L./libpcap -lpcap
EXE_OBJ = sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o \
sn_logfile.o sn_resolv.o
@@ -28,7 +28,6 @@
sniffit: $(SNIFFIT) $(DEP_FILES)
# cd libpcap; make; cd ..
$(CC) $(EXE_FLAG) $(SNIFFIT) $(EXE_OBJ) $(EXE_OPT) $(LIBS) $(DEFS) $(OS_OPT)
- strip sniffit
sn_cfgfile.o: sn_cfgfile.h sn_cfgfile.c sn_defines.h sn_structs.h sn_config.h
$(CC) $(OBJ_FLAG) sn_cfgfile.c $(OBJ_OPT) $(DEFS)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-15 6:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 6:37 [gentoo-commits] gentoo-x86 commit in net-analyzer/sniffit/files: sniffit-0.3.7-gentoo.patch Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox