diff options
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/quadra/files/quadra-1.3.0-clang.patch | 10 | ||||
-rw-r--r-- | games-puzzle/quadra/quadra-1.3.0.ebuild | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/games-puzzle/quadra/files/quadra-1.3.0-clang.patch b/games-puzzle/quadra/files/quadra-1.3.0-clang.patch new file mode 100644 index 000000000000..07fda7ba02dd --- /dev/null +++ b/games-puzzle/quadra/files/quadra-1.3.0-clang.patch @@ -0,0 +1,10 @@ +https://bugs.gentoo.org/730862 +--- a/source/update.cc ++++ b/source/update.cc +@@ -87,4 +87,4 @@ + buf.resize(0); +- buf.append("GET "UPDATE_PATH" HTTP/1.0\r\n"); +- buf.append("Host: "UPDATE_HOST"\r\n"); ++ buf.append("GET " UPDATE_PATH " HTTP/1.0\r\n"); ++ buf.append("Host: " UPDATE_HOST "\r\n"); + buf.append("Connection: close\r\n"); diff --git a/games-puzzle/quadra/quadra-1.3.0.ebuild b/games-puzzle/quadra/quadra-1.3.0.ebuild index d682ec7d3d49..f06e6e9da9b9 100644 --- a/games-puzzle/quadra/quadra-1.3.0.ebuild +++ b/games-puzzle/quadra/quadra-1.3.0.ebuild @@ -20,6 +20,10 @@ RDEPEND=" sys-libs/zlib" DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-clang.patch +) + src_prepare() { default sed -i -e "/^datagamesdir/s|\/games|\/${PN}|" Makefile.am || die |