summaryrefslogtreecommitdiff
path: root/sysutils/dbus
diff options
context:
space:
mode:
authorjoerg <joerg>2006-02-26 21:42:33 +0000
committerjoerg <joerg>2006-02-26 21:42:33 +0000
commite107d83d3f7f55f9a756c31f270cc78ed993723f (patch)
treee59d64a739b5284ecad9f09058582b1d088c8a3c /sysutils/dbus
parentc581a11db5ff5e12d68d1cae5e19df080344d0ab (diff)
downloadpkgsrc-e107d83d3f7f55f9a756c31f270cc78ed993723f.tar.gz
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.
Diffstat (limited to 'sysutils/dbus')
-rw-r--r--sysutils/dbus/distinfo3
-rw-r--r--sysutils/dbus/patches/patch-ad16
2 files changed, 18 insertions, 1 deletions
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)