diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-04-22 00:00:02 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-04-22 20:51:11 +0200 |
commit | 4975402d7f239a520dfcbd48e03dbab43e491d68 (patch) | |
tree | 1fa8069b82399fccffe1736bbc8af73d1f3a4d93 /freebsd/dependencies/imlib/files/patch-448360.diff | |
parent | 718961e63499208eae72b6d4f56ae94004d41020 (diff) | |
download | tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.tar.gz tde-packaging-4975402d7f239a520dfcbd48e03dbab43e491d68.zip |
FreeBSD: Add ports updated for final release R14.1.0.
Add a script to synchronize ports to the FreeBSD ports structure.
Add meta-port 'tde-meta' to install all TDE ports.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/imlib/files/patch-448360.diff')
-rw-r--r-- | freebsd/dependencies/imlib/files/patch-448360.diff | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/freebsd/dependencies/imlib/files/patch-448360.diff b/freebsd/dependencies/imlib/files/patch-448360.diff new file mode 100644 index 000000000..4873aa689 --- /dev/null +++ b/freebsd/dependencies/imlib/files/patch-448360.diff @@ -0,0 +1,95 @@ + +Fixes #448360. + + -- Chris Lamb <chris@chris-lamb.co.uk> Sun, 18 May 2008 02:11:57 +0100 + +--- imlib-1.9.15.orig/gdk_imlib/misc.c 2008-05-18 01:47:54.000000000 +0100 ++++ imlib-1.9.15/gdk_imlib/misc.c 2008-05-18 02:14:13.000000000 +0100 +@@ -676,6 +674,10 @@ + visual = gdk_rgb_get_visual(); + id->x.visual = GDK_VISUAL_XVISUAL(visual); /* the visual type */ + id->x.depth = visual->depth; /* the depth of the screen in bpp */ ++ ++ id->x.shm = 0; ++ id->x.shmp = 0; ++ id->max_shm = 0; + #ifdef HAVE_SHM + if (XShmQueryExtension(id->x.disp)) + { +@@ -691,17 +693,14 @@ + id->x.last_xim = NULL; + id->x.last_sxim = NULL; + id->max_shm = 0x7fffffff; +- if (XShmPixmapFormat(id->x.disp) == ZPixmap) ++ if ((XShmPixmapFormat(id->x.disp) == ZPixmap) && ++ (pm == True)) + id->x.shmp = 1; + } + } + } +- else + #endif +- { +- id->x.shm = 0; +- id->x.shmp = 0; +- } ++ + id->cache.on_image = 0; + id->cache.size_image = 0; + id->cache.num_image = 0; +@@ -937,8 +936,8 @@ + } + if (p->flags & PARAMS_SHAREDPIXMAPS) + { +- if (id->x.shm) +- id->x.shmp = p->sharedpixmaps; ++ if (!p->sharedpixmaps) ++ id->x.shmp = 0; + } + if (p->flags & PARAMS_PALETTEOVERRIDE) + override = p->paletteoverride; +--- imlib-1.9.15.orig/Imlib/misc.c 2008-05-18 01:47:54.000000000 +0100 ++++ imlib-1.9.15/Imlib/misc.c 2008-05-18 02:14:13.000000000 +0100 +@@ -677,6 +675,10 @@ + id->x.root = DefaultRootWindow(disp); /* the root window id */ + id->x.visual = DefaultVisual(disp, id->x.screen); /* the visual type */ + id->x.depth = DefaultDepth(disp, id->x.screen); /* the depth of the screen in bpp */ ++ ++ id->x.shm = 0; ++ id->x.shmp = 0; ++ id->max_shm = 0; + #ifdef HAVE_SHM + if (XShmQueryExtension(id->x.disp)) + { +@@ -692,17 +694,14 @@ + id->x.last_xim = NULL; + id->x.last_sxim = NULL; + id->max_shm = 0x7fffffff; +- if (XShmPixmapFormat(id->x.disp) == ZPixmap) ++ if ((XShmPixmapFormat(id->x.disp) == ZPixmap && ++ (pm == True))) + id->x.shmp = 1; + } + } + } +- else + #endif +- { +- id->x.shm = 0; +- id->x.shmp = 0; +- } ++ + id->cache.on_image = 0; + id->cache.size_image = 0; + id->cache.num_image = 0; +@@ -954,8 +953,8 @@ + } + if (p->flags & PARAMS_SHAREDPIXMAPS) + { +- if (id->x.shm) +- id->x.shmp = p->sharedpixmaps; ++ if (!p->sharedpixmaps) ++ id->x.shmp = 0; + } + if (p->flags & PARAMS_PALETTEOVERRIDE) + override = p->paletteoverride; |