summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-12-11 12:42:24 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-12-11 12:42:24 +0000
commit53a0e5bd875136f23bbc08ae926d2bf9f91ea247 (patch)
tree904507cae8c2458a1a00b2c2f28678c9256dc4e3 /packages
parentb825ea3703438e811a8d55e2bbea5254e3bd6881 (diff)
parent843ecca5c576542e407919aa719b23ffb89cfc15 (diff)
merge of '91d5e4c4066a9c5a157af1cecfa08fa827e70cb1'
and 'cb2356de53f19e13c8306f4976bcf0f1b23b36e0'
Diffstat (limited to 'packages')
-rw-r--r--packages/python/python-pydirectfb/.mtn2git_empty0
-rw-r--r--packages/python/python-pydirectfb/fix-directfb-detection.patch16
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/python/python-pydirectfb/.mtn2git_empty b/packages/python/python-pydirectfb/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/python/python-pydirectfb/.mtn2git_empty
diff --git a/packages/python/python-pydirectfb/fix-directfb-detection.patch b/packages/python/python-pydirectfb/fix-directfb-detection.patch
new file mode 100644
index 0000000000..c8b7cc805a
--- /dev/null
+++ b/packages/python/python-pydirectfb/fix-directfb-detection.patch
@@ -0,0 +1,16 @@
+Index: pydirectfb/setup.py
+===================================================================
+--- pydirectfb.orig/setup.py
++++ pydirectfb/setup.py
+@@ -11,9 +11,10 @@
+ Check dependencies add add the flags to include_dirs, library_dirs and
+ libraries. The basic logic is taken from pygame.
+ """
+- command = name + '-config --version --cflags --libs 2>/dev/null'
++ command = 'pkg-config %s --modversion --cflags --libs 2>/dev/null' % name
+ try:
+ config = os.popen(command).readlines()
++ print config
+ if len(config) == 0:
+ raise ValueError, 'command not found'
+ flags = (' '.join(config[1:]) + ' ').split()