mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
pycares: bump version.
This commit is contained in:
23
dev-python/pycares/patches/pycares-3.0.0.patchset
Normal file
23
dev-python/pycares/patches/pycares-3.0.0.patchset
Normal file
@@ -0,0 +1,23 @@
|
||||
From 453186ac548dd30c1749e26093c61246617d5e8c Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Wed, 11 Jul 2018 14:02:51 +0200
|
||||
Subject: Add Haiku support.
|
||||
|
||||
Just pretend we are NetBSD.
|
||||
|
||||
diff --git a/setup_cares.py b/setup_cares.py
|
||||
index 97c4cc6..5044766 100644
|
||||
--- a/setup_cares.py
|
||||
+++ b/setup_cares.py
|
||||
@@ -78,6 +78,8 @@ class cares_build_ext(build_ext):
|
||||
elif sys.platform.startswith('freebsd'):
|
||||
self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_freebsd'))
|
||||
self.compiler.add_library('kvm')
|
||||
+ elif sys.platform.startswith('haiku'):
|
||||
+ self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_netbsd'))
|
||||
elif sys.platform.startswith('dragonfly'):
|
||||
self.compiler.add_include_dir(os.path.join(self.cares_dir, 'src/config_freebsd'))
|
||||
elif sys.platform.startswith('netbsd'):
|
||||
--
|
||||
2.16.4
|
||||
|
||||
Reference in New Issue
Block a user