mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
python_imaging: use libjpeg and libpng.
This commit is contained in:
35
dev-python/imaging/patches/python_imaging-1.1.7.patchset
Normal file
35
dev-python/imaging/patches/python_imaging-1.1.7.patchset
Normal file
@@ -0,0 +1,35 @@
|
||||
From c51fc3e85f60cf905b8620c751fd97fcc4e185c4 Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sun, 29 Nov 2015 10:17:56 +0100
|
||||
Subject: Fix libraries search paths.
|
||||
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 5d4d53a..844e386 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -15,7 +15,7 @@ except OSError:
|
||||
|
||||
def libinclude(root):
|
||||
# map root to (root/lib, root/include)
|
||||
- return os.path.join(root, "lib"), os.path.join(root, "include")
|
||||
+ return os.path.join(root, "develop/lib"), os.path.join(root, "develop/headers")
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Library pointers.
|
||||
@@ -34,9 +34,9 @@ def libinclude(root):
|
||||
# TIFF_ROOT = libinclude("/opt/tiff")
|
||||
|
||||
TCL_ROOT = None
|
||||
-JPEG_ROOT = None
|
||||
-ZLIB_ROOT = None
|
||||
-TIFF_ROOT = None
|
||||
+JPEG_ROOT = libinclude("/system")
|
||||
+ZLIB_ROOT = libinclude("/system")
|
||||
+TIFF_ROOT = libinclude("/system")
|
||||
FREETYPE_ROOT = None
|
||||
LCMS_ROOT = None
|
||||
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user