diff options
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 43c7c8a11353..3720e01e4ff0 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 000000000000..408c85b0cb4e --- /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 |