1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Remove "Cache full" warning.

This commit is contained in:
Andrey Slusar 2006-02-17 21:12:07 +00:00
parent 2e142b64d0
commit 050ebfa26f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=156237
4 changed files with 36 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= xemacs-devel-mule
PORTVERSION= ${XEMACS_VER:S/-/./}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES+= editors
MASTER_SITES= ${MASTER_SITE_XEMACS}
MASTER_SITE_SUBDIR= xemacs-${XEMACS_REL}

View File

@ -0,0 +1,17 @@
Index: src/xgccache.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/xgccache.c,v
retrieving revision 1.13
diff -u -r1.13 xgccache.c
--- src/xgccache.c 2005/11/26 11:46:11 1.13
+++ src/xgccache.c 2006/02/16 20:18:18
@@ -233,7 +233,9 @@
cache->head = cell->next;
cache->head->prev = 0;
if (cache->tail == cell) cache->tail = 0; /* only one */
+#if 0
debug_out ("Cache full, freeing GC: %08lx\n ", XE_GCONTEXT(cell));
+#endif
XFreeGC (cache->dpy, cell->gc);
cache->delete_count++;
#ifdef GCCACHE_HASH

View File

@ -7,6 +7,7 @@
PORTNAME= xemacs-devel
PORTVERSION= ${XEMACS_VER:S/-/./}
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES+= editors
MASTER_SITES= ${MASTER_SITE_XEMACS}

View File

@ -0,0 +1,17 @@
Index: src/xgccache.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/xgccache.c,v
retrieving revision 1.13
diff -u -r1.13 xgccache.c
--- src/xgccache.c 2005/11/26 11:46:11 1.13
+++ src/xgccache.c 2006/02/16 20:18:18
@@ -233,7 +233,9 @@
cache->head = cell->next;
cache->head->prev = 0;
if (cache->tail == cell) cache->tail = 0; /* only one */
+#if 0
debug_out ("Cache full, freeing GC: %08lx\n ", XE_GCONTEXT(cell));
+#endif
XFreeGC (cache->dpy, cell->gc);
cache->delete_count++;
#ifdef GCCACHE_HASH