Index: linkchecker-4.5/setup.py --- linkchecker-4.5/setup.py.orig 2006-09-22 12:15:34 +0200 +++ linkchecker-4.5/setup.py 2006-09-29 20:12:53 +0200 @@ -97,7 +97,7 @@ else: val = getattr(self, attr) if attr == 'install_data': - cdir = os.path.join(val, "share", "linkchecker") + cdir = os.path.join(val, "etc", "linkchecker") data.append('config_dir = %r' % cnormpath(cdir)) data.append("%s = %r" % (attr, cnormpath(val))) self.distribution.create_conf_file(data, directory=self.install_lib) @@ -325,15 +325,7 @@ Add -std=gnu99 to build options if supported. And compress extension libraries. """ - # For gcc >= 3 we can add -std=gnu99 to get rid of warnings. extra = [] - if self.compiler.compiler_type == 'unix': - option = "-std=gnu99" - if cc_supports_option(self.compiler.compiler, option): - extra.append(option) - if platform.machine() == 'm68k': - # work around ICE on m68k machines in gcc 4.0.1 - cc_remove_option(self.compiler, "-O3") # First, sanity-check the 'extensions' list self.check_extensions_list(self.extensions) for ext in self.extensions: @@ -486,7 +478,7 @@ myemail = "calvin@users.sourceforge.net" data_files = [ - ('share/linkchecker', + ('etc/linkchecker', ['config/linkcheckerrc', 'config/logging.conf', ]), ('share/linkchecker/examples', ['cgi-bin/lconline/leer.html.en', @@ -500,24 +492,13 @@ ] if os.name == 'posix': - data_files.append(('share/man/man1', ['doc/en/linkchecker.1'])) - data_files.append(('share/man/de/man1', ['doc/de/linkchecker.1'])) - data_files.append(('share/man/fr/man1', ['doc/fr/linkchecker.1'])) + data_files.append(('man/man1', ['doc/en/linkchecker.1'])) + data_files.append(('man/de/man1', ['doc/de/linkchecker.1'])) + data_files.append(('man/fr/man1', ['doc/fr/linkchecker.1'])) data_files.append(('share/linkchecker/examples', ['config/linkchecker-completion', 'config/linkcheck-cron.sh'])) -elif win_compiling: - data_files.append(('share/linkchecker/doc', - ['doc/en/documentation.html', - 'doc/en/index.html', - 'doc/en/install.html', - 'doc/en/other.html', - 'doc/en/upgrading.html', - 'doc/en/lc.css', - 'doc/en/navigation.css', - 'doc/en/shot1.png', - 'doc/en/shot2.png', - 'doc/en/shot1_thumb.jpg', - 'doc/en/shot2_thumb.jpg', + data_files.append(('share/linkchecker/html', + ['doc/en/documentation.txt', ])) setup (name = "linkchecker", Index: pydns-2.3.0/DNS/Lib.py --- pydns-2.3.0/DNS/Lib.py.orig 2002-04-05 15:15:16 +0200 +++ pydns-2.3.0/DNS/Lib.py 2006-09-29 20:13:07 +0200 @@ -1,3 +1,4 @@ +# -*- coding: latin-1 -*- """ $Id: linkchecker.patch,v 1.8 2006/09/29 18:15:26 rse Exp $ Index: pydns-2.3.0/DNS/Type.py --- pydns-2.3.0/DNS/Type.py.orig 2002-04-05 15:15:17 +0200 +++ pydns-2.3.0/DNS/Type.py 2006-09-29 20:12:53 +0200 @@ -1,3 +1,4 @@ +# -*- coding: latin-1 -*- """ $Id: linkchecker.patch,v 1.8 2006/09/29 18:15:26 rse Exp $