<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/jnetpcap/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/jnetpcap/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 24 Jan 2010 16:37:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jnetpcap/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Mac OS X port (universal binary for ppc,ppc64,i386,x86_64)</title><link>https://sourceforge.net/p/jnetpcap/patches/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, here's my attempt to port jnetpcap to the Mac. One difference to Michael's patch is that this builds the native shared library as a universal binary for both the powerpc and x86 architectures and builds for 32 and 64 bit.&lt;/p&gt;
&lt;p&gt;$ file jnetpcap.jnilib &lt;br /&gt;
libjnetpcap.jnilib: Mach-O universal binary with 4 architectures&lt;br /&gt;
libjnetpcap.jnilib (for architecture i386):   Mach-O dynamically linked shared library i386&lt;br /&gt;
libjnetpcap.jnilib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64&lt;br /&gt;
libjnetpcap.jnilib (for architecture ppc7400):        Mach-O dynamically linked shared library ppc&lt;br /&gt;
libjnetpcap.jnilib (for architecture ppc64):  Mach-O 64-bit dynamically linked shared library ppc64&lt;/p&gt;
&lt;p&gt;Here's what I changed:&lt;/p&gt;
&lt;p&gt;$ svn status&lt;br /&gt;
?      Mac OS X.properties&lt;br /&gt;
M      src/c/jnetpcap_utils.cpp&lt;br /&gt;
M      build.xml&lt;br /&gt;
?      lib/cpptasks-1.0b5-patched&lt;br /&gt;
?      lib/hyperic-sigar-1.6.3/libsigar-universal64-macosx.dylib&lt;br /&gt;
?      lib/hyperic-sigar-1.6.3/libsigar-universal-macosx.dylib&lt;/p&gt;
&lt;p&gt;All additional files you need are in missing.zip and trunk.diff changes build.xml and jnetpcap_utils.cpp. I wasn't able to get linker to work without patching cpptasks. See my patch ID 2929327 in the Ant Contrib project.&lt;/p&gt;
&lt;p&gt;The libsigar files are needed in some unit tests.&lt;/p&gt;
&lt;p&gt;Apply both files in the root directory of the jnetpcap sources:&lt;/p&gt;
&lt;p&gt;unzip /tmp/missing.zip&lt;br /&gt;
patch -p0 /tmp/trunk.diff&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andreas Lohr</dc:creator><pubDate>Sun, 24 Jan 2010 16:37:56 -0000</pubDate><guid>https://sourceforge.netd5921120da7edce88ee4303c2b8845b219df36e8</guid></item><item><title>Mac OS X port</title><link>https://sourceforge.net/p/jnetpcap/patches/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This patch modifies the code to compile on Mac OS X. The patch is based on revision 555 from SVN. The patch was created on a 10.5 system and has not been tested on other versions of OS X. Java 1.5 must be used to compile, at least with Apple JDKs.&lt;/p&gt;
&lt;p&gt;I have not extensively tested the build, but it appears to be working for me. I can capture packets, at least. :)&lt;/p&gt;
&lt;p&gt;There are a couple of test cases that fail when running the tests target from the build script, so some additional work needs to be done to resolve those errors.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Pigg</dc:creator><pubDate>Thu, 29 Jan 2009 19:12:33 -0000</pubDate><guid>https://sourceforge.net2901ed125654a9de8d2b54087a9ef04554458608</guid></item></channel></rss>