FreeBSD Bugzilla – Attachment 73677 Details for
Bug 106746
[PATCH] net/mpd: fix build with gcc41
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mpd-3.18_4.patch
mpd-3.18_4.patch (text/plain), 1.81 KB, created by
trasz
on 2006-12-15 01:00:25 UTC
(
hide
)
Description:
mpd-3.18_4.patch
Filename:
MIME Type:
Creator:
trasz
Created:
2006-12-15 01:00:25 UTC
Size:
1.81 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/net/mpd/Makefile /home/trasz/mpd/Makefile >--- /usr/ports/net/mpd/Makefile Sat Nov 25 17:46:44 2006 >+++ /home/trasz/mpd/Makefile Fri Dec 15 02:02:12 2006 >@@ -21,7 +21,6 @@ > MANCOMPRESSED= maybe > > USE_OPENSSL= yes >-USE_RC_SUBR= yes > MAKE_ENV= COPTS="${COPTS} -I${OPENSSLINC}" LDADD="${LDADD} -L${OPENSSLLIB}" > > .include <bsd.port.pre.mk> >diff -ruN --exclude=CVS /usr/ports/net/mpd/files/patch-src::iface.h /home/trasz/mpd/files/patch-src::iface.h >--- /usr/ports/net/mpd/files/patch-src::iface.h Thu Jan 1 01:00:00 1970 >+++ /home/trasz/mpd/files/patch-src::iface.h Fri Dec 15 02:02:12 2006 >@@ -0,0 +1,10 @@ >+--- src/iface.h.orig Fri Dec 15 01:39:27 2006 >++++ src/iface.h Fri Dec 15 01:40:35 2006 >+@@ -21,6 +21,7 @@ >+ #include "mbuf.h" >+ #include "timer.h" >+ #include "vars.h" >++#include "command.h" >+ >+ /* >+ * DEFINITIONS >diff -ruN --exclude=CVS /usr/ports/net/mpd/files/patch-src::radius.c /home/trasz/mpd/files/patch-src::radius.c >--- /usr/ports/net/mpd/files/patch-src::radius.c Thu Jan 1 01:00:00 1970 >+++ /home/trasz/mpd/files/patch-src::radius.c Fri Dec 15 02:02:12 2006 >@@ -0,0 +1,20 @@ >+--- src/radius.c.orig Fri Dec 15 01:42:07 2006 >++++ src/radius.c Fri Dec 15 01:55:53 2006 >+@@ -922,7 +922,7 @@ >+ case RAD_MICROSOFT_MS_CHAP_ERROR: >+ /* there is a nullbyte on the first pos, don't know why */ >+ if (((const char *)data)[0] == '\0') { >+- ((const char *)data)++; >++ data+=sizeof(const char); >+ len--; >+ } >+ free(rad->mschap_error); >+@@ -945,7 +945,7 @@ >+ * Only point at the String field if we don't think the >+ * peer has misformatted the response. >+ */ >+- ((const char *)data)++; >++ data+=sizeof(const char); >+ len--; >+ } else >+ Log(LG_RADIUS, ("[%s] RADIUS: %s: Warning: The MS-CHAP2-Success attribute is mis-formatted. Compensating",
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 106746
: 73677