523 Commits

Author SHA1 Message Date
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
6f61bc5b14 Fix link order to unbreak with FTS5 enabled sqlite3. 2017-08-24 06:05:27 +00:00
visa
58b0885f73 Remove BROKEN-mips64. The comment about libast is stale,
and the port builds fine.
2017-08-18 12:44:11 +00:00
sthen
1fd01381f4 unbreak with clang 32-bit arches, from libast upstream via freebsd 2017-08-11 12:35:48 +00:00
rsadowski
5ea92a403f Update ZSH to 5.4.1
ok pea@ juanfra@
2017-08-10 18:38:39 +00:00
kili
93179b546c Bump after the renaming of py-qt5,-main to py-qt5. 2017-07-17 20:32:37 +00:00
sthen
0e2dc8a0c1 IPV6CTL_MAXIFDEFROUTERS, IPV6CTL_MAXIFPREFIXES going away - patch nsh to cope. 2017-07-13 17:01:14 +00:00
sthen
528e51c4e7 tweak nsh's MANUAL a bit, especially rc.local suggestions (/usr/local/bin isn't
in the default PATH, and the current example with tee hangs)
2017-07-10 20:10:36 +00:00
sthen
bba4a914c8 convert nsh's save.sh from a symlink to an @sample, such that it can be
modified or pointed to an alternative file (e.g. save-ro.sh instead of the
standard save-rw.sh) and have the changes stay intact after pkg_add -u.
2017-07-10 19:04:12 +00:00
sthen
02a66dd19f disable timeslots code to unbreak following SIOCSIFTIMESLOT removal 2017-06-28 16:34:59 +00:00
schwarze
441d7ca1f5 almost identical formatting of very badly broken manual pages,
drop USE_GROFF and bump
2017-06-17 01:31:46 +00:00
pascal
cf7b40218f Update to osh 4.3.2, patch upstreamed. 2017-05-26 21:27:10 +00:00
mpi
63a28340ee Remove unneeded and dying headers.
ok sthen@
2017-05-18 10:40:08 +00:00
shadchin
ad340b3aa5 Update to py-qtconsole 4.3.0 2017-05-12 09:32:52 +00:00
schwarze
35bb42fd60 mandoc(1) now supports .ta, drop USE_GROFF and bump 2017-05-08 13:19:10 +00:00
espie
8d860230fd adjust distinfo post DISTFILES change 2017-05-06 15:10:17 +00:00
pascal
1b61154d44 Update to osh 4.3.1, reminded by J.A. Neitzel (upstream). 2017-04-24 18:07:25 +00:00
pea
21209272e0 Bugfix update to 5.3.1
Diff from Rafael Sadowski, thanks !
2017-03-24 14:30:14 +00:00
shadchin
beabbffe80 +py-qtconsole
+py-qtconsole,python3
2017-03-05 21:13:27 +00:00
shadchin
a30383b4bb Import py-qtconsole 4.2.1, ok and tweak danj@
Qt-based console for Jupyter with support for rich media output.
2017-03-05 21:09:09 +00:00
naddy
cc4811f266 Remove ports that don't work on LP64 archs.
lang/nhc98              ok ajacoutot@ jca@ kili@
security/logsurfer      ok ajacoutot@ jca@
shells/scsh             ok sthen@ ajacoutot@ jca@
devel/hmake             ok kili@
2017-02-25 20:37:35 +00:00
naddy
0e98947c5e mark for entry in shells(5);
reminded by Andreas Kusalananda Kahari <andreas.kahari@nbis.se>
2017-02-24 21:23:38 +00:00
jca
70646c1058 Adapt after the struct ipipstat members size bump 2017-02-20 17:14:31 +00:00
juanfra
4400f8f8e7 From Matthew Martin. Tested by pea@ and me. OK pea@ (MAINTAINER). 2017-02-02 03:41:12 +00:00
pascal
31f7e6dd37 Update to osh 4.3.0; enable regression tests. 2017-01-28 21:54:34 +00:00
naddy
8f523853da update to 4.4 patchlevel 12 2017-01-28 20:25:27 +00:00
naddy
44c4f80467 fix build after recent network changes 2017-01-26 12:30:02 +00:00
naddy
d7f99400ba update to 4.4 patchlevel 11 2017-01-25 21:00:53 +00:00
naddy
a7cee9b7c3 update to 2.44 for various fixes and better POSIX compliance 2017-01-18 23:10:42 +00:00
naddy
0806913c0a Update to bash 4.4. See the announcement at
https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00018.html
for an overview of significant changes.

