From 843ecca5c576542e407919aa719b23ffb89cfc15 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Tue, 11 Dec 2007 12:41:43 +0000 Subject: python-pydirectfb: commit missing patch --- packages/python/python-pydirectfb/.mtn2git_empty | 0 .../python-pydirectfb/fix-directfb-detection.patch | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 packages/python/python-pydirectfb/.mtn2git_empty create mode 100644 packages/python/python-pydirectfb/fix-directfb-detection.patch diff --git a/packages/python/python-pydirectfb/.mtn2git_empty b/packages/python/python-pydirectfb/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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() -- cgit v1.2.3