pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/biology/hmmer



Module Name:    pkgsrc
Committed By:   he
Date:           Mon Apr 22 13:44:10 UTC 2024

Modified Files:
        pkgsrc/biology/hmmer: Makefile distinfo
Added Files:
        pkgsrc/biology/hmmer/patches: patch-easel_esl__vmx.c
            patch-easel_esl__vmx.h

Log Message:
biology/hmmer: fix build on NetBSD/powerpc.

When building with -maltivec (as we do here, when on NetBSD/powerpc),
__APPLE_ALTIVEC__ gets defined, but you still need to include
<altivec.h>, at least on NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/biology/hmmer/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/biology/hmmer/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/biology/hmmer/patches/patch-easel_esl__vmx.c \
    pkgsrc/biology/hmmer/patches/patch-easel_esl__vmx.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/biology/hmmer/Makefile
diff -u pkgsrc/biology/hmmer/Makefile:1.17 pkgsrc/biology/hmmer/Makefile:1.18
--- pkgsrc/biology/hmmer/Makefile:1.17  Fri Dec 29 00:38:59 2023
+++ pkgsrc/biology/hmmer/Makefile       Mon Apr 22 13:44:10 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2023/12/29 00:38:59 zafer Exp $
+# $NetBSD: Makefile,v 1.18 2024/04/22 13:44:10 he Exp $
 #
 
 DISTNAME=              hmmer-3.0
+PKGREVISION=           1
 CATEGORIES=            biology
 MASTER_SITES=          http://eddylab.org/software/hmmer/
 

Index: pkgsrc/biology/hmmer/distinfo
diff -u pkgsrc/biology/hmmer/distinfo:1.10 pkgsrc/biology/hmmer/distinfo:1.11
--- pkgsrc/biology/hmmer/distinfo:1.10  Tue Oct 26 10:03:40 2021
+++ pkgsrc/biology/hmmer/distinfo       Mon Apr 22 13:44:10 2024
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:03:40 nia Exp $
+$NetBSD: distinfo,v 1.11 2024/04/22 13:44:10 he Exp $
 
 BLAKE2s (hmmer-3.0.tar.gz) = 3c1f4bc23fbf62069bb6eb137db0cd61123b38a9010aba5cf487ea47ad92acaf
 SHA512 (hmmer-3.0.tar.gz) = 752f06b0494a87ccd2cf6aa93e622fd02173eaa0df60df0527b3361dcaa2baf2b45a2daf0123217c0029bc9d95e505a92f1e97039eb8b7218b4c4b65ddad1db5
 Size (hmmer-3.0.tar.gz) = 3952015 bytes
 SHA1 (patch-aa) = 8d0d3be4401590c20d102b7e0ebadcb1b6c03066
+SHA1 (patch-easel_esl__vmx.c) = 43d82ea069168a4216b744966408ef9ae44af46d
+SHA1 (patch-easel_esl__vmx.h) = a5cfca3438ddb827fe9e2308a974341059781f3d

Added files:

Index: pkgsrc/biology/hmmer/patches/patch-easel_esl__vmx.c
diff -u /dev/null pkgsrc/biology/hmmer/patches/patch-easel_esl__vmx.c:1.1
--- /dev/null   Mon Apr 22 13:44:10 2024
+++ pkgsrc/biology/hmmer/patches/patch-easel_esl__vmx.c Mon Apr 22 13:44:10 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-easel_esl__vmx.c,v 1.1 2024/04/22 13:44:10 he Exp $
+
+Compiling with -maltivec defines __APPLE_ALTIVEC__, but
+we still need <altivec.h> included(!)
+
+--- easel/esl_vmx.c.orig       2010-03-28 14:35:26.000000000 +0000
++++ easel/esl_vmx.c
+@@ -30,7 +30,7 @@
+ #include <math.h>
+ #include <float.h>
+ 
+-#ifndef __APPLE_ALTIVEC__
++#if !defined(__APPLE_ALTIVEC__) || defined(__NetBSD__)
+ #include <altivec.h>
+ #endif
+ 
Index: pkgsrc/biology/hmmer/patches/patch-easel_esl__vmx.h
diff -u /dev/null pkgsrc/biology/hmmer/patches/patch-easel_esl__vmx.h:1.1
--- /dev/null   Mon Apr 22 13:44:10 2024
+++ pkgsrc/biology/hmmer/patches/patch-easel_esl__vmx.h Mon Apr 22 13:44:10 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-easel_esl__vmx.h,v 1.1 2024/04/22 13:44:10 he Exp $
+
+Compiling with -maltivec defines __APPLE_ALTIVEC__, but
+we still need <altivec.h> included(!)
+
+--- easel/esl_vmx.h.orig       2010-03-28 14:35:29.000000000 +0000
++++ easel/esl_vmx.h
+@@ -8,7 +8,7 @@
+ #include "easel.h"
+ 
+ #include <stdio.h>
+-#ifndef __APPLE_ALTIVEC__
++#if  !defined(__APPLE_ALTIVEC__) || defined(__NetBSD__)
+ #include <altivec.h>
+ #endif
+ 



Home | Main Index | Thread Index | Old Index