1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Unbreak on sparc64

PR:		ports/76627
Submitted by:	Johan van Selst
This commit is contained in:
Volker Stolz 2005-01-28 12:25:44 +00:00
parent b4334e3825
commit 9d568474bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127543
3 changed files with 23 additions and 7 deletions

View File

@ -32,10 +32,4 @@ PLIST_FILES= bin/dictfmt bin/dictfmt_index2suffix bin/dictfmt_index2word \
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- decl.h Mon Jan 24 18:44:03 2005
+++ decl.h Mon Jan 24 18:32:44 2005
@@ -28,7 +28,7 @@
declarations for standard library calls. We provide them here for
situations that we know about. */
-#if defined(__sparc__) && !defined(__linux__)
+#if defined(__sparc__) && !defined(__linux__) && !defined(__FreeBSD__)
/* Both SunOS and Solaris */
extern int getrusage( int who, struct rusage * );
extern void bcopy( const void *, void *, int );

View File

@ -0,0 +1,11 @@
--- libmaa/decl.h Mon Jan 24 18:39:34 2005
+++ libmaa/decl.h Mon Jan 24 18:38:24 2005
@@ -28,7 +28,7 @@
declarations for standard library calls. We provide them here for
situations that we know about. */
-#if defined(__sparc__) && !defined(linux)
+#if defined(__sparc__) && !defined(linux) && !defined(__FreeBSD__)
#include <sys/resource.h>
/* Both SunOS and Solaris */
extern int getrusage( int who, struct rusage * );