wok rev 21195

systemd: replaced xattr/xattr.h by sys/xattr.h
author Hans-G?nter Theisgen
date Sat Apr 06 09:20:09 2019 +0100 (2019-04-06)
parents 7414b1f7ec85
children bbb977124ce1
files systemd/receipt systemd/stuff/systemd-195.journal-file.c.patch
line diff
     1.1 --- a/systemd/receipt	Fri Apr 05 17:53:25 2019 +0100
     1.2 +++ b/systemd/receipt	Sat Apr 06 09:20:09 2019 +0100
     1.3 @@ -19,9 +19,9 @@
     1.4  
     1.5  #
     1.6  # Systemd include udev source and must be splitted. Systemd can replace the full
     1.7 -# boot process and handle devices (with udisk) but is quiet heavy and compicated.
     1.8 +# boot process and handle devices (with udisk) but is quite heavy and complicated.
     1.9  # Our goal is to have automounting of removable media, since hal is dead we must
    1.10 -# find/use an other way, but systemd-udisk-polkit and friends... seriously in SliTaz
    1.11 +# use another way, but systemd-udisk-polkit and friends... seriously in SliTaz
    1.12  # by default ?
    1.13  #
    1.14  # Actually we can have automount using the Kernel Polling feature and spacefm
    1.15 @@ -30,6 +30,9 @@
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 +	patch --strip=0 --input=$stuff/systemd-195.journal-file.c.patch \
    1.20 +		src/journal/journal-file.c
    1.21 +
    1.22  	./configure						\
    1.23  		--prefix=/usr					\
    1.24  		--sysconfdir=/etc				\
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/systemd/stuff/systemd-195.journal-file.c.patch	Sat Apr 06 09:20:09 2019 +0100
     2.3 @@ -0,0 +1,11 @@
     2.4 +--- journal-file.c.orig	2012-10-18 03:06:55.028130249 +0100
     2.5 ++++ journal-file.c	2019-04-06 09:03:39.824780717 +0100
     2.6 +@@ -28,7 +28,7 @@
     2.7 + #include <stddef.h>
     2.8 + 
     2.9 + #ifdef HAVE_XATTR
    2.10 +-#include <attr/xattr.h>
    2.11 ++#include <sys/xattr.h>
    2.12 + #endif
    2.13 + 
    2.14 + #include "journal-def.h"