Diff libsfml-2.5.1-r2 with a libsfml-2.6.0

/usr/portage/media-libs/libsfml/libsfml-2.6.0.ebuild 2023-10-09 14:52:31.692368406 +0300
11 11

  
12 12
LICENSE="ZLIB"
13 13
SLOT="0/$(ver_cut 1-2)"
14
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
14
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
15 15
IUSE="debug doc examples"
16 16

  
17 17
RDEPEND="
18 18
	media-libs/flac:=
19 19
	media-libs/freetype:2
20 20
	media-libs/libjpeg-turbo:=
21
	media-libs/libpng:=
22 21
	media-libs/libogg
22
	media-libs/libpng:=
23 23
	media-libs/libvorbis
24 24
	media-libs/openal
25 25
	sys-libs/zlib
26 26
	virtual/opengl
27 27
	x11-libs/libX11
28
	x11-libs/libXcursor
28 29
	x11-libs/libXrandr
29 30
	x11-libs/libxcb
30 31
	x11-libs/xcb-util-image
31 32
	kernel_linux? ( virtual/libudev:= )
32 33
"
33
DEPEND="${RDEPEND}"
34
DEPEND="${RDEPEND}
35
	x11-base/xorg-proto"
34 36
BDEPEND="
35 37
	doc? ( app-doc/doxygen )
36 38
"
37 39

  
38 40
DOCS=( changelog.md readme.md )
39 41

  
40
S="${WORKDIR}/SFML-${PV}"
42
PATCHES=( "${FILESDIR}"/libsfml-2.6.0-supress-werror.patch )
41 43

  
42
PATCHES=(
43
	"${FILESDIR}"/${P}-musl-1.2.3-nullptr.patch
44
	"${FILESDIR}"/${P}-clang-16-auto_ptr.patch
45
)
44
S="${WORKDIR}/SFML-${PV}"
46 45

  
47 46
src_prepare() {
48 47
	sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \
Thank you!