pkgsrc-Bugs archive

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

pkg/48655: Bug fix: security/libgcrypt 1.6.1 - patch for Darwin PPC



>Number:         48655
>Category:       pkg
>Synopsis:       Bug fix: security/libgcrypt 1.6.1 - patch for Darwin PPC
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 12 20:55:00 +0000 2014
>Originator:     Jason Bacon
>Release:        pkgsrc current (2014-03-12)
>Organization:
Acadix Consulting, LLC
>Environment:
Darwin server1.woodlands-school.org 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 
15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
>Description:

An upstream bug in libgcrypt causes build failure on PPC Darwin:

https://bugs.g10code.com/gnupg/issue1616


>How-To-Repeat:
Attempt to build libgcrypt on a powerpc Mac.
>Fix:

Add the following patch to the patches and run "make makepatchsum":

$NetBSD$

--- mpi/config.links.orig       2014-01-27 15:43:28.000000000 +0000
+++ mpi/config.links
@@ -44,7 +44,11 @@ echo '/* created by config.links - do no
 echo "/* Host: ${host} */" >>./mpi/asm-syntax.h
 
 case "${host}" in
-    powerpc-apple-darwin*          | \
+    powerpc-apple-darwin*)
+       echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h
+       path=""
+       mpi_cpu_arch="ppc"
+       ;;
     i[34567]86*-*-openbsd[12]*     | \
     i[34567]86*-*-openbsd3.[0123]*)
        echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h



Home | Main Index | Thread Index | Old Index