[packages/wget] - adjusted user.xdg.origin.url patch to use xattr.h from glibc instead of obsolete from attr

qboosh qboosh at pld-linux.org
Sat Dec 9 11:10:27 CET 2017


commit 97e88e66040d6b7dc89a91c5245c0476639f8be8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Dec 9 11:11:40 2017 +0100

    - adjusted user.xdg.origin.url patch to use xattr.h from glibc instead of obsolete from attr

 user.xdg.origin.url.patch | 2 +-
 wget.spec                 | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/wget.spec b/wget.spec
index d59d71c..95a73ca 100644
--- a/wget.spec
+++ b/wget.spec
@@ -32,7 +32,6 @@ Patch3:		%{name}-ssl-certs.patch
 Patch4:		user.xdg.origin.url.patch
 Patch5:		%{name}-tests.patch
 URL:		http://www.gnu.org/software/wget/
-BuildRequires:	attr-devel
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	gettext-tools >= 0.18.1
diff --git a/user.xdg.origin.url.patch b/user.xdg.origin.url.patch
index 6f0408b..0cacc5b 100644
--- a/user.xdg.origin.url.patch
+++ b/user.xdg.origin.url.patch
@@ -47,7 +47,7 @@ index df63e1c..b41d5ac 100644
  #include <unistd.h>
  #include <errno.h>
  #include <assert.h>
-+#include <attr/xattr.h>
++#include <sys/xattr.h>
  
  #include "utils.h"
  #include "url.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wget.git/commitdiff/97e88e66040d6b7dc89a91c5245c0476639f8be8



More information about the pld-cvs-commit mailing list