From 6a9d6a4dad1d42d6683d1bcc1156f8c960d0d258 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@debian.org>
Date: Sun, 28 Oct 2018 19:13:53 +0100
Subject: [PATCH] Drop the fix-non-linux-patch, no longer needed
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

… as the attr library is not needed anymore (at all).
---
 debian/patches/fixup-non-linux.patch | 35 ----------------------------
 debian/patches/series                |  1 -
 2 files changed, 36 deletions(-)
 delete mode 100644 debian/patches/fixup-non-linux.patch

diff --git a/debian/patches/fixup-non-linux.patch b/debian/patches/fixup-non-linux.patch
deleted file mode 100644
index 2834c83..0000000
--- a/debian/patches/fixup-non-linux.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Author: iustin@debian.org
-Subject: Fix building on hurd and kfreebsd
-Description: Even though both of these arches don't have proper xattr support,
- the package previously built on them.
---- a/setup.py
-+++ b/setup.py
-@@ -14,7 +14,7 @@
- author = "Iustin Pop"
- author_email = "iustin@k1024.org"
- libraries = []
--if platform.system() == 'Linux':
-+if platform.system() != 'Darwin':
-     libraries.append("attr")
- macros = [
-     ("_XATTR_VERSION", '"%s"' % version),
---- a/xattr.c
-+++ b/xattr.c
-@@ -25,7 +25,7 @@
- #include <Python.h>
- #if defined(__APPLE__)
- #include <sys/xattr.h>
--#elif defined(__linux__)
-+#else
- #include <attr/xattr.h>
- #endif
- #include <stdio.h>
-@@ -251,7 +251,7 @@
-     return fremovexattr(filedes, name, 0);
- }
- 
--#elif defined(__linux__)
-+#else
- #define _listxattr(path, list, size) listxattr(path, list, size)
- #define _llistxattr(path, list, size) llistxattr(path, list, size)
- #define _flistxattr(fd, list, size) flistxattr(fd, list, size)
diff --git a/debian/patches/series b/debian/patches/series
index 3f233c4..6712e7b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
 sphinx-1.3.patch
-fixup-non-linux.patch
-- 
2.39.5