23 Commits

Author SHA1 Message Date
sthen
f74b6c2d62 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:44:34 +00:00
ajacoutot
0526627821 Update to orc-0.4.29.
from Brad (maintainer)
2019-04-22 08:19:14 +00:00
robert
d267cd02ca Unbreak autoconf checks with clang by not using nested functions
in the checks.

Someone clearly did not read the autoconf documentation because
using the following functions with a function declaration inside
the body will end up declaring a function inside a function.

- AC_TRY_COMPILE( [], [ int main() { return 0; } ],
- AC_LANG_PROGRAM([[]], [[int main (void) { return 0; }]])],
- AC_TRY_LINK([], [int main (void) { return 0; }],

Result:

int
main ()
{
int main (void) { return 0; }
  ;
  return 0;
}

nested functions is a gcc extension which is not supported by
clang.

test.c:4:17: error: function definition is not allowed here
int main (void) { return 0; }
                ^
1 error generated.

This causes tests to fail in the configure scripts resulting in
missing compile and link time flags from the builds.

This resulted in weird behaviour of several software, like gnome
hanging completely due to gtk+3 not being built properly.

This change intrudces the following fixes:

- remove int main() declaration from AC_TRY_COMPILE, AC_LANG_PROGRAM, AC_TRY_LINK
  as it comes with a declaration already, and people misused them

- change to use AC_LANG_SOURCE when needed in case a complete source block is specified

Most of the changes are in configure.(ac|in), however there were some cases
where autoconf is either broken or the build failed because of an autoconf
generated configure script. Everytihng else is switched to autoconf, so
the maintainers can go ahead and upstream these diffs.

There are more to come, we are continously checking the tree for these issues
and in the future the infrastructure will error if such a case is found.
2017-09-25 09:16:12 +00:00
ajacoutot
668ca651e6 Update to orc-0.4.24.
from Brad (maintainer)
2015-10-25 08:45:10 +00:00
sthen
5ce1b14cc3 update to orc-0.4.23, from Brad (maintainer)
"The orc update was also Ok'd by ajacoutot@"
2015-04-09 20:47:15 +00:00
brad
df823cb056 Update to orc 0.4.19.
ok ajacoutot@
2014-04-23 19:35:26 +00:00
brad
02585ebd5c Update to orc 0.4.18.
Re-enable the AltiVec backend. This might need to be disabled again but
it is being enabled to receive some testing in the wild so speak.

ok ajacoutot@
2013-10-05 19:54:45 +00:00
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
espie
bcf3856632 PERMIT_* / REGRESS->TEST sweep 2013-03-11 10:50:00 +00:00
ajacoutot
e2894e788c Remove -pthread patching and sync a bit closer to a pending patch
for upstream since the original project is missing libpthread
linking all together.

from Brad (maintainer)
2012-08-26 07:17:20 +00:00
ajacoutot
fe15fa4bed Disable altivec for powerpc for now as it segfaults.
ok Brad (maintainer) sthen@
2012-01-27 09:44:11 +00:00
ajacoutot
8e994931c9 Fix lack of nopl support.
from Brad (maintainer)
2011-10-17 09:06:54 +00:00
ajacoutot
5c840dc440 Update to orc-0.4.16.
from Brad (maintainer)
2011-10-04 06:45:41 +00:00
naddy
4c481ede43 Make sure the log buffer is initialized to a valid zero-length string.
ok Brad sthen@
2011-08-01 20:50:10 +00:00
sthen
cfd8f226fc Fix PowerPC support, from upstream via Brad. Allows removing forced -O0
(always nice for code which is supposed to run fast). Tested by landry@
2011-04-05 08:09:00 +00:00
sthen
00582ef96a Bump ports which should be using newer autoconf to 2.65;
config.h files checked.  From Brad.
2011-03-26 10:05:24 +00:00
landry
fe14c11641 Switch those back to use an autoconf version that's actually known to
produce working results (ie not 2.65). Use 2.64 at brad's request.
ok ajacoutot@ sthen@
2011-01-18 11:37:40 +00:00
jasper
6056aec73e - update orc to 0.4.11
from brad
2010-11-19 08:58:18 +00:00
sthen
9eb24250ce Update orc to 0.4.6, patched to avoid opcodes not available on our
supported arm systems. From Brad, with some prodding from ajacoutot,
many opcodes worked out by me the slow way.
2010-07-21 20:30:21 +00:00
sthen
1d7517410d let this build on arm; from Brad 2010-04-10 11:11:06 +00:00
sthen
4dececaf10 update orc to 0.4.4, from Brad 2010-04-09 21:56:05 +00:00
sthen
0fbeaaa2a3 use newer autoconf, from Brad 2010-04-03 00:21:14 +00:00
sthen
57e0cc8a72 Import devel/orc, from Brad with a patch from me to drop ARM machines
back to the generic support rather than trying to use the asm backend
which appears to be broken upstream.

Orc is a library and set of tools for compiling and executing
very simple programs that operate on arrays of data.  The "language"
is a generic assembly language that represents many of the features
available in SIMD architectures, including saturated addition and
subtraction, and many arithmetic operations.
2010-03-25 10:23:26 +00:00