From 8e9f2708aec5354c6dfbc6015e996d7fd77e0d50 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 Aug 2010 09:11:48 +0200 Subject: fix build on FreeBSD --- package/tcsh/patches/patch-sh_h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/tcsh/patches/patch-sh_h b/package/tcsh/patches/patch-sh_h index b638e850f..029fca58f 100644 --- a/package/tcsh/patches/patch-sh_h +++ b/package/tcsh/patches/patch-sh_h @@ -1,5 +1,14 @@ --- tcsh-6.17.00.orig/sh.h 2009-06-25 23:27:37.000000000 +0200 -+++ tcsh-6.17.00/sh.h 2010-02-15 18:45:11.000000000 +0100 ++++ tcsh-6.17.00/sh.h 2010-07-31 19:48:01.000000000 +0200 +@@ -338,7 +338,7 @@ static inline void ignore(intptr_t a) + # include + #endif /* (!FIOCLEX && SUNOS4) || (SYSVREL == 4 && !_SEQUENT_ && !SCO && !_SX ) */ + +-#if !defined(_MINIX) && !defined(supermax) && !defined(WINNT_NATIVE) && !defined(IRIS4D) ++#if !defined(_MINIX) && !defined(supermax) && !defined(WINNT_NATIVE) && !defined(IRIS4D) && !defined(__FreeBSD__) + # include + #endif /* !_MINIX && !supermax && !WINNT_NATIVE && !defined(IRIS4D) */ + @@ -375,9 +375,11 @@ static inline void ignore(intptr_t a) #include #include -- cgit v1.2.3 From 8ea87cbaf6a1873b77c5ce4e4104e8dd7c7a0211 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 Aug 2010 12:17:34 +0200 Subject: always make binary or library writable by the user, before trying to strip --- package/lvm/Makefile | 1 - package/readline/Makefile | 1 - package/tcl/Makefile | 1 - 3 files changed, 3 deletions(-) (limited to 'package') diff --git a/package/lvm/Makefile b/package/lvm/Makefile index c7d2a4ee6..5120212a0 100644 --- a/package/lvm/Makefile +++ b/package/lvm/Makefile @@ -37,7 +37,6 @@ post-install: ${INSTALL_DIR} ${IDIR_LIBDEVMAPPER}/usr/lib ${CP} ${WRKINST}/usr/lib/libdevmapper.so* \ ${IDIR_LIBDEVMAPPER}/usr/lib - chmod u+w ${IDIR_LIBDEVMAPPER}/usr/lib/*.so* # device-mapper ${INSTALL_DIR} ${IDIR_DEVICE_MAPPER}/usr/sbin ${INSTALL_BIN} ${WRKINST}/usr/sbin/dmsetup \ diff --git a/package/readline/Makefile b/package/readline/Makefile index 542f72d9a..7895198a5 100644 --- a/package/readline/Makefile +++ b/package/readline/Makefile @@ -23,6 +23,5 @@ post-install: ${INSTALL_DIR} ${IDIR_LIBREADLINE}/usr/lib ${CP} ${WRKINST}/usr/lib/libhistory.so* ${IDIR_LIBREADLINE}/usr/lib/ ${CP} ${WRKINST}/usr/lib/libreadline.so* ${IDIR_LIBREADLINE}/usr/lib/ - chmod u+w ${IDIR_LIBREADLINE}/usr/lib/* include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/tcl/Makefile b/package/tcl/Makefile index 3eb849626..8f605261a 100644 --- a/package/tcl/Makefile +++ b/package/tcl/Makefile @@ -31,6 +31,5 @@ post-install: ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib - chmod u+w ${IDIR_TCL}/usr/lib/libtcl8.5.so # for strip include ${TOPDIR}/mk/pkg-bottom.mk -- cgit v1.2.3