summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/imlib/files/patch-445914.diff
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-04-22 00:00:02 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-04-22 20:51:11 +0200
commit4975402d7f239a520dfcbd48e03dbab43e491d68 (patch)
tree1fa8069b82399fccffe1736bbc8af73d1f3a4d93 /freebsd/dependencies/imlib/files/patch-445914.diff
parent718961e63499208eae72b6d4f56ae94004d41020 (diff)
downloadtde-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-445914.diff')
-rw-r--r--freebsd/dependencies/imlib/files/patch-445914.diff46
1 files changed, 46 insertions, 0 deletions
diff --git a/freebsd/dependencies/imlib/files/patch-445914.diff b/freebsd/dependencies/imlib/files/patch-445914.diff
new file mode 100644
index 000000000..31608378d
--- /dev/null
+++ b/freebsd/dependencies/imlib/files/patch-445914.diff
@@ -0,0 +1,46 @@
+
+Fixes #445914.
+
+ -- Chris Lamb <chris@chris-lamb.co.uk> Sun, 18 May 2008 02:11:57 +0100
+
+--- imlib-1.9.15.orig/gdk_imlib/misc.c
++++ imlib-1.9.15/gdk_imlib/misc.c
+@@ -455,6 +455,8 @@
+ if (xvir[i].depth > max)
+ max = xvir[i].depth;
+ }
++ if (max > 24)
++ max = 24;
+ if (max > 8)
+ {
+ id->x.depth = max;
+@@ -1004,6 +1006,8 @@
+ if (xvir[i].depth > max)
+ max = xvir[i].depth;
+ }
++ if (max > 24)
++ max = 24;
+ if (max > 8)
+ {
+ id->x.depth = max;
+--- imlib-1.9.15.orig/Imlib/misc.c
++++ imlib-1.9.15/Imlib/misc.c
+@@ -423,6 +423,8 @@
+ if (xvir[i].depth > max)
+ max = xvir[i].depth;
+ }
++ if (max > 24)
++ max = 24;
+ if (max > 8)
+ {
+ id->x.depth = max;
+@@ -1026,6 +1028,8 @@
+ if (xvir[i].depth > max)
+ max = xvir[i].depth;
+ }
++ if (max > 24)
++ max = 24;
+ if (max > 8)
+ {
+ id->x.depth = max;
+