tech-pkg archive

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

Re: lang/g95 fails on Mac OS X 10.10.5



On Thu, Dec 22, 2016 at 10:54:32AM +0100, Hubert Feyrer wrote:
> unfortunately this blocks out more packages like math/R.
> Any ideas how to fix?

Attached patch should fix the immediate issue.

Joerg
Index: lang/g95/distinfo
==================================================================
--- lang/g95/distinfo
+++ lang/g95/distinfo
@@ -14,10 +14,11 @@
 SHA1 (patch-gcc_Makefile.in) = cc5cc142a85612ebf2d38513e4b05db0ae795268
 SHA1 (patch-gcc_config.gcc) = ed135c425730d231182e36af840278d307396c6e
 SHA1 (patch-gcc_config_dragonfly-spec.h) = bf0c97caa314714542cf8cc63fdf0c73bda80511
 SHA1 (patch-gcc_config_dragonfly.h) = 6d46b7b4637a20b36e19a15e1eaffdfff6638de9
 SHA1 (patch-gcc_config_freebsd-spec.h) = 508304b26b592518c3d3f43f466ac0a6542b2704
+SHA1 (patch-gcc_config_host-darwin.c) = 93e69fae6f6a221da7f8e9a306c99a592d995533
 SHA1 (patch-gcc_config_i386_dragonfly.h) = 7d60d29b5ae636d69650e8c412a94f7a6045f6d9
 SHA1 (patch-gcc_config_i386_dragonfly64.h) = 9d2d8512a913e58055fa5c1b7d85a109117dcfba
 SHA1 (patch-gcc_config_t-dragonfly) = dd8d5919af737dfb9e3c18be9a41b4e2c6f31155
 SHA1 (patch-gcc_config_t-dragonfly-thread) = ebdb58dacf0dc5d0bf2f1f1707a7c6ab29ee308c
 SHA1 (patch-gcc_ginclude_stddef.h) = 60f51a470e03173803b5e20b1fa4d6882e8d1fe9

ADDED    lang/g95/patches/patch-gcc_config_host-darwin.c
Index: lang/g95/patches/patch-gcc_config_host-darwin.c
==================================================================
--- lang/g95/patches/patch-gcc_config_host-darwin.c
+++ lang/g95/patches/patch-gcc_config_host-darwin.c
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- gcc/config/host-darwin.c.orig	2016-12-22 11:03:18.056396217 +0000
++++ gcc/config/host-darwin.c
+@@ -77,3 +77,7 @@ darwin_gt_pch_use_address (void *addr, s
+ 
+   return ret;
+ }
++
++#ifndef __POWERPC__
++const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;
++#endif



Home | Main Index | Thread Index | Old Index