View | Details | Raw Unified | Return to bug 169644
Collapse All | Expand All

(-)ftp/proftpd/Makefile.orig (-4 lines)
Lines 143-152 Link Here
143
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-8-src-fsio.c
143
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-8-src-fsio.c
144
.endif
144
.endif
145
145
146
.if ${ARCH} == "sparc64" && ${OSVERSION} > 900000
147
BROKEN=	Does not compile on sparc64-9: storage size of 'utx' isn't known
148
.endif
149
150
.if !defined(WITHOUT_RATIO)
146
.if !defined(WITHOUT_RATIO)
151
MODULES:=${MODULES}:mod_ratio
147
MODULES:=${MODULES}:mod_ratio
152
PLIST_SUB+=	MOD_RATIO=""
148
PLIST_SUB+=	MOD_RATIO=""
(-)ftp/proftpd/files/patch-src-wtmp.c (+18 lines)
Lines 1-5 Link Here
1
--- src/wtmp.c.orig	2010-07-05 09:52:50.147213835 +0200
1
--- src/wtmp.c.orig	2010-07-05 09:52:50.147213835 +0200
2
+++ src/wtmp.c	2010-07-05 09:53:25.075513542 +0200
2
+++ src/wtmp.c	2010-07-05 09:53:25.075513542 +0200
3
@@ -42,7 +42,7 @@
4
     !(defined(LINUX) || defined(__hpux) || defined (_AIX))
5
   /* This "auxilliary" utmp doesn't exist under linux. */
6
 
7
-#if defined(__sparcv9) && !defined(__NetBSD__)
8
+#if defined(__sparcv9) && !defined(__NetBSD__) && !defined(__FreeBSD__)
9
   struct futmpx utx;
10
   time_t t;
11
 
12
@@ -97,7 +97,7 @@
13
 #else /* SVR4 */
14
     utx.ut_syslen = strlen(utx.ut_host)+1;
15
 
16
-#  ifdef __sparcv9
17
+#  ifdef __sparcv9 && !defined(__FreeBSD__)
18
     time(&t);
19
     utx.ut_tv.tv_sec = (time32_t)t;
20
 #  else
3
@@ -126,7 +126,9 @@
21
@@ -126,7 +126,9 @@
4
   }
22
   }

Return to bug 169644