diff options
author | tabthorpe <tabthorpe@FreeBSD.org> | 2008-01-17 23:37:05 +0800 |
---|---|---|
committer | tabthorpe <tabthorpe@FreeBSD.org> | 2008-01-17 23:37:05 +0800 |
commit | fbaccb582ec59e2d41361f6546292e4c392ad230 (patch) | |
tree | c64010089ff3df380ef1b71d36cecdc81dc6163f /devel | |
parent | f34c52cac59d0a3c419ab8da367db805a60c6615 (diff) | |
download | freebsd-ports-graphics-fbaccb582ec59e2d41361f6546292e4c392ad230.tar.gz freebsd-ports-graphics-fbaccb582ec59e2d41361f6546292e4c392ad230.tar.zst freebsd-ports-graphics-fbaccb582ec59e2d41361f6546292e4c392ad230.zip |
- Unbreak on sparc64
* Thanks to upline developer Carlo Wood for the patch
* Thanks to Carl Johan Gustavsson for the sparc64 build test
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libcwd/Makefile | 8 | ||||
-rw-r--r-- | devel/libcwd/files/patch-elfxx.cc | 20 |
2 files changed, 21 insertions, 7 deletions
diff --git a/devel/libcwd/Makefile b/devel/libcwd/Makefile index 43c7c8a1135..3720e01e4ff 100644 --- a/devel/libcwd/Makefile +++ b/devel/libcwd/Makefile @@ -20,12 +20,6 @@ USE_GMAKE= yes USE_GNOME= pkgconfig USE_LDCONFIG= yes -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= does not compile on sparc64 -.endif - post-patch: @${REINPLACE_CMD} -e 's,test x"\$$libcwd_config_alloc" = x"yes",false,g' \ -E -e 's,^(DEFS=)(.*),\1"\2 -D__GNU_LIBRARY__=yes",g' \ @@ -42,4 +36,4 @@ post-patch: pre-configure: @${CP} ${LTMAIN} ${WRKSRC} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/devel/libcwd/files/patch-elfxx.cc b/devel/libcwd/files/patch-elfxx.cc new file mode 100644 index 00000000000..408c85b0cb4 --- /dev/null +++ b/devel/libcwd/files/patch-elfxx.cc @@ -0,0 +1,20 @@ +Index: elfxx.cc +=================================================================== +--- elfxx.cc (revision 1343) ++++ elfxx.cc (working copy) +@@ -1382,13 +1382,13 @@ + #if __BYTE_ORDER == __LITTLE_ENDIAN + ELFDATA2LSB + #elif __BYTE_ORDER == __BIG_ENDIAN +- ELFDATAMSB ++ ELFDATA2MSB + #else + ELFDATANONE + #endif + #else // !__BYTE_ORDER + #ifdef WORDS_BIGENDIAN +- ELFDATAMSB ++ ELFDATA2MSB + #else + ELFDATA2LSB + #endif |