the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: sendip
Version: 2.5
Revision: 1002
Source: http://www.earth.li/projectpurple/files/%n-%v.tar.gz
Maintainer: Jack Fink
Homepage: http://www.earth.li/projectpurple/progs/sendip.html
License: GPL
Description: CLI tool for sending arbitrary IP packets
Source-MD5: 35fa3306f39bfd46d83371da63eec3ad
PatchFile: %n.patch
PatchFile-MD5: cff658340e452d474a464753890e3906
PatchScript: <<
%{default_script}
perl -pi -e "s,/usr/local,%p,g;s,-g,,g;s,-rdynamic,,g;s,-shared,-bundle,g;s,-Werror,,g" Makefile
<<
CompileScript: make
InstallScript: perl -pi -e "s,%p,%i,g" Makefile && make install
DocFiles: CHANGES LICENSE README VERSION
diff -Nurd -x'*~' sendip-2.5.orig/types.h sendip-2.5/types.h
--- sendip-2.5.orig/types.h 2002-10-12 13:30:56.000000000 -0400
+++ sendip-2.5/types.h 2012-02-10 15:28:46.000000000 -0500
@@ -8,7 +8,7 @@
#define _SENDIP_TYPES_H
/* Make sure we have bool */
-typedef int bool;
+#include
#ifndef FALSE
#define TRUE (0==0)
#define FALSE (!TRUE)