9 Commits

Author SHA1 Message Date
sthen
48b0b9660c replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:48:23 +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
sthen
4fcf8f2aaf drop MAINTAINER on a few things 2017-07-05 10:22:05 +00:00
naddy
15f8863012 A dot or a single quote introduces a roff(7) macro; fix text lines
beginning with such a character.  Drop USE_GROFF.
ok and delousing schwarze@
2015-02-17 19:47:01 +00:00
naddy
570aa62a9c Drop remaining MD5/RMD160/SHA1 checksums. 2015-01-18 03:12:39 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
sthen
868d6ab3e9 update zsync to 0.6.2 2010-11-03 20:10:59 +00:00
espie
47ff75aa46 USE_GROFF=Yes 2010-10-18 18:36:45 +00:00
sthen
43f81fbeca import net/zsync:
zsync is a file transfer program. It allows you to download a file
from a remote server, where you have a copy of an older version of
the file on your computer already. zsync downloads only the new
parts of the file.

* Client-side rsync - zsync uses the rsync algorithm, but runs it
on the client side, thus avoiding the high server load associated
with rsync.

* Rsync over HTTP - zsync provides transfers that are nearly as
efficient as rsync -z or cvsup, without the need to run a special
server application. All that is needed is an HTTP/1.1-compliant web
server. So it works through firewalls and on shared hosting accounts,
and gives less security worries.

* Handling for compressed files - rsync is ineffective on compressed
files, unless they are compressed with a patched version of gzip.
zsync has special handling for gzipped files, which enables update
transfers of files which are distributed in compressed form.
2009-09-23 19:29:42 +00:00