diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-07-02 17:25:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-07-02 17:25:15 +0200 |
commit | 595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch) | |
tree | a284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/imlib/files/patch-445914.diff | |
parent | bb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff) | |
download | tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip |
FreeBSD: Initial import
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.diff | 46 |
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; + |