summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-30 14:09:38 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-30 14:09:38 +0000
commit406c9ac0572836b18710f1f77b4712aeba614e95 (patch)
treea1306eff07ad4b145889e17e408ca3774deba67b /app-i18n/scim/files
parentGeneral cleanup of old ebuilds. (diff)
downloadhistorical-406c9ac0572836b18710f1f77b4712aeba614e95.tar.gz
historical-406c9ac0572836b18710f1f77b4712aeba614e95.tar.bz2
historical-406c9ac0572836b18710f1f77b4712aeba614e95.zip
Add a patch to build on FreeBSD.
Package-Manager: portage-2.1.2_rc1-r1
Diffstat (limited to 'app-i18n/scim/files')
-rw-r--r--app-i18n/scim/files/scim-1.4.5-fbsd.patch18
1 files changed, 18 insertions, 0 deletions
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;