From 441571e9228d2128bc7de706e244cb366a0aa1f6 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Thu, 11 Apr 2013 18:23:35 +0000 Subject: Update patch to fix build with >=libpng-1.6. (Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) --- media-libs/libsfml/ChangeLog | 8 ++++++-- .../libsfml/files/libsfml-1.6-deps-and-flags.patch | 16 +++++++++------- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'media-libs/libsfml') diff --git a/media-libs/libsfml/ChangeLog b/media-libs/libsfml/ChangeLog index f0e99a16e2ff..41111a5f438c 100644 --- a/media-libs/libsfml/ChangeLog +++ b/media-libs/libsfml/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libsfml -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsfml/ChangeLog,v 1.10 2012/12/03 21:35:25 radhermit Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsfml/ChangeLog,v 1.11 2013/04/11 18:23:35 radhermit Exp $ + + 11 Apr 2013; Tim Harder + files/libsfml-1.6-deps-and-flags.patch: + Update patch to fix build with >=libpng-1.6. 03 Dec 2012; Tim Harder libsfml-1.6-r1.ebuild, libsfml-2.0_pre20121126.ebuild: diff --git a/media-libs/libsfml/files/libsfml-1.6-deps-and-flags.patch b/media-libs/libsfml/files/libsfml-1.6-deps-and-flags.patch index 8dcbff56bf83..bd24ce5f9123 100644 --- a/media-libs/libsfml/files/libsfml-1.6-deps-and-flags.patch +++ b/media-libs/libsfml/files/libsfml-1.6-deps-and-flags.patch @@ -1,4 +1,4 @@ ---- SFML-1.6.orig/src/SFML/Audio/Makefile +--- SFML-1.6/src/SFML/Audio/Makefile +++ SFML-1.6/src/SFML/Audio/Makefile @@ -25,7 +25,7 @@ $(CPP) -o $@ -c $< $(CFLAGS) @@ -9,7 +9,7 @@ .PHONY: clean mrproper ---- SFML-1.6.orig/src/SFML/Graphics/GraphicsContext.hpp +--- SFML-1.6/src/SFML/Graphics/GraphicsContext.hpp +++ SFML-1.6/src/SFML/Graphics/GraphicsContext.hpp @@ -30,7 +30,7 @@ //////////////////////////////////////////////////////////// @@ -20,9 +20,9 @@ #include #include ---- SFML-1.6.orig/src/SFML/Graphics/ImageLoader.cpp +--- SFML-1.6/src/SFML/Graphics/ImageLoader.cpp +++ SFML-1.6/src/SFML/Graphics/ImageLoader.cpp -@@ -28,10 +28,10 @@ +@@ -28,11 +28,12 @@ #include extern "C" { @@ -32,11 +32,13 @@ + #include } -#include -+#include #include ++#include ++#include #include ---- SFML-1.6.orig/src/SFML/Graphics/Makefile + +--- SFML-1.6/src/SFML/Graphics/Makefile +++ SFML-1.6/src/SFML/Graphics/Makefile @@ -1,15 +1,7 @@ SRC = $(wildcard *.cpp) @@ -84,7 +86,7 @@ mrproper: clean @rm -rf $(LIBNAME) ---- SFML-1.6.orig/src/SFML/Makefile +--- SFML-1.6/src/SFML/Makefile +++ SFML-1.6/src/SFML/Makefile @@ -4,7 +4,7 @@ ifeq ($(DEBUGBUILD), yes) -- cgit v1.2.3-65-gdbad