diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2016-06-05 10:05:27 -0400 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2016-06-05 10:05:42 -0400 |
commit | 33baed2bad2b665b618f77a5042a05fa8aa444d4 (patch) | |
tree | 8869f10d2e2ec16b0bf09e8f9e9691b9f3f319cd /games-action | |
parent | mail-mta/postfix: version bump to postfix-3.2_pre20160604 (diff) | |
download | gentoo-33baed2bad2b665b618f77a5042a05fa8aa444d4.tar.gz gentoo-33baed2bad2b665b618f77a5042a05fa8aa444d4.tar.bz2 gentoo-33baed2bad2b665b618f77a5042a05fa8aa444d4.zip |
games-action/maelstrom: build with gcc53 with patch from Andrew Savchenko (bug #585098)
Package-Manager: portage-2.2.28
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/maelstrom/files/maelstrom-3.0.6-gcc53.patch | 11 | ||||
-rw-r--r-- | games-action/maelstrom/maelstrom-3.0.6-r2.ebuild | 5 |
2 files changed, 14 insertions, 2 deletions
diff --git a/games-action/maelstrom/files/maelstrom-3.0.6-gcc53.patch b/games-action/maelstrom/files/maelstrom-3.0.6-gcc53.patch new file mode 100644 index 000000000000..db7624bacf91 --- /dev/null +++ b/games-action/maelstrom/files/maelstrom-3.0.6-gcc53.patch @@ -0,0 +1,11 @@ +--- Maelstrom-3.0.6/Maelstrom-netd.c.orig 2016-06-04 06:02:44.000000000 +0300 ++++ Maelstrom-3.0.6/Maelstrom-netd.c 2016-06-05 13:45:11.422533649 +0300 +@@ -204,7 +204,7 @@ + memset(&serv_addr, 0, sizeof(serv_addr)); + serv_addr.sin_family = AF_INET; + serv_addr.sin_addr.s_addr = htonl(INADDR_ANY); +- serv_addr.sin_port = htons(NETPLAY_PORT-1); ++ serv_addr.sin_port = htons(NETPLAY_PORT - 1); + if (bind(netfd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) < 0) { + perror("Can't bind local address"); + exit(3); diff --git a/games-action/maelstrom/maelstrom-3.0.6-r2.ebuild b/games-action/maelstrom/maelstrom-3.0.6-r2.ebuild index 32a05bce9e22..ff716e142bec 100644 --- a/games-action/maelstrom/maelstrom-3.0.6-r2.ebuild +++ b/games-action/maelstrom/maelstrom-3.0.6-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -26,7 +26,8 @@ src_prepare() { "${FILESDIR}"/${P}-security.patch \ "${FILESDIR}"/${P}-64bits.patch \ "${FILESDIR}"/${P}-gcc34.patch \ - "${FILESDIR}"/${P}-warnings.patch + "${FILESDIR}"/${P}-warnings.patch \ + "${FILESDIR}"/${P}-gcc53.patch # Install the data into $(datadir)/..., not $(prefix)/games/... sed -i \ |