diff options
Diffstat (limited to 'sysutils/dbus/patches/patch-ad')
-rw-r--r-- | sysutils/dbus/patches/patch-ad | 16 |
1 files changed, 16 insertions, 0 deletions
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) |