diff options
author | anray <anray@FreeBSD.org> | 2008-03-30 15:27:57 +0800 |
---|---|---|
committer | anray <anray@FreeBSD.org> | 2008-03-30 15:27:57 +0800 |
commit | f32e8a850abc29f1c444922d7c75494eff2d1732 (patch) | |
tree | 13cf6331fb6f41ec8a07fb38bbc8e2108f391eb1 /editors | |
parent | b602d237bbf797563c67f0fd952830a7d331ac1b (diff) | |
download | freebsd-ports-gnome-f32e8a850abc29f1c444922d7c75494eff2d1732.tar.gz freebsd-ports-gnome-f32e8a850abc29f1c444922d7c75494eff2d1732.tar.zst freebsd-ports-gnome-f32e8a850abc29f1c444922d7c75494eff2d1732.zip |
- Add missing depends from x11-fonts/fontconfig
- Fix build with new fontconfig [1]
Reported by: miwi, Andrei Lavreniyuk
Obtained from: xemacs cvs [1]
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xemacs-devel-mule/Makefile | 3 | ||||
-rw-r--r-- | editors/xemacs-devel-mule/files/patch-src__font-mgr.c | 45 |
2 files changed, 47 insertions, 1 deletions
diff --git a/editors/xemacs-devel-mule/Makefile b/editors/xemacs-devel-mule/Makefile index 8901d8a4c1de..15c90685f1b5 100644 --- a/editors/xemacs-devel-mule/Makefile +++ b/editors/xemacs-devel-mule/Makefile @@ -7,7 +7,7 @@ PORTNAME= xemacs-devel-mule PORTVERSION= ${XEMACS_VER:S/-/./} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES+= editors MASTER_SITES= ${MASTER_SITE_XEMACS} MASTER_SITE_SUBDIR= xemacs-${XEMACS_REL} @@ -109,6 +109,7 @@ CONFIGURE_ARGS+=--disable-kkcc --disable-mc-alloc --disable-newgc .endif .if defined(WITH_XFT) +BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig USE_XORG= x11 xft xpm CONFIGURE_ARGS+=--with-xft=all .elif defined(WITH_GTK) diff --git a/editors/xemacs-devel-mule/files/patch-src__font-mgr.c b/editors/xemacs-devel-mule/files/patch-src__font-mgr.c new file mode 100644 index 000000000000..2bcfab82e00a --- /dev/null +++ b/editors/xemacs-devel-mule/files/patch-src__font-mgr.c @@ -0,0 +1,45 @@ +Index: src/font-mgr.c +=================================================================== +RCS file: /pack/xemacscvs/XEmacs/xemacs/src/font-mgr.c,v +retrieving revision 1.7 +retrieving revision 1.8 +diff -u -r1.7 -r1.8 +--- src/font-mgr.c 2007/05/01 14:22:38 1.7 ++++ src/font-mgr.c 2007/12/21 00:05:49 1.8 +@@ -898,10 +898,8 @@ + intern ("fc-config-get-blanks")); + } + +-/* The misspelling in the fontconfig function name accurately corresponds to +- the version of fontconfig.h I had on 2007-04-13. -- sjt */ + DEFUN("fc-config-get-rescan-interval", Ffc_config_get_rescan_interval, 1, 1, 0, /* +- -- Function: int FcConfigGetRescanInverval (FcConfig *config) ++ -- Function: int FcConfigGetRescanInterval (FcConfig *config) + Returns the interval between automatic checks of the configuration + (in seconds) specified in 'config'. The configuration is checked + during a call to FcFontList when this interval has passed since +@@ -909,13 +907,11 @@ + (config)) + { + CHECK_FCCONFIG (config); +- return make_int (FcConfigGetRescanInverval (XFCCONFIG_PTR (config))); ++ return make_int (FcConfigGetRescanInterval (XFCCONFIG_PTR (config))); + } + +-/* The misspelling in the fontconfig function name accurately corresponds to +- the version of fontconfig.h I had on 2007-04-13. -- sjt */ + DEFUN("fc-config-set-rescan-interval", Ffc_config_set_rescan_interval, 2, 2, 0, /* +- -- Function: FcBool FcConfigSetRescanInverval (FcConfig *config, int ++ -- Function: FcBool FcConfigSetRescanInterval (FcConfig *config, int + rescanInterval) + Sets the rescan interval; returns FcFalse if an error occurred. + XEmacs: signal such error, or return nil on success. */ +@@ -923,7 +919,7 @@ + { + CHECK_FCCONFIG (config); + CHECK_INT (rescan_interval); +- if (FcConfigSetRescanInverval (XFCCONFIG_PTR (config), ++ if (FcConfigSetRescanInterval (XFCCONFIG_PTR (config), + XINT (rescan_interval)) == FcFalse) + signal_error (Qio_error, "FcConfigSetRescanInverval barfed", + intern ("fc-config-set-rescan-interval")); |