From 362c0a265b5d0f3d6f6d815e18b8e762dd711ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 2 Nov 2015 11:11:24 +0100 Subject: [PATCH] pcsxr: unbreak musl + fix download location --- srcpkgs/pcsxr/patches/musl-fcntl_h.patch | 10 ++++++++++ srcpkgs/pcsxr/template | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/pcsxr/patches/musl-fcntl_h.patch diff --git a/srcpkgs/pcsxr/patches/musl-fcntl_h.patch b/srcpkgs/pcsxr/patches/musl-fcntl_h.patch new file mode 100644 index 0000000000..1a91a04f3e --- /dev/null +++ b/srcpkgs/pcsxr/patches/musl-fcntl_h.patch @@ -0,0 +1,10 @@ +--- plugins/dfinput/pad.c 2013-08-23 01:57:03.000000000 +0200 ++++ plugins/dfinput/pad.c 2015-11-02 11:08:45.328649386 +0100 +@@ -22,6 +22,7 @@ + #include + #include + #endif ++#include + + #if SDL_VERSION_ATLEAST(1,3,0) + int has_haptic; diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template index fc1e41e71f..58bea4a0a2 100644 --- a/srcpkgs/pcsxr/template +++ b/srcpkgs/pcsxr/template @@ -1,7 +1,7 @@ # Template file for 'pcsxr' pkgname=pcsxr version=1.9.93 -revision=3 +revision=4 lib32disabled=yes wrksrc="${pkgname}" build_style=gnu-configure @@ -13,7 +13,7 @@ short_desc="A Sony PlayStation (PSX) emulator based on the PCSX-df project" maintainer="Juan RP " license="GPL" homepage="http://pcsxr.codeplex.com/" -distfiles="ftp://ftp.archlinux.org/other/community/pcsxr/pcsxr-${version}.tar.bz2" +distfiles="https://sources.archlinux.org/other/community/pcsxr/pcsxr-${version}.tar.bz2" checksum=4d114bb8cd6a278d28c35020d62b928be4be7d6a1d45d7da3c808e4a4681fd9d pre_configure() {