diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-30 14:09:38 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-30 14:09:38 +0000 |
commit | 96f61fc7b371a4d39af4b12c0ecfbf84aa7b8816 (patch) | |
tree | b5e3976f888c62f5d9c489f8469271f7d1df2bae /app-i18n | |
parent | General cleanup of old ebuilds. (diff) | |
download | gentoo-2-96f61fc7b371a4d39af4b12c0ecfbf84aa7b8816.tar.gz gentoo-2-96f61fc7b371a4d39af4b12c0ecfbf84aa7b8816.tar.bz2 gentoo-2-96f61fc7b371a4d39af4b12c0ecfbf84aa7b8816.zip |
Add a patch to build on FreeBSD.
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/scim/ChangeLog | 6 | ||||
-rw-r--r-- | app-i18n/scim/files/scim-1.4.5-fbsd.patch | 18 | ||||
-rw-r--r-- | app-i18n/scim/scim-1.4.5.ebuild | 4 |
3 files changed, 26 insertions, 2 deletions
diff --git a/app-i18n/scim/ChangeLog b/app-i18n/scim/ChangeLog index 3861a5d30a94..a0265ec770ae 100644 --- a/app-i18n/scim/ChangeLog +++ b/app-i18n/scim/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-i18n/scim # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.103 2006/10/14 10:18:38 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/ChangeLog,v 1.104 2006/10/30 14:09:38 flameeyes Exp $ + + 30 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/scim-1.4.5-fbsd.patch, scim-1.4.5.ebuild: + Add a patch to build on FreeBSD. 14 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> scim-1.4.4.ebuild, scim-1.4.5.ebuild: diff --git a/app-i18n/scim/files/scim-1.4.5-fbsd.patch b/app-i18n/scim/files/scim-1.4.5-fbsd.patch new file mode 100644 index 000000000000..9dd1273855d7 --- /dev/null +++ b/app-i18n/scim/files/scim-1.4.5-fbsd.patch @@ -0,0 +1,18 @@ +Index: scim-1.4.5/src/scim_types.h.in +=================================================================== +--- scim-1.4.5.orig/src/scim_types.h.in ++++ scim-1.4.5/src/scim_types.h.in +@@ -32,6 +32,13 @@ + + @INCLUDE_STDINT@ + ++#ifdef __FreeBSD__ ++# include <osreldate.h> ++# if __FreeBSD_version > 500035 ++# define __STDC_ISO_10646__ ++# endif ++#endif ++ + namespace scim { + + typedef @UINT16@ uint16; diff --git a/app-i18n/scim/scim-1.4.5.ebuild b/app-i18n/scim/scim-1.4.5.ebuild index 594657e304f3..e59ef3ee3148 100644 --- a/app-i18n/scim/scim-1.4.5.ebuild +++ b/app-i18n/scim/scim-1.4.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.5.ebuild,v 1.5 2006/10/14 10:18:38 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim/scim-1.4.5.ebuild,v 1.6 2006/10/30 14:09:38 flameeyes Exp $ WANT_AUTOMAKE=latest WANT_AUTOCONF=latest @@ -46,6 +46,8 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${P}-imengine.patch + epatch "${FILESDIR}"/${P}-fbsd.patch + if use doc ; then local xsl=$(ls -1d /usr/share/sgml/docbook/xsl-stylesheets* | head -n 1) sed -i -e "s:/usr/share/sgml/docbook/xsl-stylesheets:${xsl}:" configure.ac || die |