Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139462 Details for
Bug 203514
games-puzzle/tetrinet: Proper fix for IPv6 compilation error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch without extra junk
tetrinet-no-ipv6-fix.patch (text/plain), 1.06 KB, created by
Andrew Church
on 2007-12-27 20:55:05 UTC
(
hide
)
Description:
Proposed patch without extra junk
Filename:
MIME Type:
Creator:
Andrew Church
Created:
2007-12-27 20:55:05 UTC
Size:
1.06 KB
patch
obsolete
>diff -urN /usr/portage/games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6-fix.patch tetrinet/files/tetrinet-0.11-no-ipv6-fix.patch >--- /usr/portage/games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6-fix.patch 1970-01-01 09:00:00 +0900 >+++ tetrinet/files/tetrinet-0.11-no-ipv6-fix.patch 2007-12-28 05:36:39 +0900 >@@ -0,0 +1,11 @@ >+--- ../tetrinet-0.11-orig/sockets.c 2003-09-10 04:15:04 +0900 >++++ sockets.c 2007-12-28 05:35:49 +0900 >+@@ -188,7 +188,7 @@ >+ return -1; >+ } >+ if (ipbuf) >+- memcpy(retbuf, &sa.sin_addr, 4); >++ memcpy(ipbuf, &sa.sin_addr, 4); >+ #endif >+ >+ return sock; >diff -urN /usr/portage/games-puzzle/tetrinet/tetrinet-0.11.ebuild tetrinet/tetrinet-0.11.ebuild >--- /usr/portage/games-puzzle/tetrinet/tetrinet-0.11.ebuild 2006-12-07 02:35:56 +0900 >+++ tetrinet/tetrinet-0.11.ebuild 2007-12-28 05:38:05 +0900 >@@ -17,10 +17,9 @@ > > src_unpack() { > unpack ${A} >- return 0 > cd "${S}" >+ epatch "${FILESDIR}"/${P}-no-ipv6-fix.patch > >- # for now, make sure IPv6 is always on #32860 > use ipv6 && append-flags -DHAVE_IPV6 > sed -i \ > -e 's/-DHAVE_IPV6//' \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203514
:
139461
| 139462