From 2652cd24fd0237da1c6b94c65dec475f136ed616 Mon Sep 17 00:00:00 2001 From: oliver Date: Fri, 15 Jan 2010 18:34:34 +0000 Subject: fix build for FreeBSD 6 Noted By: tabthorpe --- x11/libexo/Makefile | 4 ---- x11/libexo/files/patch-configure | 12 ++++++++++++ x11/libexo/files/patch-exo-mount-point.c | 12 ++++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 x11/libexo/files/patch-configure create mode 100644 x11/libexo/files/patch-exo-mount-point.c (limited to 'x11') diff --git a/x11/libexo/Makefile b/x11/libexo/Makefile index 5049018b7da3..dd2e6653fed5 100644 --- a/x11/libexo/Makefile +++ b/x11/libexo/Makefile @@ -66,8 +66,4 @@ CONFIGURE_ARGS+=--disable-python PLIST_SUB+= PYTHON="@comment " .endif -post-patch: - @${REINPLACE_CMD} -e 's|FALSE;;|FALSE;|' ${WRKSRC}/exo/exo-icon-view.c - @${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure - .include diff --git a/x11/libexo/files/patch-configure b/x11/libexo/files/patch-configure new file mode 100644 index 000000000000..290827fa9ebb --- /dev/null +++ b/x11/libexo/files/patch-configure @@ -0,0 +1,12 @@ +--- configure.orig 2010-01-14 17:33:27.000000000 +0100 ++++ configure 2010-01-14 17:35:47.000000000 +0100 +@@ -746,6 +746,9 @@ + #endif + #ifdef HAVE_UNISTD_H + # include ++#endif ++#ifdef __FreeBSD__ ++# include + #endif" + + ac_header_list= diff --git a/x11/libexo/files/patch-exo-mount-point.c b/x11/libexo/files/patch-exo-mount-point.c new file mode 100644 index 000000000000..249cbb8c673f --- /dev/null +++ b/x11/libexo/files/patch-exo-mount-point.c @@ -0,0 +1,12 @@ +--- exo/exo-mount-point.c.orig 2010-01-14 17:36:19.000000000 +0100 ++++ exo/exo-mount-point.c 2010-01-14 17:36:41.000000000 +0100 +@@ -38,6 +38,9 @@ + #include + #endif + #ifdef HAVE_SYS_MOUNT_H ++#ifdef __FreeBSD__ ++#include ++#endif + #include + #endif + -- cgit