FreeBSD Bugzilla – Attachment 125942 Details for
Bug 169644
ftp/proftpd: unmark as broken on sparcv9
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.23 KB, created by
Dmitry Afanasiev
on 2012-07-04 14:50:08 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Afanasiev
Created:
2012-07-04 14:50:08 UTC
Size:
1.23 KB
patch
obsolete
>--- ftp/proftpd/Makefile 2012-07-04 17:24:23.658119408 +0400 >+++ ftp/proftpd/Makefile.orig 2012-07-04 17:27:05.612121724 +0400 >@@ -143,10 +143,6 @@ > EXTRA_PATCHES+= ${FILESDIR}/extra-patch-8-src-fsio.c > .endif > >-.if ${ARCH} == "sparc64" && ${OSVERSION} > 900000 >-BROKEN= Does not compile on sparc64-9: storage size of 'utx' isn't known >-.endif >- > .if !defined(WITHOUT_RATIO) > MODULES:=${MODULES}:mod_ratio > PLIST_SUB+= MOD_RATIO="" >--- ftp/proftpd/files/patch-src-wtmp.c.orig 2012-07-04 16:24:23.633120256 +0400 >+++ ftp/proftpd/files/patch-src-wtmp.c 2012-07-04 16:33:43.074120690 +0400 >@@ -1,5 +1,23 @@ > --- src/wtmp.c.orig 2010-07-05 09:52:50.147213835 +0200 > +++ src/wtmp.c 2010-07-05 09:53:25.075513542 +0200 >+@@ -42,7 +42,7 @@ >+ !(defined(LINUX) || defined(__hpux) || defined (_AIX)) >+ /* This "auxilliary" utmp doesn't exist under linux. */ >+ >+-#if defined(__sparcv9) && !defined(__NetBSD__) >++#if defined(__sparcv9) && !defined(__NetBSD__) && !defined(__FreeBSD__) >+ struct futmpx utx; >+ time_t t; >+ >+@@ -97,7 +97,7 @@ >+ #else /* SVR4 */ >+ utx.ut_syslen = strlen(utx.ut_host)+1; >+ >+-# ifdef __sparcv9 >++# ifdef __sparcv9 && !defined(__FreeBSD__) >+ time(&t); >+ utx.ut_tv.tv_sec = (time32_t)t; >+ # else > @@ -126,7 +126,9 @@ > }
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 169644
: 125942