RSS-feed

Tue, 16 Sep 2008

Solid to SRF package from ABi in macosx


ABi has recently released a binary package that converts solid data into SRF (sort read format). That package was only tested and developed on linux, as usual, and it doesn't compile in macosx out of the box. Fortunately we have the source code.

Here you have the patch to make it work on osx:

From d8d85a3d4413be0c3523dbe0e977208cac3dca0e Mon Sep 17 00:00:00 2001
From: drio 
Date: Tue, 16 Sep 2008 13:06:32 -0500
Subject: [PATCH] Makes it compile on osx

---
 solid2srf-0.7.3/SRF/base/SRF_util.hh |    2 +-
 solid2srf-0.7.3/ZTR/src/ZTR_util.hh  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/solid2srf-0.7.3/SRF/base/SRF_util.hh b/solid2srf-0.7.3/SRF/base/SRF_util.hh
index 1530700..b832065 100644
--- a/solid2srf-0.7.3/SRF/base/SRF_util.hh
+++ b/solid2srf-0.7.3/SRF/base/SRF_util.hh
@@ -33,7 +33,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include 

 ADOPT char* SRF_cStrToPascalStr( const char* str );
diff --git a/solid2srf-0.7.3/ZTR/src/ZTR_util.hh b/solid2srf-0.7.3/ZTR/src/ZTR_util.hh
index 08199c3..5f48f16 100644
--- a/solid2srf-0.7.3/ZTR/src/ZTR_util.hh
+++ b/solid2srf-0.7.3/ZTR/src/ZTR_util.hh
@@ -13,7 +13,7 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include 

 // put in a global include
-- 
1.5.6.5

As you can see the patch is trivial, there are a couple of includes that have to change in macosx.

posted at: 13:10 | path: /bioinformatics | permanent link to this entry