mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Unbreak on sparc64
PR: ports/76627 Submitted by: Johan van Selst
This commit is contained in:
parent
b4334e3825
commit
9d568474bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127543
@ -32,10 +32,4 @@ PLIST_FILES= bin/dictfmt bin/dictfmt_index2suffix bin/dictfmt_index2word \
|
|||||||
CPPFLAGS= -I${LOCALBASE}/include
|
CPPFLAGS= -I${LOCALBASE}/include
|
||||||
LDFLAGS= -L${LOCALBASE}/lib
|
LDFLAGS= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
||||||
.if ${ARCH} == "sparc64"
|
|
||||||
BROKEN= "Does not compile on sparc64"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
11
textproc/dictfmt/files/patch-decl.h
Normal file
11
textproc/dictfmt/files/patch-decl.h
Normal 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 );
|
11
textproc/dictfmt/files/patch-libmaa::decl.h
Normal file
11
textproc/dictfmt/files/patch-libmaa::decl.h
Normal 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 * );
|
Loading…
Reference in New Issue
Block a user