Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31668

Modified Files:
        libnids.info 
Added Files:
        libnids.patch 
Log Message:
Patched checksum.c to use C code on Intel instead of assembly. Now builds.

--- NEW FILE: libnids.patch ---
diff -ru libnids-1.18.orig/src/checksum.c libnids-1.18/src/checksum.c
--- libnids-1.18.orig/src/checksum.c    2003-09-20 16:40:44.000000000 -0400
+++ libnids-1.18/src/checksum.c 2006-03-14 21:32:36.000000000 -0500
@@ -3,7 +3,8 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <netinet/udp.h>
-
+#undef __i386__
+#undef __i386
 #if ( __i386__ || __i386 )
 // all asm procedures are copied from Linux 2.0.36 and 2.2.10 kernels
 

Index: libnids.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/libnids.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- libnids.info        20 Jan 2006 20:21:18 -0000      1.1
+++ libnids.info        15 Mar 2006 02:40:41 -0000      1.2
@@ -7,6 +7,7 @@
 BuildDepends: libpcap, libnet1.0
 Source: http://www.packetfactory.net/Projects/libnids/dist/libnids-%v.tar.gz
 Source-MD5: 9ee6dcdfac97bae6fe611aa27d2594a5
+Patch: %n.patch
 ConfigureParams: --mandir=%p/share/man 
 InstallScript: <<
    make install install_prefix=%d
@@ -29,3 +30,6 @@
  low-level network code. If you decide to use libnids, you have got
  E-component ready - you can focus on implementing other parts of NIDS.
 <<
+DescPackaging: <<
+ Added patch to disable assembly code on Intel Macs to allow building.
+<<



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to