diff options
author | kris <kris@FreeBSD.org> | 2002-10-26 13:12:21 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-10-26 13:12:21 +0800 |
commit | f85f5b4dbb183762b7c84d4351dd50d28db1400c (patch) | |
tree | 362c44b91affd3b905f43b5ac1221957c02c0169 | |
parent | 656c30bd7fed2082eed6163a4f854af5f7792781 (diff) | |
download | freebsd-ports-gnome-f85f5b4dbb183762b7c84d4351dd50d28db1400c.tar.gz freebsd-ports-gnome-f85f5b4dbb183762b7c84d4351dd50d28db1400c.tar.zst freebsd-ports-gnome-f85f5b4dbb183762b7c84d4351dd50d28db1400c.zip |
Fix build on -current (#include <wchar.h> instead of <rune.h>)
-rw-r--r-- | net-im/gale/files/patch-wcwidth | 17 | ||||
-rw-r--r-- | net/gale/files/patch-wcwidth | 17 |
2 files changed, 24 insertions, 10 deletions
diff --git a/net-im/gale/files/patch-wcwidth b/net-im/gale/files/patch-wcwidth index 1092dcd62c6c..11029afc3555 100644 --- a/net-im/gale/files/patch-wcwidth +++ b/net-im/gale/files/patch-wcwidth @@ -1,10 +1,17 @@ ---- libgale/wcwidth.c.orig Fri Oct 12 13:45:37 2001 -+++ libgale/wcwidth.c Fri Oct 12 13:45:52 2001 -@@ -8,8 +8,9 @@ +--- /tmp/wcwidth.c.orig Fri Oct 25 21:05:46 2002 ++++ libgale/wcwidth.c Fri Oct 25 21:05:51 2002 +@@ -6,10 +6,16 @@ + * Markus Kuhn -- 2000-02-08 -- public domain + */ - #ifdef __FreeBSD__ /* peterh@sapros.com */ +-#ifdef __FreeBSD__ /* peterh@sapros.com */ ++#ifdef __FreeBSD__ ++#include <osreldate.h> ++#if __FreeBSD_version >= 500000 ++#include <wchar.h> ++#else #include <rune.h> --#endif + #endif +#else #include <wchar.h> +#endif diff --git a/net/gale/files/patch-wcwidth b/net/gale/files/patch-wcwidth index 1092dcd62c6c..11029afc3555 100644 --- a/net/gale/files/patch-wcwidth +++ b/net/gale/files/patch-wcwidth @@ -1,10 +1,17 @@ ---- libgale/wcwidth.c.orig Fri Oct 12 13:45:37 2001 -+++ libgale/wcwidth.c Fri Oct 12 13:45:52 2001 -@@ -8,8 +8,9 @@ +--- /tmp/wcwidth.c.orig Fri Oct 25 21:05:46 2002 ++++ libgale/wcwidth.c Fri Oct 25 21:05:51 2002 +@@ -6,10 +6,16 @@ + * Markus Kuhn -- 2000-02-08 -- public domain + */ - #ifdef __FreeBSD__ /* peterh@sapros.com */ +-#ifdef __FreeBSD__ /* peterh@sapros.com */ ++#ifdef __FreeBSD__ ++#include <osreldate.h> ++#if __FreeBSD_version >= 500000 ++#include <wchar.h> ++#else #include <rune.h> --#endif + #endif +#else #include <wchar.h> +#endif |