Jump right to patchlevel 5, which among other things fixes a use-after-free
bug discovered by otto malloc.
2016-11-11 22:39:48 +00:00
naddy
8ab90b1080 update to 4.3 patchlevel 48 2016-11-01 16:31:57 +00:00
jca
df215400be Update to dash-0.5.9.1 2016-10-24 20:59:23 +00:00
sthen
564c6c344a Cope with moving sqlite3 back to ports. 2016-09-23 09:16:52 +00:00
ajacoutot
5558c792d3 First pass at pre-entively fixing ports that would break once guenther's header
pollution diff is in.

lang/squeak/vm does not build but it's due to the recent audio changes
games/xbattle: also fixes some conflicting implicit decl
print/hplip: also fixes some conflicting implicit decl
2016-09-10 13:03:40 +00:00
sthen
abe3acd194 handle RTF_MASK removal 2016-09-02 15:42:07 +00:00
jasper
003e889c0a retire sparc 2016-09-01 10:53:26 +00:00
sthen
6fa1498ac8 update to newer nsh snapshot 2016-06-23 13:19:43 +00:00
naddy
a1a865a94a update to 4.3 patchlevel 46 2016-06-22 21:10:27 +00:00
jca
78ed5150b6 Update to dash-0.5.9 2016-06-09 15:46:17 +00:00
sthen
ecccd93c04 As pointed out by Yozo TODA, SourceForge.jp renamed to OSDN in 2015.
Rename MASTER_SITE_SOURCEFORGE_JP to MASTER_SITE_OSDN_JP and update ports
references, and list some of their mirrors in network.conf.template.
2016-06-05 11:02:25 +00:00
sthen
5fce0e354f zap old @pkgpath entry in shells/tcsh
Previously the port had a static flavour, then it was removed with an
added @pkgpath to merge the old static package into the main package,
then it was readded but the @pkgpath wasn't removed.

Update problem reported by Kapetanakis Giannis, ok phessler
2016-05-31 12:11:34 +00:00
naddy
4fd6bea331 use MASTER_SITE_SOURCEFORGE_JP 2016-05-30 10:46:10 +00:00
sthen
460d685dc9 update to newer nsh snapshot 2016-05-27 12:53:13 +00:00
sthen
7e86d4544b update to 20160524 snapshot of nsh 2016-05-24 20:02:27 +00:00
sthen
412b9c10da update to new nsh snapshot, including jca's patch to remove IPV6CTL_V6ONLY
(which is a noop anyway) and more useful pppoe support (saves authkey)
2016-05-19 09:22:11 +00:00
pascal
b007495983 Update to 4.2.1, from upstream maintainer J.A. Neitzel. 2016-05-18 10:04:31 +00:00
pascal
3b2dfda8e3 Update to new upstream version 4.2.0, bump EPOCH. Fix some nits in DESCR and
PLIST.

Mostly by upstream maintainer J.A. Neitzel, thanks!
2016-05-15 15:34:45 +00:00
pascal
b01174ae9b Update my mail address. 2016-05-07 12:40:56 +00:00
naddy
360f168eae +yash 2016-04-21 20:42:01 +00:00
naddy
cd2d2ae780 Import yash 2.41.
Yet another shell (yash) is a POSIX-compliant command line shell, featuring
more strict POSIX compliance than those of other shells, as well as powerful
command line editing.

ok sthen@
2016-04-21 20:41:09 +00:00