From e107d83d3f7f55f9a756c31f270cc78ed993723f Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 26 Feb 2006 21:42:33 +0000 Subject: The Python modules tries to parse the output of cpp and generate type tables from it. It is too stupid to understand the GCC extension used for (u)int64_t on FreeBSD and DragonFly by the default code. Use -Dlint on those platforms and hope that FreeBSD 10 will arrive after the upstream is fixed. --- sysutils/dbus/distinfo | 3 ++- sysutils/dbus/patches/patch-ad | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 sysutils/dbus/patches/patch-ad (limited to 'sysutils/dbus') diff --git a/sysutils/dbus/distinfo b/sysutils/dbus/distinfo index 92bc69cf8d6..3fc9fd0756d 100644 --- a/sysutils/dbus/distinfo +++ b/sysutils/dbus/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/12/07 15:18:33 joerg Exp $ +$NetBSD: distinfo,v 1.5 2006/02/26 21:42:33 joerg Exp $ SHA1 (dbus-0.23.4.tar.gz) = 57ea3dd1a0ef520b1f891932e7ccd6b8d59eaca9 RMD160 (dbus-0.23.4.tar.gz) = 94c6ed261cbf41695b7cc15c99ef929868f8645d @@ -6,3 +6,4 @@ Size (dbus-0.23.4.tar.gz) = 1288374 bytes SHA1 (patch-aa) = 4f03adb4bf41359a6eed93965786b93d4c92f87d SHA1 (patch-ab) = e0f5955a2b54e557e636f23715fbb6484c479e1f SHA1 (patch-ac) = 7117c0384360702cd725c24f522d275127e65556 +SHA1 (patch-ad) = 31f0321c85296d6431d2db157ff8cc53f8351a04 diff --git a/sysutils/dbus/patches/patch-ad b/sysutils/dbus/patches/patch-ad new file mode 100644 index 00000000000..6833dd0f8a4 --- /dev/null +++ b/sysutils/dbus/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1 2006/02/26 21:42:33 joerg Exp $ + +--- python/extract.py.orig 2006-02-18 14:40:04.000000000 +0000 ++++ python/extract.py +@@ -228,7 +228,10 @@ fd = open(filename) + for line in fd.readlines(): + if line.startswith('#include'): + filename = line.split(' ')[1][1:-2] +- command = "echo '%s'|cpp %s" % (line, cppflags) ++ if sys.platform[:-1] in ("freebsd", "dragonfly"): ++ command = "echo '%s'|cpp -Dlint %s" % (line, cppflags) ++ else: ++ command = "echo '%s'|cpp %s" % (line, cppflags) + sys.stderr.write('running %s' % (command)) + output = commands.getoutput(command) + do_buffer(filename, output) -- cgit v1.2.3