DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

[patch] lang/gcc47 fails to build with lang/gcc5 #136

Closed zrj-rimwis closed 9 years ago

zrj-rimwis commented 9 years ago
In file included from .././../gcc-4.7.4/gcc/cp/except.c:990:0:
cfns.gperf: At top level:
cfns.gperf:101:1: error: 'gnu_inline' attribute present on 'libc_name_p'
cfns.gperf:26:14: error: but not here

Missing conditional gnu_inline attribute in prototype, and cast to int suggested by gperf. Simple workaround: https://drive.google.com/file/d/0BwWNLQDwiOxtYnJSRm1Dam9XTU0/view?usp=sharing

jrmarino commented 9 years ago

patch incorporated, thanks! a680cc6ef758e2f15be8bf8209da51658e02d710

ghost commented 7 years ago

Thank you so much for the content of the patch, but can I get some hint on how to apply the patch to the problem? I am just starting to learn. Thank you!