summaryrefslogtreecommitdiff
path: root/dev-python/pythonmagick/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pythonmagick/files')
-rw-r--r--dev-python/pythonmagick/files/pythonmagick-0.6-gentoo_misc_fixes.patch23
-rw-r--r--dev-python/pythonmagick/files/pythonmagick_build.patch10
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pythonmagick/files/pythonmagick-0.6-gentoo_misc_fixes.patch b/dev-python/pythonmagick/files/pythonmagick-0.6-gentoo_misc_fixes.patch
new file mode 100644
index 0000000..9455110
--- /dev/null
+++ b/dev-python/pythonmagick/files/pythonmagick-0.6-gentoo_misc_fixes.patch
@@ -0,0 +1,23 @@
+--- SConstruct.orig 2006-10-18 00:57:28.000000000 +0200
++++ SConstruct 2006-10-18 00:58:26.000000000 +0200
+@@ -20,16 +20,17 @@
+ IM_LIB_PATH='/usr/lib/'
+ GD_LIBS=['Magick','Magick++','Wand']
+ PYTHON_INCLUDE='/usr/include/python2.4'
+- BOOST_PYTHON_LIB=['libboost_python-gcc']
+- CPP_FLAGS=['-DBOOST_PYTHON_STATIC_LIB','-O2']
++ BOOST_PYTHON_LIB=['libboost_python']
++ CPP_FLAGS=['-DBOOST_PYTHON_STATIC_LIB']
+
+ # setup the environment
+ env=Environment(
+ LIBPATH=['./',BOOSTLIBPATH, IM_LIB_PATH],
+ CPPPATH=[BOOST, PYTHON_INCLUDE] + IM_INCLUDE_PATH,
+- RPATH=['./',BOOSTLIBPATH],
++ RPATH=[BOOSTLIBPATH],
+ CPPFLAGS=CPP_FLAGS
+ )
++env.SConsignFile()
+
+ def fix_includes(target,source,env):
+ for t in target:
diff --git a/dev-python/pythonmagick/files/pythonmagick_build.patch b/dev-python/pythonmagick/files/pythonmagick_build.patch
new file mode 100644
index 0000000..f06b92b
--- /dev/null
+++ b/dev-python/pythonmagick/files/pythonmagick_build.patch
@@ -0,0 +1,10 @@
+--- SConstruct.old 2008-04-23 01:23:33.983934532 +0200
++++ SConstruct 2008-04-23 01:24:04.783235908 +0200
+@@ -31,6 +31,7 @@
+ CPPFLAGS='-march=prescott -O2 -pipe -fomit-frame-pointer'.split()+CPP_FLAGS
+ )
+ env.SConsignFile()
++env.ParseConfig('pkg-config --cflags --libs Magick++')
+
+ def fix_includes(target,source,env):
+ for t in target: