summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-04-02 20:15:09 +0000
committerMatti Bickel <mabi@gentoo.org>2010-04-02 20:15:09 +0000
commitbcbe92e3bd84d6f6788d056836491f3c67aebf62 (patch)
treedfb79510b1e8d3ba25f339aa640e79036001e54f /media-libs/pdflib/files
parentVersion bump. (diff)
downloadgentoo-2-bcbe92e3bd84d6f6788d056836491f3c67aebf62.tar.gz
gentoo-2-bcbe92e3bd84d6f6788d056836491f3c67aebf62.tar.bz2
gentoo-2-bcbe92e3bd84d6f6788d056836491f3c67aebf62.zip
bump
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'media-libs/pdflib/files')
-rw-r--r--media-libs/pdflib/files/pdflib-noexec-stack.patch9
-rw-r--r--media-libs/pdflib/files/pdflib-python-libdir.patch14
2 files changed, 23 insertions, 0 deletions
diff --git a/media-libs/pdflib/files/pdflib-noexec-stack.patch b/media-libs/pdflib/files/pdflib-noexec-stack.patch
new file mode 100644
index 000000000000..e383dcb2c965
--- /dev/null
+++ b/media-libs/pdflib/files/pdflib-noexec-stack.patch
@@ -0,0 +1,9 @@
+--- libs/flate/match.S.old 2009-04-09 13:18:11.000000000 +0200
++++ libs/flate/match.S 2009-05-02 03:51:42.000000000 +0200
+@@ -364,3 +364,6 @@
+ popl %edi
+ popl %ebp
+ match_init: ret
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
diff --git a/media-libs/pdflib/files/pdflib-python-libdir.patch b/media-libs/pdflib/files/pdflib-python-libdir.patch
new file mode 100644
index 000000000000..577ee9449775
--- /dev/null
+++ b/media-libs/pdflib/files/pdflib-python-libdir.patch
@@ -0,0 +1,14 @@
+--- PDFlib-Lite-7.0.4p4.orig/configure.in 2010-04-02 20:25:18.000000000 +0200
++++ PDFlib-Lite-7.0.4p4/configure.in 2010-04-02 20:26:10.000000000 +0200
+@@ -849,9 +849,8 @@
+ WITH_PYTHON=no
+ else
+ PYTHONLIBDIR=`cat << EOF | python
+-import sys
+-import string
+-print string.join(filter(lambda x: -1 != string.find(x, 'dynload'), sys.path))
++import distutils.sysconfig
++print distutils.sysconfig.get_python_lib()
+ EOF
+ `
+ if test "$PYTHONLIBDIR" = "" ; then