[oe-commits] org.oe.dev python-pydirectfb: commit missing patch

mickeyl commit openembedded-commits at lists.openembedded.org
Tue Dec 11 13:04:52 UTC 2007


python-pydirectfb: commit missing patch

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: cb2356de53f19e13c8306f4976bcf0f1b23b36e0
ViewMTN: http://monotone.openembedded.org/revision/info/cb2356de53f19e13c8306f4976bcf0f1b23b36e0
Files:
1
packages/python/python-pydirectfb
packages/python/python-pydirectfb/fix-directfb-detection.patch
Diffs:

#
# mt diff -r5480bec3f64046446cb2d5fdbba10a7a45e5d5f7 -rcb2356de53f19e13c8306f4976bcf0f1b23b36e0
#
# 
# 
# add_dir "packages/python/python-pydirectfb"
# 
# add_file "packages/python/python-pydirectfb/fix-directfb-detection.patch"
#  content [f25fa2882b342ba3de9b944959b575df150dfd5b]
# 
============================================================
--- packages/python/python-pydirectfb/fix-directfb-detection.patch	f25fa2882b342ba3de9b944959b575df150dfd5b
+++ packages/python/python-pydirectfb/fix-directfb-detection.patch	f25fa2882b342ba3de9b944959b575df150dfd5b
@@ -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()






More information about the Openembedded-commits mailing list