diff options
author | naddy <naddy@FreeBSD.org> | 2010-04-20 04:23:00 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2010-04-20 04:23:00 +0800 |
commit | a93089145c5a8dd6c724d7d5ce69702bbf750899 (patch) | |
tree | 49d034b5fb2b347158a2add70d8a25eff97ed8ea /archivers/gcpio | |
parent | 59f6b60803f74b26f6ed9776e54dd2e446b570a1 (diff) | |
download | freebsd-ports-graphics-a93089145c5a8dd6c724d7d5ce69702bbf750899.tar.gz freebsd-ports-graphics-a93089145c5a8dd6c724d7d5ce69702bbf750899.tar.zst freebsd-ports-graphics-a93089145c5a8dd6c724d7d5ce69702bbf750899.zip |
* Do not mark as broken on sparc64.
* Fix the build framework so it can successfully #define a wrapper for
stat() on those systems where namei() behaves strangely--independent
of architecture.
Diffstat (limited to 'archivers/gcpio')
-rw-r--r-- | archivers/gcpio/Makefile | 8 | ||||
-rw-r--r-- | archivers/gcpio/files/patch-src_filetypes.h | 12 |
2 files changed, 13 insertions, 7 deletions
diff --git a/archivers/gcpio/Makefile b/archivers/gcpio/Makefile index 4ce10671c5b..282c828c76e 100644 --- a/archivers/gcpio/Makefile +++ b/archivers/gcpio/Makefile @@ -37,10 +37,4 @@ MAN1= gcpio.1 regression-test: build @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= Does not compile on sparc64: invalid use of stat macro -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/archivers/gcpio/files/patch-src_filetypes.h b/archivers/gcpio/files/patch-src_filetypes.h new file mode 100644 index 00000000000..baa94df2d12 --- /dev/null +++ b/archivers/gcpio/files/patch-src_filetypes.h @@ -0,0 +1,12 @@ +--- src/filetypes.h.orig 2010-04-19 22:01:16.000000000 +0200 ++++ src/filetypes.h 2010-04-19 22:04:16.000000000 +0200 +@@ -81,5 +81,9 @@ + #ifndef S_ISLNK + #define lstat stat + #endif ++#ifndef lstat + int lstat (); ++#endif ++#ifndef stat + int stat (); ++#endif |