diff options
author | Remi Collet <remi@remirepo.net> | 2021-09-13 16:18:07 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-09-13 16:18:07 +0200 |
commit | c31db81a9fbe4d08fc71b7039e804776b31edc26 (patch) | |
tree | efdbb6540f773858d96bd48f8c8d667f50e50f63 | |
parent | 66093891b9ba487182226c6bb239dc76d6e8abbf (diff) |
update to 2.3.3
open https://github.com/libgd/libgd/pull/766 missing macros
open https://github.com/libgd/libgd/pull/767 missing headers
-rw-r--r-- | compat_reports/2.3.2_to_2.3.3/compat_report.html | 2778 | ||||
-rw-r--r-- | gd.spec | 22 | ||||
-rw-r--r-- | label.heic | bin | 1170 -> 0 bytes | |||
-rw-r--r-- | libgd-flip.patch | 50 | ||||
-rw-r--r-- | libgd-iostream.patch | 35 | ||||
-rw-r--r-- | libgd-upstream.patch | 196 |
6 files changed, 2878 insertions, 203 deletions
diff --git a/compat_reports/2.3.2_to_2.3.3/compat_report.html b/compat_reports/2.3.2_to_2.3.3/compat_report.html new file mode 100644 index 0000000..d47f7e0 --- /dev/null +++ b/compat_reports/2.3.2_to_2.3.3/compat_report.html @@ -0,0 +1,2778 @@ +<!-- kind:binary;verdict:compatible;affected:0;added:0;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:9;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:29;changed_constants:2;type_changes_other:8;constant_changes_other:1;tool_version:2.3 --> +<!-- kind:source;verdict:incompatible;affected:0.2;added:19;removed:1;type_problems_high:0;type_problems_medium:0;type_problems_low:8;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:38;changed_constants:3;type_changes_other:9;constant_changes_other:7;tool_version:2.3 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="viewport" content="width=device-width,initial-scale=1" /> +<meta name="keywords" content="libgd, compatibility, API, ABI, report" /> +<meta name="description" content="API/ABI compatibility report for the libgd library between 2.3.2 and 2.3.3 versions" /> +<title>libgd: 2.3.2 to 2.3.3 compatibility report</title> +<style type="text/css"> +body { + font-family:Arial, sans-serif; + background-color:White; + color:Black; +} +hr { + color:Black; + background-color:Black; + height:1px; + border:0; +} +h1 { + margin-bottom:0px; + padding-bottom:0px; + font-size:1.625em; +} +h2 { + margin-bottom:0px; + padding-bottom:0px; + font-size:1.25em; + white-space:nowrap; +} +span.section { + font-weight:bold; + cursor:pointer; + color:#003E69; + white-space:nowrap; + margin-left:0.3125em; +} +span.new_sign { + font-weight:bold; + margin-left:1.65em; + color:#003E69; +} +span.new_sign_lbl { + margin-left:3em; + font-size:1em; + color:Black; +} +span:hover.section { + color:#336699; +} +span.sect_aff { + cursor:pointer; + padding-left:1.55em; + font-size:0.875em; + color:#cc3300; +} +span.sect_info { + cursor:pointer; + padding-left:1.55em; + font-size:0.875em; + color:Black; +} +span.ext { + font-weight:normal; +} +span.h_name { + color:#cc3300; + font-size:0.875em; + font-weight:bold; +} +div.h_list, div.lib_list { + font-size:0.94em; + padding-left:0.4em; +} +span.ns { + color:#408080; + font-size:0.94em; +} +span.lib_name { + color:Green; + font-size:0.875em; + font-weight:bold; +} +span.iname { + font-weight:bold; + color:#003E69; + margin-left:0.3125em; +} +span.iname_b { + font-weight:bold; +} +span.iname_a { + color:#333333; + font-weight:bold; + font-size:0.94em; +} +span.sym_p { + font-weight:normal; + white-space:normal; +} +span.sym_pd { + white-space:normal; +} +span.sym_p span, span.sym_pd span { + white-space:nowrap; +} +div.affect { + padding-left:1em; + padding-bottom:10px; + font-size:0.87em; + font-style:italic; + line-height:0.9em; +} +div.affected { + padding-left:1.9em; + padding-top:10px; +} +table.ptable { + border-collapse:collapse; + border:1px outset black; + margin-left:0.95em; + margin-top:3px; + margin-bottom:3px; + width:56.25em; +} +table.ptable td { + border:1px solid gray; + padding:3px; + font-size:0.875em; + text-align:left; + vertical-align:top; + max-width:28em; + word-wrap:break-word; +} +table.ptable th.pn { + width:2%; +} +table.ptable th.chg { + width:47%; +} +table.vtable { + border-collapse:collapse; + border:1px outset black; + margin-left:1.9em; + margin-top:0.7em; +} +table.vtable td { + border:1px solid gray; + padding:3px; + font-size:0.875em; + vertical-align:top; + max-width:450px; + word-wrap:break-word; +} +table.ptable th, table.vtable th { + background-color:#eeeeee; + font-weight:bold; + color:#333333; + font-family:Verdana, Arial; + font-size:0.875em; + border:1px solid gray; + text-align:center; + vertical-align:top; + white-space:nowrap; + padding:3px; +} +table.summary { + border-collapse:collapse; + border:1px outset black; +} +table.summary th { + background-color:#eeeeee; + font-weight:normal; + text-align:left; + font-size:0.94em; + white-space:nowrap; + border:1px inset gray; + padding:3px; +} +table.summary td { + text-align:right; + white-space:nowrap; + border:1px inset gray; + padding:3px 5px 3px 10px; +} +span.mngl { + padding-left:1em; + font-size:0.875em; + cursor:text; + color:#444444; + font-weight:bold; +} +span.pleft { + padding-left:2.5em; +} +span.sym_ver { + color:#333333; + white-space:nowrap; + font-family:"DejaVu Sans Mono", Monospace; +} +span.attr { + color:#333333; + font-weight:normal; +} +span.color_p { + font-style:italic; + color:Brown; +} +span.p { + font-style:italic; +} +span.fp { + font-style:italic; + background-color:#DCDCDC; +} +span.ttype { + font-weight:normal; +} +span.nowrap { + white-space:nowrap; +} +span.value { + font-weight:bold; +} +.passed { + background-color:#CCFFCC; + font-weight:normal; +} +.warning { + background-color:#F4F4AF; + font-weight:normal; +} +.failed { + background-color:#FFCCCC; + font-weight:normal; +} +.new { + background-color:#C6DEFF; + font-weight:normal; +} +.compatible { + background-color:#CCFFCC; + font-weight:normal; +} +.almost_compatible { + background-color:#FFDAA3; + font-weight:normal; +} +.incompatible { + background-color:#FFCCCC; + font-weight:normal; +} +.gray { + background-color:#DCDCDC; + font-weight:normal; +} +.top_ref { + font-size:0.69em; +} +.footer { + font-size:0.75em; +} + +.tabset { + float:left; +} +a.tab { + border:1px solid Black; + float:left; + margin:0px 5px -1px 0px; + padding:3px 5px 3px 5px; + position:relative; + font-size:0.875em; + background-color:#DDD; + text-decoration:none; + color:Black; +} +a.disabled:hover +{ + color:Black; + background:#EEE; +} +a.active:hover +{ + color:Black; + background:White; +} +a.active { + border-bottom-color:White; + background-color:White; +} +div.tab { + border-top:1px solid Black; + padding:0px; + width:100%; + clear:both; +} +</style> +<script type="text/javascript" language="JavaScript"> +<!-- +function showContent(header, id) +{ + e = document.getElementById(id); + if(e.style.display == 'none') + { + e.style.display = 'block'; + e.style.visibility = 'visible'; + header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[−]"); + } + else + { + e.style.display = 'none'; + e.style.visibility = 'hidden'; + header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]"); + } +} +function initTabs() +{ + var url = window.location.href; + if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1) + { + var tab1 = document.getElementById('BinaryID'); + var tab2 = document.getElementById('SourceID'); + tab1.className='tab disabled'; + tab2.className='tab active'; + } + var sets = document.getElementsByTagName('div'); + for (var i = 0; i < sets.length; i++) + { + if (sets[i].className.indexOf('tabset') != -1) + { + var tabs = []; + var links = sets[i].getElementsByTagName('a'); + for (var j = 0; j < links.length; j++) + { + if (links[j].className.indexOf('tab') != -1) + { + tabs.push(links[j]); + links[j].tabs = tabs; + var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1)); + //reset all tabs on start + if (tab) + { + if (links[j].className.indexOf('active')!=-1) { + tab.style.display = 'block'; + } + else { + tab.style.display = 'none'; + } + } + links[j].onclick = function() + { + var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1)); + if (tab) + { + //reset all tabs before change + for (var k = 0; k < this.tabs.length; k++) + { + document.getElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none'; + this.tabs[k].className = this.tabs[k].className.replace('active', 'disabled'); + } + this.className = 'tab active'; + tab.style.display = 'block'; + // window.location.hash = this.id.replace('ID', ''); + return false; + } + } + } + } + } + } + if(url.indexOf('#')!=-1) { + location.href=location.href; + } +} +if (window.addEventListener) window.addEventListener('load', initTabs, false); +else if (window.attachEvent) window.attachEvent('onload', initTabs); +--> +</script> +</head> +<body><a name='Source'></a><a name='Binary'></a><a name='Top'></a><h1>API compatibility report for the <span style='color:Blue;'>libgd</span> library between <span style='color:Red;'>2.3.2</span> and <span style='color:Red;'>2.3.3</span> versions on <span style='color:Blue;'>x86_64</span></h1> + + <br/> + <div class='tabset'> + <a id='BinaryID' href='#BinaryTab' class='tab active'>Binary<br/>Compatibility</a> + <a id='SourceID' href='#SourceTab' style='margin-left:3px' class='tab disabled'>Source<br/>Compatibility</a> + </div><div id='BinaryTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Library Name</th><td>libgd</td></tr> +<tr><th>Version #1</th><td>2.3.2</td></tr> +<tr><th>Version #2</th><td>2.3.3</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>GCC Version</th><td>10</td></tr> +<tr><th>Subject</th><td width='150px'>Binary Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>10</a></td></tr> +<tr><th>Total Libraries</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>251 / 59</td></tr> +<tr><th>Compatibility</th> +<td class='compatible'>100%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr> +<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td class='warning'><a href='#Type_Binary_Problems_Low' style='color:Blue;'>9</a></td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td class='warning'><a href='#Symbol_Binary_Problems_Low' style='color:Blue;'>29</a></td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td class='warning'><a href='#Constant_Binary_Problems_Low' style='color:Blue;'>2</a></td></tr> +<tr><th>Other Changes<br/>in Data Types</th><td>-</td><td class='passed'><a href='#Other_Binary_Changes_In_Types' style='color:Blue;'>8</a></td></tr> +<tr><th>Other Changes<br/>in Constants</th><td>-</td><td class='passed'><a href='#Other_Binary_Changes_In_Constants' style='color:Blue;'>1</a></td></tr> +</table> + +<a name='Low_Risk_Binary_Problems'></a><a name='Type_Binary_Problems_Low'></a> +<h2>Problems with Data Types, Low Severity <span class='warning'> 9 </span></h2><hr/> +<span class='h_name'>gd.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_1')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> gdInterpolationMethod <span class='warning'> 1 </span></span> +<br/> +<div id="c_1" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Value of member <b>GD_METHOD_COUNT</b> has been changed from <b>23</b> to <b>30</b>.</td> +<td>Applications may execute a wrong branch of code in the library and therefore change the behavior.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_2')"> +[+] affected symbols: 200 (79.7%)</span> +<div id="c_2" style="display:none;"> +<div class='affected'><span class='iname_a'>gdImageAABlend <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAlphaBlending <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>alphaBlendingArg</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageArc <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>cx</i></span>, <span>int <i>cy</i></span>, <span>int <i>w</i></span>, <span>int <i>h</i></span>, <span>int <i>s</i></span>, <span>int <i>e</i></span>, <span>int <i>color</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvif <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtx* <i>outfile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifPtr <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifPtrEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageBmp <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageBmpCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtxPtr <i>out</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<span class="section" onclick="javascript:showContent(this, 'c_3')"> +<span class='ext'>[+]</span> <span class='ttype'>typedef</span> interpolation_method <span class='warning'> 1 </span></span> +<br/> +<div id="c_3" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Base type has been changed from <b>double(*)(double)</b> to <span class='value'>double(*)(double, double)</span>.</td> +<td>Replacement of the base data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_4')"> +[+] affected symbols: 200 (79.7%)</span> +<div id="c_4" style="display:none;"> +<div class='affected'><span class='iname_a'>gdImageAABlend <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAlphaBlending <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>alphaBlendingArg</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageArc <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>cx</i></span>, <span>int <i>cy</i></span>, <span>int <i>w</i></span>, <span>int <i>h</i></span>, <span>int <i>s</i></span>, <span>int <i>e</i></span>, <span>int <i>color</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvif <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtx* <i>outfile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvifEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvifPtr <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvifPtrEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageBmp <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageBmpCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtxPtr <i>out</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<span class='h_name'>gd_io.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_5')"> +<span class='ext'>[+]</span> <span class='ttype'>struct</span> gdIOCtx <span class='warning'> 7 </span></span> +<br/> +<div id="c_5" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Base type of field <b>gd_free</b> has been changed from <span class='value'>void(*)(struct gdIOCtx*)</span> to <b>void(*)(gdIOCtxPtr)</b>.</td> +<td>Replacement of field base type may indicate a change in the semantic meaning of the field.</td> +</tr> +<tr> +<th>2</th> +<td>Base type of field <b>getBuf</b> has been changed from <span class='value'>int(*)(struct gdIOCtx*, void*, int)</span> to <span class='value'>int(*)(gdIOCtxPtr, void*, int)</span>.</td> +<td>Replacement of field base type may indicate a change in the semantic meaning of the field.</td> +</tr> +<tr> +<th>3</th> +<td>Base type of field <b>getC</b> has been changed from <span class='value'>int(*)(struct gdIOCtx*)</span> to <b>int(*)(gdIOCtxPtr)</b>.</td> +<td>Replacement of field base type may indicate a change in the semantic meaning of the field.</td> +</tr> +<tr> +<th>4</th> +<td>Base type of field <b>putBuf</b> has been changed from <span class='value'>int(*)(struct gdIOCtx*, void const*, int)</span> to <span class='value'>int(*)(gdIOCtxPtr, void const*, int)</span>.</td> +<td>Replacement of field base type may indicate a change in the semantic meaning of the field.</td> +</tr> +<tr> +<th>5</th> +<td>Base type of field <b>putC</b> has been changed from <span class='value'>void(*)(struct gdIOCtx*, int)</span> to <span class='value'>void(*)(gdIOCtxPtr, int)</span>.</td> +<td>Replacement of field base type may indicate a change in the semantic meaning of the field.</td> +</tr> +<tr> +<th>6</th> +<td>Base type of field <b>seek</b> has been changed from <span class='value'>int(*)(struct gdIOCtx*, int)</span> to <span class='value'>int(*)(gdIOCtxPtr, int)</span>.</td> +<td>Replacement of field base type may indicate a change in the semantic meaning of the field.</td> +</tr> +<tr> +<th>7</th> +<td>Base type of field <b>tell</b> has been changed from <span class='value'>long(*)(struct gdIOCtx*)</span> to <b>long(*)(gdIOCtxPtr)</b>.</td> +<td>Replacement of field base type may indicate a change in the semantic meaning of the field.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_6')"> +[+] affected symbols: 33 (13.1%)</span> +<div id="c_6" style="display:none;"> +<div class='affected'><span class='iname_a'>gdDPExtractData <span class='sym_p'><span>( struct gdIOCtx* <span class='fp'>ctx</span></span>, <span>int* <i>size</i></span> )</span></span><br/> +<div class='affect'>1st parameter 'ctx' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <i>im</i></span>, <span>gdIOCtx* <span class='fp'>outfile</span></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'outfile' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageBmpCtx <span class='sym_p'><span>( gdImagePtr <i>im</i></span>, <span>gdIOCtxPtr <span class='fp'>out</span></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'out' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageCreateFromAvifCtx <span class='sym_p'><span>( gdIOCtx* <span class='fp'>infile</span></span> )</span></span><br/> +<div class='affect'>1st parameter 'infile' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageCreateFromBmpCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='fp'>infile</span></span> )</span></span><br/> +<div class='affect'>1st parameter 'infile' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageCreateFromGd2Ctx <span class='sym_p'><span>( gdIOCtxPtr <span class='fp'>in</span></span> )</span></span><br/> +<div class='affect'>1st parameter 'in' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageCreateFromGd2PartCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='fp'>in</span></span>, <span>int <i>srcx</i></span>, <span>int <i>srcy</i></span>, <span>int <i>w</i></span>, <span>int <i>h</i></span> )</span></span><br/> +<div class='affect'>1st parameter 'in' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageCreateFromGdCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='fp'>in</span></span> )</span></span><br/> +<div class='affect'>1st parameter 'in' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageCreateFromGifCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='fp'>in</span></span> )</span></span><br/> +<div class='affect'>1st parameter 'in' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageCreateFromHeifCtx <span class='sym_p'><span>( gdIOCtx* <span class='fp'>infile</span></span> )</span></span><br/> +<div class='affect'>1st parameter 'infile' (pointer) has base type 'struct gdIOCtx'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Symbol_Binary_Problems_Low'></a><a name='Interface_Binary_Problems_Low'></a> +<h2>Problems with Symbols, Low Severity <span class='warning'> 29 </span></h2><hr/> +<span class='h_name'>gd.h</span>, <span class='lib_name'>libgd.so.3.0.10</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_7')"> +<span class='ext'>[+]</span> gdDPExtractData <span class='sym_p'><span>( struct gdIOCtx* <span class='color_p'>ctx</span></span>, <span>int* <span class='color_p'>size</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_7" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdDPExtractData <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>ctx</span></span>, <span>int* <span class='color_p'>size</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>ctx</b> has been changed from <span class='value'>struct gdIOCtx*</span> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_8')"> +<span class='ext'>[+]</span> gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quality</span></span>, <span>int <span class='color_p'>speed</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_8" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quality</span></span>, <span>int <span class='color_p'>speed</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>outfile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_9')"> +<span class='ext'>[+]</span> gdImageCreateFromAvifCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_9" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromAvifCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_10')"> +<span class='ext'>[+]</span> gdImageCreateFromHeifCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_10" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromHeifCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_11')"> +<span class='ext'>[+]</span> gdImageCreateFromJpegCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_11" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromJpegCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_12')"> +<span class='ext'>[+]</span> gdImageCreateFromJpegCtxEx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span>, <span>int <span class='color_p'>ignore_warning</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_12" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromJpegCtxEx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span>, <span>int <span class='color_p'>ignore_warning</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_13')"> +<span class='ext'>[+]</span> gdImageCreateFromTgaCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_13" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromTgaCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_14')"> +<span class='ext'>[+]</span> gdImageCreateFromTiffCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_14" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromTiffCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_15')"> +<span class='ext'>[+]</span> gdImageCreateFromWBMPCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_15" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromWBMPCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_16')"> +<span class='ext'>[+]</span> gdImageCreateFromWebpCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_16" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromWebpCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_17')"> +<span class='ext'>[+]</span> gdImageGifAnimAddCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span>, <span>int <span class='color_p'>LocalCM</span></span>, <span>int <span class='color_p'>LeftOfs</span></span>, <span>int <span class='color_p'>TopOfs</span></span>, <span>int <span class='color_p'>Delay</span></span>, <span>int <span class='color_p'>Disposal</span></span>, <span>gdImagePtr <span class='color_p'>previm</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_17" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageGifAnimAddCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span>, <span>int <span class='color_p'>LocalCM</span></span>, <span>int <span class='color_p'>LeftOfs</span></span>, <span>int <span class='color_p'>TopOfs</span></span>, <span>int <span class='color_p'>Delay</span></span>, <span>int <span class='color_p'>Disposal</span></span>, <span>gdImagePtr <span class='color_p'>previm</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_18')"> +<span class='ext'>[+]</span> gdImageGifAnimBeginCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span>, <span>int <span class='color_p'>GlobalCM</span></span>, <span>int <span class='color_p'>Loops</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_18" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageGifAnimBeginCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span>, <span>int <span class='color_p'>GlobalCM</span></span>, <span>int <span class='color_p'>Loops</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_19')"> +<span class='ext'>[+]</span> gdImageGifAnimEndCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_19" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageGifAnimEndCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_20')"> +<span class='ext'>[+]</span> gdImageGifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_20" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageGifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_21')"> +<span class='ext'>[+]</span> gdImageHeifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quality</span></span>, <span>enum gdHeifCodec <span class='color_p'>codec</span></span>, <span>gdHeifChroma <span class='color_p'>chroma</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_21" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageHeifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quality</span></span>, <span>enum gdHeifCodec <span class='color_p'>codec</span></span>, <span>gdHeifChroma <span class='color_p'>chroma</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>outfile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_22')"> +<span class='ext'>[+]</span> gdImageJpegCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span>, <span>int <span class='color_p'>quality</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_22" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageJpegCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span>, <span>int <span class='color_p'>quality</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_23')"> +<span class='ext'>[+]</span> gdImagePngCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_23" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImagePngCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_24')"> +<span class='ext'>[+]</span> gdImagePngCtxEx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span>, <span>int <span class='color_p'>level</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_24" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImagePngCtxEx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span>, <span>int <span class='color_p'>level</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_25')"> +<span class='ext'>[+]</span> gdImageStringFT <span class='sym_p'><span>( gdImage* <span class='color_p'>im</span></span>, <span>int* <span class='color_p'>brect</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>char const* <span class='color_p'>fontlist</span></span>, <span>double <span class='color_p'>ptsize</span></span>, <span>double <span class='color_p'>angle</span></span>, <span>int <span class='color_p'>x</span></span>, <span>int <span class='color_p'>y</span></span>, <span>char const* <span class='color_p'>string</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_25" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageStringFT <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>int* <span class='color_p'>brect</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>char const* <span class='color_p'>fontlist</span></span>, <span>double <span class='color_p'>ptsize</span></span>, <span>double <span class='color_p'>angle</span></span>, <span>int <span class='color_p'>x</span></span>, <span>int <span class='color_p'>y</span></span>, <span>char const* <span class='color_p'>string</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>im</b> has been changed from <b>gdImage*</b> to <b>gdImagePtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_26')"> +<span class='ext'>[+]</span> gdImageStringFTEx <span class='sym_p'><span>( gdImage* <span class='color_p'>im</span></span>, <span>int* <span class='color_p'>brect</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>char const* <span class='color_p'>fontlist</span></span>, <span>double <span class='color_p'>ptsize</span></span>, <span>double <span class='color_p'>angle</span></span>, <span>int <span class='color_p'>x</span></span>, <span>int <span class='color_p'>y</span></span>, <span>char const* <span class='color_p'>string</span></span>, <span>gdFTStringExtraPtr <span class='color_p'>strex</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_26" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageStringFTEx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>int* <span class='color_p'>brect</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>char const* <span class='color_p'>fontlist</span></span>, <span>double <span class='color_p'>ptsize</span></span>, <span>double <span class='color_p'>angle</span></span>, <span>int <span class='color_p'>x</span></span>, <span>int <span class='color_p'>y</span></span>, <span>char const* <span class='color_p'>string</span></span>, <span>gdFTStringExtraPtr <span class='color_p'>strex</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>im</b> has been changed from <b>gdImage*</b> to <b>gdImagePtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_27')"> +<span class='ext'>[+]</span> gdImageStringTTF <span class='sym_p'><span>( gdImage* <span class='color_p'>im</span></span>, <span>int* <span class='color_p'>brect</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>char const* <span class='color_p'>fontlist</span></span>, <span>double <span class='color_p'>ptsize</span></span>, <span>double <span class='color_p'>angle</span></span>, <span>int <span class='color_p'>x</span></span>, <span>int <span class='color_p'>y</span></span>, <span>char const* <span class='color_p'>string</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_27" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageStringTTF <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>int* <span class='color_p'>brect</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>char const* <span class='color_p'>fontlist</span></span>, <span>double <span class='color_p'>ptsize</span></span>, <span>double <span class='color_p'>angle</span></span>, <span>int <span class='color_p'>x</span></span>, <span>int <span class='color_p'>y</span></span>, <span>char const* <span class='color_p'>string</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>im</b> has been changed from <b>gdImage*</b> to <b>gdImagePtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_28')"> +<span class='ext'>[+]</span> gdImageTiffCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_28" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageTiffCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_29')"> +<span class='ext'>[+]</span> gdImageWBMPCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_29" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageWBMPCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>3rd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_30')"> +<span class='ext'>[+]</span> gdImageWebpCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quantization</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_30" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageWebpCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quantization</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>outfile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_31')"> +<span class='ext'>[+]</span> gdImageXbmCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>char* <span class='color_p'>file_name</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_31" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageXbmCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>char* <span class='color_p'>file_name</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>4th</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of parameter data type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_32')"> +<span class='ext'>[+]</span> gdNewDynamicCtx <span class='sym_p'><span>( int <span class='color_p'>size</span></span>, <span>void* <span class='color_p'>data</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_32" style="display:none;"> + +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of return value has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of return type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_33')"> +<span class='ext'>[+]</span> gdNewDynamicCtxEx <span class='sym_p'><span>( int <span class='color_p'>size</span></span>, <span>void* <span class='color_p'>data</span></span>, <span>int <span class='color_p'>freeFlag</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_33" style="display:none;"> + +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of return value has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of return type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_34')"> +<span class='ext'>[+]</span> gdNewFileCtx <span class='sym_p'><span>( FILE* <span class='color_p'>p1</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_34" style="display:none;"> + +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of return value has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of return type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_35')"> +<span class='ext'>[+]</span> gdNewSSCtx <span class='sym_p'><span>( gdSourcePtr <span class='color_p'>in</span></span>, <span>gdSinkPtr <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_35" style="display:none;"> + +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of return value has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Replacement of return type may indicate a change in its semantic meaning.</td> +</tr> +</table> +<br/> +</div> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Constant_Binary_Problems_Low'></a> +<h2>Problems with Constants, Low Severity <span class='warning'> 2 </span></h2><hr/> +<span class='h_name'>entities.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_36')"> +<span class='ext'>[+]</span> ENTITY_NAME_LENGTH_MAX</span> +<br/> +<div id="c_36" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>ENTITY_NAME_LENGTH_MAX</b> with value <b>8</b> has been removed.</td> +<td>The value of this constant may no longer be properly handled by new-version library functions.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_37')"> +<span class='ext'>[+]</span> NR_OF_ENTITIES</span> +<br/> +<div id="c_37" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>NR_OF_ENTITIES</b> with value <b>252</b> has been removed.</td> +<td>The value of this constant may no longer be properly handled by new-version library functions.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Binary_Changes'></a><a name='Other_Binary_Changes_In_Types'></a> +<h2>Other Changes in Data Types <span class='passed'> 8 </span></h2><hr/> +<span class='h_name'>gd.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_38')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> gdInterpolationMethod <span class='passed'> 8 </span></span> +<br/> +<div id="c_38" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>The member <b>GD_BLACKMAN_BESSEL</b> with value <b>25</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>2</th> +<td>The member <b>GD_BLACKMAN_SINC</b> with value <b>26</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>3</th> +<td>The member <b>GD_COSINE</b> with value <b>29</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>4</th> +<td>The member <b>GD_CUBIC_SPLINE</b> with value <b>28</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>5</th> +<td>The member <b>GD_LANCZOS3</b> with value <b>23</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>6</th> +<td>The member <b>GD_LANCZOS8</b> with value <b>24</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>7</th> +<td>The member <b>GD_QUADRATIC_BSPLINE</b> with value <b>27</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>8</th> +<td>The member <b>GD_WELSH</b> with value <b>30</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_39')"> +[+] affected symbols: 200 (79.7%)</span> +<div id="c_39" style="display:none;"> +<div class='affected'><span class='iname_a'>gdImageAABlend <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAlphaBlending <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>alphaBlendingArg</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageArc <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>cx</i></span>, <span>int <i>cy</i></span>, <span>int <i>w</i></span>, <span>int <i>h</i></span>, <span>int <i>s</i></span>, <span>int <i>e</i></span>, <span>int <i>color</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvif <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtx* <i>outfile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifPtr <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifPtrEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageBmp <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageBmpCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtxPtr <i>out</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Binary_Changes_In_Constants'></a> +<h2>Other Changes in Constants <span class='passed'> 1 </span></h2><hr/> +<span class='h_name'>gd.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_40')"> +<span class='ext'>[+]</span> gdWebpLossless</span> +<br/> +<div id="c_40" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>gdWebpLossless</b> with value <b>101</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Headers'></a><h2>Header Files <span class='gray'> 10 </span></h2><hr/> +<div class='h_list'> +entities.h<br/> +gd.h<br/> +gd_io.h<br/> +gdcache.h<br/> +gdfontg.h<br/> +gdfontl.h<br/> +gdfontmb.h<br/> +gdfonts.h<br/> +gdfontt.h<br/> +gdfx.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Libraries <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +libgd.so.3.0.10<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><div id='SourceTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Library Name</th><td>libgd</td></tr> +<tr><th>Version #1</th><td>2.3.2</td></tr> +<tr><th>Version #2</th><td>2.3.3</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>Subject</th><td width='150px'>Source Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>10</a></td></tr> +<tr><th>Total Libraries</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>509 / 123</td></tr> +<tr><th>Compatibility</th> +<td class='warning'>99.8%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td class='new'><a href='#Source_Added' style='color:Blue;'>19</a></td></tr> +<tr><th>Removed Symbols</th><td>High</td><td class='failed'><a href='#Source_Removed' style='color:Blue;'>1</a></td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td class='warning'><a href='#Type_Source_Problems_Low' style='color:Blue;'>8</a></td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td class='warning'><a href='#Symbol_Source_Problems_Low' style='color:Blue;'>38</a></td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td class='warning'><a href='#Constant_Source_Problems_Low' style='color:Blue;'>3</a></td></tr> +<tr><th>Other Changes<br/>in Data Types</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Types' style='color:Blue;'>9</a></td></tr> +<tr><th>Other Changes<br/>in Constants</th><td>-</td><td class='passed'><a href='#Other_Source_Changes_In_Constants' style='color:Blue;'>7</a></td></tr> +</table> + +<a name='Source_Added'></a><h2>Added Symbols <span class='new'> 19 </span></h2><hr/> +<span class='h_name'>gd_color_map.h</span><br/> +<span class="iname">GD_COLOR_MAP_X11 <span class='attr'>[data]</span></span><br/> +<span class="iname">gdColorMapLookup <span class='sym_p'><span>( struct gdColorMap const <span class='color_p'>color_map</span></span>, <span>char const* <span class='color_p'>color_name</span></span>, <span>int* <span class='color_p'>r</span></span>, <span>int* <span class='color_p'>g</span></span>, <span>int* <span class='color_p'>b</span></span> )</span></span><br/> +<br/> +<span class='h_name'>gd_errors.h</span><br/> +<span class="iname">gd_error <span class='sym_p'><span>( char const* <span class='color_p'>format</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">gd_error_ex <span class='sym_p'><span>( int <span class='color_p'>priority</span></span>, <span>char const* <span class='color_p'>format</span></span>, <span>...</span> )</span></span><br/> +<br/> +<span class='h_name'>iostream</span><br/> +<span class="iname">__dso_handle <span class='attr'>[data]</span></span><br/> +<br/> +<span class='h_name'>iostream</span><br/> +<span class='ns'>namespace <b>std</b></span><br/> +<span class="iname">__ioinit <span class='attr'>[data]</span></span><br/> +<span class="iname">cerr <span class='attr'>[data]</span></span><br/> +<span class="iname">cin <span class='attr'>[data]</span></span><br/> +<span class="iname">clog <span class='attr'>[data]</span></span><br/> +<span class="iname">cout <span class='attr'>[data]</span></span><br/> +<span class="iname">wcerr <span class='attr'>[data]</span></span><br/> +<span class="iname">wcin <span class='attr'>[data]</span></span><br/> +<span class="iname">wclog <span class='attr'>[data]</span></span><br/> +<span class="iname">wcout <span class='attr'>[data]</span></span><br/> +<br/> +<span class='h_name'>syslog.h</span><br/> +<span class="iname">closelog <span class='sym_p'>( )</span></span><br/> +<span class="iname">openlog <span class='sym_p'><span>( char const* <span class='color_p'>__ident</span></span>, <span>int <span class='color_p'>__option</span></span>, <span>int <span class='color_p'>__facility</span></span> )</span></span><br/> +<span class="iname">setlogmask <span class='sym_p'><span>( int <span class='color_p'>__mask</span></span> )</span></span><br/> +<span class="iname">syslog <span class='sym_p'><span>( int <span class='color_p'>__pri</span></span>, <span>char const* <span class='color_p'>__fmt</span></span>, <span>...</span> )</span></span><br/> +<span class="iname">vsyslog <span class='sym_p'><span>( int <span class='color_p'>__pri</span></span>, <span>char const* <span class='color_p'>__fmt</span></span>, <span>struct __va_list_tag* <span class='color_p'>__ap</span></span> )</span></span><br/> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Source_Removed'></a><a name='Source_Withdrawn'></a><h2>Removed Symbols <span class='failed'> 1 </span></h2><hr/> +<span class='h_name'>entities.h</span><br/> +<span class="iname">entities <span class='attr'>[data]</span></span><br/> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Low_Risk_Source_Problems'></a><a name='Type_Source_Problems_Low'></a> +<h2>Problems with Data Types, Low Severity <span class='warning'> 8 </span></h2><hr/> +<span class='h_name'>gd.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_41')"> +<span class='ext'>[+]</span> <span class='ttype'>typedef</span> interpolation_method <span class='warning'> 1 </span></span> +<br/> +<div id="c_41" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Base type has been changed from <b>double(*)(double)</b> to <span class='value'>double(*)(double, double)</span>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_42')"> +[+] affected symbols: 200 (39.3%)</span> +<div id="c_42" style="display:none;"> +<div class='affected'><span class='iname_a'>gdImageAABlend <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAlphaBlending <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>alphaBlendingArg</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageArc <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>cx</i></span>, <span>int <i>cy</i></span>, <span>int <i>w</i></span>, <span>int <i>h</i></span>, <span>int <i>s</i></span>, <span>int <i>e</i></span>, <span>int <i>color</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvif <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtx* <i>outfile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvifEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvifPtr <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageAvifPtrEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageBmp <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> +<span class='iname_a'>gdImageBmpCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtxPtr <i>out</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation' in 1st parameter 'im' (pointer) is of type 'interpolation_method'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<span class='h_name'>gd_io.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_43')"> +<span class='ext'>[+]</span> <span class='ttype'>struct</span> gdIOCtx <span class='warning'> 7 </span></span> +<br/> +<div id="c_43" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>Base type of field <b>gd_free</b> has been changed from <span class='value'>void(*)(struct gdIOCtx*)</span> to <b>void(*)(gdIOCtxPtr)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +<tr> +<th>2</th> +<td>Base type of field <b>getBuf</b> has been changed from <span class='value'>int(*)(struct gdIOCtx*, void*, int)</span> to <span class='value'>int(*)(gdIOCtxPtr, void*, int)</span>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +<tr> +<th>3</th> +<td>Base type of field <b>getC</b> has been changed from <span class='value'>int(*)(struct gdIOCtx*)</span> to <b>int(*)(gdIOCtxPtr)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +<tr> +<th>4</th> +<td>Base type of field <b>putBuf</b> has been changed from <span class='value'>int(*)(struct gdIOCtx*, void const*, int)</span> to <span class='value'>int(*)(gdIOCtxPtr, void const*, int)</span>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +<tr> +<th>5</th> +<td>Base type of field <b>putC</b> has been changed from <span class='value'>void(*)(struct gdIOCtx*, int)</span> to <span class='value'>void(*)(gdIOCtxPtr, int)</span>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +<tr> +<th>6</th> +<td>Base type of field <b>seek</b> has been changed from <span class='value'>int(*)(struct gdIOCtx*, int)</span> to <span class='value'>int(*)(gdIOCtxPtr, int)</span>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +<tr> +<th>7</th> +<td>Base type of field <b>tell</b> has been changed from <span class='value'>long(*)(struct gdIOCtx*)</span> to <b>long(*)(gdIOCtxPtr)</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_44')"> +[+] affected symbols: 46 (9%)</span> +<div id="c_44" style="display:none;"> +<div class='affected'><span class='iname_a'>gdDPExtractData <span class='sym_p'><span>( struct gdIOCtx* <span class='fp'>ctx</span></span>, <span>int* <i>size</i></span> )</span></span><br/> +<div class='affect'>1st parameter 'ctx' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdGetBuf <span class='sym_p'><span>( void* <i>p1</i></span>, <span>int <i>p2</i></span>, <span>gdIOCtx* <span class='fp'>p3</span></span> )</span></span><br/> +<div class='affect'>3rd parameter 'p3' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdGetByte <span class='sym_p'><span>( int* <i>result</i></span>, <span>gdIOCtx* <span class='fp'>ctx</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'ctx' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdGetC <span class='sym_p'><span>( gdIOCtx* <span class='fp'>ctx</span></span> )</span></span><br/> +<div class='affect'>1st parameter 'ctx' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdGetInt <span class='sym_p'><span>( int* <i>result</i></span>, <span>gdIOCtx* <span class='fp'>ctx</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'ctx' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdGetIntLSB <span class='sym_p'><span>( int* <i>result</i></span>, <span>gdIOCtx* <span class='fp'>ctx</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'ctx' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdGetWord <span class='sym_p'><span>( int* <i>result</i></span>, <span>gdIOCtx* <span class='fp'>ctx</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'ctx' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdGetWordLSB <span class='sym_p'><span>( short* <i>result</i></span>, <span>gdIOCtx* <span class='fp'>ctx</span></span> )</span></span><br/> +<div class='affect'>2nd parameter 'ctx' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <i>im</i></span>, <span>gdIOCtx* <span class='fp'>outfile</span></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'outfile' (pointer) has base type 'struct gdIOCtx'.</div> +<span class='iname_a'>gdImageBmpCtx <span class='sym_p'><span>( gdImagePtr <i>im</i></span>, <span>gdIOCtxPtr <span class='fp'>out</span></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>2nd parameter 'out' (pointer) has base type 'struct gdIOCtx'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Symbol_Source_Problems_Low'></a><a name='Interface_Source_Problems_Low'></a> +<h2>Problems with Symbols, Low Severity <span class='warning'> 38 </span></h2><hr/> +<span class='h_name'>gd.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_45')"> +<span class='ext'>[+]</span> gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quality</span></span>, <span>int <span class='color_p'>speed</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_45" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quality</span></span>, <span>int <span class='color_p'>speed</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>outfile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_46')"> +<span class='ext'>[+]</span> gdImageCreateFromAvifCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_46" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromAvifCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_47')"> +<span class='ext'>[+]</span> gdImageCreateFromHeifCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_47" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromHeifCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_48')"> +<span class='ext'>[+]</span> gdImageCreateFromJpegCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_48" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromJpegCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_49')"> +<span class='ext'>[+]</span> gdImageCreateFromJpegCtxEx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span>, <span>int <span class='color_p'>ignore_warning</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_49" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromJpegCtxEx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span>, <span>int <span class='color_p'>ignore_warning</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_50')"> +<span class='ext'>[+]</span> gdImageCreateFromTgaCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_50" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromTgaCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_51')"> +<span class='ext'>[+]</span> gdImageCreateFromTiffCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_51" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromTiffCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_52')"> +<span class='ext'>[+]</span> gdImageCreateFromWBMPCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_52" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromWBMPCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_53')"> +<span class='ext'>[+]</span> gdImageCreateFromWebpCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>infile</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_53" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageCreateFromWebpCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>infile</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>infile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_54')"> +<span class='ext'>[+]</span> gdImageGifAnimAddCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span>, <span>int <span class='color_p'>LocalCM</span></span>, <span>int <span class='color_p'>LeftOfs</span></span>, <span>int <span class='color_p'>TopOfs</span></span>, <span>int <span class='color_p'>Delay</span></span>, <span>int <span class='color_p'>Disposal</span></span>, <span>gdImagePtr <span class='color_p'>previm</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_54" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageGifAnimAddCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span>, <span>int <span class='color_p'>LocalCM</span></span>, <span>int <span class='color_p'>LeftOfs</span></span>, <span>int <span class='color_p'>TopOfs</span></span>, <span>int <span class='color_p'>Delay</span></span>, <span>int <span class='color_p'>Disposal</span></span>, <span>gdImagePtr <span class='color_p'>previm</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_55')"> +<span class='ext'>[+]</span> gdImageGifAnimBeginCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span>, <span>int <span class='color_p'>GlobalCM</span></span>, <span>int <span class='color_p'>Loops</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_55" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageGifAnimBeginCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span>, <span>int <span class='color_p'>GlobalCM</span></span>, <span>int <span class='color_p'>Loops</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_56')"> +<span class='ext'>[+]</span> gdImageGifAnimEndCtx <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_56" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageGifAnimEndCtx <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_57')"> +<span class='ext'>[+]</span> gdImageGifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_57" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageGifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_58')"> +<span class='ext'>[+]</span> gdImageHeifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quality</span></span>, <span>enum gdHeifCodec <span class='color_p'>codec</span></span>, <span>gdHeifChroma <span class='color_p'>chroma</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_58" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageHeifCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quality</span></span>, <span>enum gdHeifCodec <span class='color_p'>codec</span></span>, <span>gdHeifChroma <span class='color_p'>chroma</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>outfile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_59')"> +<span class='ext'>[+]</span> gdImageJpegCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span>, <span>int <span class='color_p'>quality</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_59" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageJpegCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span>, <span>int <span class='color_p'>quality</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_60')"> +<span class='ext'>[+]</span> gdImagePngCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_60" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImagePngCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_61')"> +<span class='ext'>[+]</span> gdImagePngCtxEx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span>, <span>int <span class='color_p'>level</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_61" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImagePngCtxEx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span>, <span>int <span class='color_p'>level</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_62')"> +<span class='ext'>[+]</span> gdImageTiffCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_62" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageTiffCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_63')"> +<span class='ext'>[+]</span> gdImageWBMPCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_63" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageWBMPCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>3rd</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_64')"> +<span class='ext'>[+]</span> gdImageWebpCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtx* <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quantization</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_64" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageWebpCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>im</span></span>, <span>gdIOCtxPtr <span class='color_p'>outfile</span></span>, <span>int <span class='color_p'>quantization</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>outfile</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_65')"> +<span class='ext'>[+]</span> gdImageXbmCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>char* <span class='color_p'>file_name</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>gdIOCtx* <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_65" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdImageXbmCtx <span class='sym_p'><span>( gdImagePtr <span class='color_p'>image</span></span>, <span>char* <span class='color_p'>file_name</span></span>, <span>int <span class='color_p'>fg</span></span>, <span>gdIOCtxPtr <span class='color_p'>out</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>4th</b> parameter <b>out</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_66')"> +<span class='ext'>[+]</span> gdNewDynamicCtx <span class='sym_p'><span>( int <span class='color_p'>size</span></span>, <span>void* <span class='color_p'>data</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_66" style="display:none;"> + +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of return value has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_67')"> +<span class='ext'>[+]</span> gdNewDynamicCtxEx <span class='sym_p'><span>( int <span class='color_p'>size</span></span>, <span>void* <span class='color_p'>data</span></span>, <span>int <span class='color_p'>freeFlag</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_67" style="display:none;"> + +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of return value has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_68')"> +<span class='ext'>[+]</span> gdNewFileCtx <span class='sym_p'><span>( FILE* <span class='color_p'>p1</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_68" style="display:none;"> + +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of return value has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_69')"> +<span class='ext'>[+]</span> gdNewSSCtx <span class='sym_p'><span>( gdSourcePtr <span class='color_p'>in</span></span>, <span>gdSinkPtr <span class='color_p'>out</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_69" style="display:none;"> + +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of return value has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<br/> +<span class='h_name'>gd_io.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_70')"> +<span class='ext'>[+]</span> gdGetBuf <span class='sym_p'><span>( void* <span class='color_p'>p1</span></span>, <span>int <span class='color_p'>p2</span></span>, <span>gdIOCtx* <span class='color_p'>p3</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_70" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdGetBuf <span class='sym_p'><span>( void* <span class='color_p'>p1</span></span>, <span>int <span class='color_p'>p2</span></span>, <span>gdIOCtxPtr <span class='color_p'>p3</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>3rd</b> parameter <b>p3</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_71')"> +<span class='ext'>[+]</span> gdGetByte <span class='sym_p'><span>( int* <span class='color_p'>result</span></span>, <span>gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_71" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdGetByte <span class='sym_p'><span>( int* <span class='color_p'>result</span></span>, <span>gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_72')"> +<span class='ext'>[+]</span> gdGetC <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_72" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdGetC <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_73')"> +<span class='ext'>[+]</span> gdGetInt <span class='sym_p'><span>( int* <span class='color_p'>result</span></span>, <span>gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_73" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdGetInt <span class='sym_p'><span>( int* <span class='color_p'>result</span></span>, <span>gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_74')"> +<span class='ext'>[+]</span> gdGetIntLSB <span class='sym_p'><span>( int* <span class='color_p'>result</span></span>, <span>gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_74" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdGetIntLSB <span class='sym_p'><span>( int* <span class='color_p'>result</span></span>, <span>gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_75')"> +<span class='ext'>[+]</span> gdGetWord <span class='sym_p'><span>( int* <span class='color_p'>result</span></span>, <span>gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_75" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdGetWord <span class='sym_p'><span>( int* <span class='color_p'>result</span></span>, <span>gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_76')"> +<span class='ext'>[+]</span> gdGetWordLSB <span class='sym_p'><span>( short* <span class='color_p'>result</span></span>, <span>gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_76" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdGetWordLSB <span class='sym_p'><span>( short* <span class='color_p'>result</span></span>, <span>gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_77')"> +<span class='ext'>[+]</span> gdPutBuf <span class='sym_p'><span>( void const* <span class='color_p'>p1</span></span>, <span>int <span class='color_p'>p2</span></span>, <span>gdIOCtx* <span class='color_p'>p3</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_77" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdPutBuf <span class='sym_p'><span>( void const* <span class='color_p'>p1</span></span>, <span>int <span class='color_p'>p2</span></span>, <span>gdIOCtxPtr <span class='color_p'>p3</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>3rd</b> parameter <b>p3</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_78')"> +<span class='ext'>[+]</span> gdPutC <span class='sym_p'><span>( unsigned char const <span class='color_p'>c</span></span>, <span>gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_78" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdPutC <span class='sym_p'><span>( unsigned char const <span class='color_p'>c</span></span>, <span>gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_79')"> +<span class='ext'>[+]</span> gdPutInt <span class='sym_p'><span>( int <span class='color_p'>w</span></span>, <span>gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_79" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdPutInt <span class='sym_p'><span>( int <span class='color_p'>w</span></span>, <span>gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_80')"> +<span class='ext'>[+]</span> gdPutWord <span class='sym_p'><span>( int <span class='color_p'>w</span></span>, <span>gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_80" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdPutWord <span class='sym_p'><span>( int <span class='color_p'>w</span></span>, <span>gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>2nd</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_81')"> +<span class='ext'>[+]</span> gdSeek <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>ctx</span></span>, <span>int const <span class='color_p'>offset</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_81" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdSeek <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>ctx</span></span>, <span>int const <span class='color_p'>offset</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<span class="section" onclick="javascript:showContent(this, 'c_82')"> +<span class='ext'>[+]</span> gdTell <span class='sym_p'><span>( gdIOCtx* <span class='color_p'>ctx</span></span> )</span> <span class='warning'> 1 </span></span> +<br/> +<div id="c_82" style="display:none;"> + + +<span class='new_sign_lbl'>⇣</span> +<br/> +<span class='new_sign'>gdTell <span class='sym_p'><span>( gdIOCtxPtr <span class='color_p'>ctx</span></span> )</span></span><br/> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>Type of <b>1st</b> parameter <b>ctx</b> has been changed from <b>gdIOCtx*</b> to <b>gdIOCtxPtr</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Constant_Source_Problems_Low'></a> +<h2>Problems with Constants, Low Severity <span class='warning'> 3 </span></h2><hr/> +<span class='h_name'>entities.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_83')"> +<span class='ext'>[+]</span> ENTITY_NAME_LENGTH_MAX</span> +<br/> +<div id="c_83" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>ENTITY_NAME_LENGTH_MAX</b> with value <b>8</b> has been removed.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_84')"> +<span class='ext'>[+]</span> NR_OF_ENTITIES</span> +<br/> +<div id="c_84" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>NR_OF_ENTITIES</b> with value <b>252</b> has been removed.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<span class='h_name'>gd.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_85')"> +<span class='ext'>[+]</span> GD_RELEASE_VERSION</span> +<br/> +<div id="c_85" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The value of constant <b>GD_RELEASE_VERSION</b> has been changed from <b>2</b> to <b>3</b>.</td> +<td>Recompilation of a client program may be broken.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Source_Changes'></a><a name='Other_Source_Changes_In_Types'></a> +<h2>Other Changes in Data Types <span class='passed'> 9 </span></h2><hr/> +<span class='h_name'>gd.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_86')"> +<span class='ext'>[+]</span> <span class='ttype'>enum</span> gdInterpolationMethod <span class='passed'> 9 </span></span> +<br/> +<div id="c_86" style="display:none;"> +<table class='ptable'><tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th></tr><tr> +<th>1</th> +<td>The member <b>GD_BLACKMAN_BESSEL</b> with value <b>25</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>2</th> +<td>The member <b>GD_BLACKMAN_SINC</b> with value <b>26</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>3</th> +<td>The member <b>GD_COSINE</b> with value <b>29</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>4</th> +<td>The member <b>GD_CUBIC_SPLINE</b> with value <b>28</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>5</th> +<td>The member <b>GD_LANCZOS3</b> with value <b>23</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>6</th> +<td>The member <b>GD_LANCZOS8</b> with value <b>24</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>7</th> +<td>The member <b>GD_QUADRATIC_BSPLINE</b> with value <b>27</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>8</th> +<td>The member <b>GD_WELSH</b> with value <b>30</b> has been added.</td> +<td>No effect.</td> +</tr> +<tr> +<th>9</th> +<td>Value of member <b>GD_METHOD_COUNT</b> has been changed from <b>23</b> to <b>30</b>.</td> +<td>No effect.</td> +</tr> +</table> +<span class="sect_aff" onclick="javascript:showContent(this, 'c_87')"> +[+] affected symbols: 200 (39.3%)</span> +<div id="c_87" style="display:none;"> +<div class='affected'><span class='iname_a'>gdImageAABlend <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAlphaBlending <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>alphaBlendingArg</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageArc <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int <i>cx</i></span>, <span>int <i>cy</i></span>, <span>int <i>w</i></span>, <span>int <i>h</i></span>, <span>int <i>s</i></span>, <span>int <i>e</i></span>, <span>int <i>color</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvif <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtx* <i>outfile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifPtr <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageAvifPtrEx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>int* <i>size</i></span>, <span>int <i>quality</i></span>, <span>int <i>speed</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageBmp <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>FILE* <i>outFile</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> +<span class='iname_a'>gdImageBmpCtx <span class='sym_p'><span>( gdImagePtr <span class='fp'>im</span></span>, <span>gdIOCtxPtr <i>out</i></span>, <span>int <i>compression</i></span> )</span></span><br/> +<div class='affect'>Field 'im.interpolation_id' in 1st parameter 'im' (pointer) is of type 'enum gdInterpolationMethod'.</div> + <b>...</b> +<br/> +</div> +</div> +<br/><br/></div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Other_Source_Changes_In_Constants'></a> +<h2>Other Changes in Constants <span class='passed'> 7 </span></h2><hr/> +<span class='h_name'>gd.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_88')"> +<span class='ext'>[+]</span> BGD_MALLOC</span> +<br/> +<div id="c_88" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>BGD_MALLOC</b> with value <span class='value'>__attribute__ ((__malloc__))</span> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_89')"> +<span class='ext'>[+]</span> gdWebpLossless</span> +<br/> +<div id="c_89" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>gdWebpLossless</b> with value <b>101</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<span class='h_name'>gd_errors.h</span><br/> +<span class="section" onclick="javascript:showContent(this, 'c_90')"> +<span class='ext'>[+]</span> GD_DEBUG</span> +<br/> +<div id="c_90" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>GD_DEBUG</b> with value <b>LOG_DEBUG</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_91')"> +<span class='ext'>[+]</span> GD_ERROR</span> +<br/> +<div id="c_91" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>GD_ERROR</b> with value <b>LOG_ERR</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_92')"> +<span class='ext'>[+]</span> GD_INFO</span> +<br/> +<div id="c_92" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>GD_INFO</b> with value <b>LOG_INFO</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_93')"> +<span class='ext'>[+]</span> GD_NOTICE</span> +<br/> +<div id="c_93" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>GD_NOTICE</b> with value <b>LOG_NOTICE</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<span class="section" onclick="javascript:showContent(this, 'c_94')"> +<span class='ext'>[+]</span> GD_WARNING</span> +<br/> +<div id="c_94" style="display:none;"> +<table class='ptable'> +<tr> +<th class='pn'></th> +<th class='chg'>Change</th> +<th>Effect</th> +</tr> +<tr> +<th>1</th> +<td>The constant <b>GD_WARNING</b> with value <b>LOG_WARNING</b> has been added.</td> +<td>No effect.</td> +</tr> +</table> +<br/> +</div> + +<br/> +<a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Headers'></a><h2>Header Files <span class='gray'> 10 </span></h2><hr/> +<div class='h_list'> +entities.h<br/> +gd.h<br/> +gd_io.h<br/> +gdcache.h<br/> +gdfontg.h<br/> +gdfontl.h<br/> +gdfontmb.h<br/> +gdfonts.h<br/> +gdfontt.h<br/> +gdfx.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Libraries <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +libgd.so.3.0.10<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><hr/> +<div class='footer' align='right'><i>Generated by <a href='https://github.com/lvc/abi-compliance-checker'>ABI Compliance Checker</a> 2.3  </i> +</div> +<br/> + +</body></html> @@ -44,8 +44,8 @@ Name: gd %else Name: gd-last %endif -Version: 2.3.2 -Release: 4%{?prever}%{?short}%{?dist} +Version: 2.3.3 +Release: 1%{?prever}%{?short}%{?dist} License: MIT URL: http://libgd.github.io/ %if 0%{?commit:1} @@ -55,10 +55,11 @@ Source0: libgd-%{version}-%{commit}.tgz %else Source0: https://github.com/libgd/libgd/releases/download/gd-%{version}/libgd-%{version}.tar.xz %endif -# Missing, temporary workaround, fixed upstream for next version -Source1: https://raw.githubusercontent.com/libgd/libgd/gd-%{version}/tests/heif/label.heic -Patch0: libgd-upstream.patch +# Needed by PHP see https://github.com/libgd/libgd/pull/766 +Patch0: libgd-flip.patch +# Missing header see https://github.com/libgd/libgd/pull/766 +Patch1: libgd-iostream.patch BuildRequires: freetype-devel BuildRequires: fontconfig-devel @@ -167,8 +168,8 @@ files for gd, a graphics library for creating PNG and JPEG graphics. %prep %setup -q -n libgd-%{version}%{?prever:-%{prever}} -install -m 0644 %{SOURCE1} tests/heif/ -%patch0 -p1 -b .up +%patch0 -p1 +%patch1 -p1 : $(perl config/getver.pl) @@ -247,6 +248,8 @@ XFAIL_TESTS="gdimagegrayscale/basic $XFAIL_TESTS" %endif %endif export XFAIL_TESTS +# Workaround to https://github.com/libgd/libgd/issues/763 +export TMPDIR=/tmp : Upstream test suite make check %{?_smp_mflags} @@ -276,6 +279,11 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc %changelog +* Mon Sep 13 2021 Remi Collet <remi@remirepo.net> - 2.3.3-1 +- update to 2.3.3 +- open https://github.com/libgd/libgd/pull/766 missing macros +- open https://github.com/libgd/libgd/pull/767 missing headers + * Wed Apr 28 2021 Remi Collet <remi@remirepo.net> - 2.3.2-4 - rebuild for libavif new soname on Fedora 34 diff --git a/label.heic b/label.heic Binary files differdeleted file mode 100644 index 12814f7..0000000 --- a/label.heic +++ /dev/null diff --git a/libgd-flip.patch b/libgd-flip.patch new file mode 100644 index 0000000..4fa964f --- /dev/null +++ b/libgd-flip.patch @@ -0,0 +1,50 @@ +From f4bc1f5c26925548662946ed7cfa473c190a104a Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Mon, 13 Sep 2021 14:57:52 +0200 +Subject: [PATCH 1/2] Revert "Fix #318, these macros are not used as planed, we + have separate functions for each" + +This reverts commit bdc281eadb1d58d5c0c7bbc1125ee4674256df08. +--- + src/gd.h | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/gd.h b/src/gd.h +index 30560395..1ad9e637 100644 +--- a/src/gd.h ++++ b/src/gd.h +@@ -1604,6 +1604,11 @@ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im); + BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im); + BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im); + ++#define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */ ++#define GD_FLIP_HORIZONTAL 1 ++#define GD_FLIP_VERTICAL 2 ++#define GD_FLIP_BOTH 3 ++ + /** + * Group: Crop + * + +From e47c619d792455aad23708d2ec2947455394427e Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Mon, 13 Sep 2021 14:59:47 +0200 +Subject: [PATCH 2/2] add comment to not remove these macros + +--- + src/gd.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/gd.h b/src/gd.h +index 1ad9e637..71f5a89c 100644 +--- a/src/gd.h ++++ b/src/gd.h +@@ -1604,6 +1604,8 @@ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im); + BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im); + BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im); + ++/* Macros still used in gd extension up to PHP 8.0 ++ so please keep these unused macros for now */ + #define GD_FLIP_HORINZONTAL 1 /* typo, kept for BC */ + #define GD_FLIP_HORIZONTAL 1 + #define GD_FLIP_VERTICAL 2 diff --git a/libgd-iostream.patch b/libgd-iostream.patch new file mode 100644 index 0000000..c80b3ec --- /dev/null +++ b/libgd-iostream.patch @@ -0,0 +1,35 @@ +From 01bcbdcae35b90de082012e639094c711a7aa2b3 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Mon, 13 Sep 2021 15:05:18 +0200 +Subject: [PATCH] install missing header, used by gdpp.h + +--- + src/CMakeLists.txt | 1 + + src/Makefile.am | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 3839bc78..c1eea100 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -194,6 +194,7 @@ install(FILES + gdfontt.h + gdfx.h + gdpp.h ++ gd_io_stream.h + DESTINATION include) + + CONFIGURE_FILE(../config/gdlib.pc.cmake gdlib.pc @ONLY) +diff --git a/src/Makefile.am b/src/Makefile.am +index dbe9243c..c8c779f1 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -52,7 +52,7 @@ EXTRA_DIST = \ + msinttypes/inttypes.h \ + msinttypes/stdint.h + +-include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h gd_color_map.h gd_errors.h gdpp.h ++include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h gd_color_map.h gd_errors.h gdpp.h gd_io_stream.h + + lib_LTLIBRARIES = libgd.la + diff --git a/libgd-upstream.patch b/libgd-upstream.patch deleted file mode 100644 index 332ad69..0000000 --- a/libgd-upstream.patch +++ /dev/null @@ -1,196 +0,0 @@ -From f7d12c91fa8bb0313dfc9d5ca827674c49a7bc9d Mon Sep 17 00:00:00 2001 -From: Martin Reboredo <39890836+YakoYakoYokuYoku@users.noreply.github.com> -Date: Tue, 16 Mar 2021 12:53:16 -0300 -Subject: [PATCH] Permit compilation with libheif version 1.7.0 (#686) - -libheif versions that came before 1.9.0 don't support changing the output image chroma. -I did not notice that and it resulted with tests failures across other OSes that don't have -a much newer libheif. - -See #678. Supersedes #685. ---- - src/gd_heif.c | 14 ++++++++------ - tests/heif/heif_im2im.c | 3 +++ - 2 files changed, 11 insertions(+), 6 deletions(-) - -diff --git a/src/gd_heif.c b/src/gd_heif.c -index 3b00a6c5..47ecd7ad 100644 ---- a/src/gd_heif.c -+++ b/src/gd_heif.c -@@ -321,12 +321,14 @@ static int _gdImageHeifCtx(gdImagePtr im, gdIOCtx *outfile, int quality, gdHeifC - return GD_FALSE; - } - -- err = heif_encoder_set_parameter_string(heif_enc, "chroma", chroma); -- if (err.code != heif_error_Ok) { -- gd_error("gd-heif invalid chroma subsampling parameter\n"); -- heif_encoder_release(heif_enc); -- heif_context_free(heif_ctx); -- return GD_FALSE; -+ if (heif_get_version_number_major() >= 1 && heif_get_version_number_minor() >= 9) { -+ err = heif_encoder_set_parameter_string(heif_enc, "chroma", chroma); -+ if (err.code != heif_error_Ok) { -+ gd_error("gd-heif invalid chroma subsampling parameter\n"); -+ heif_encoder_release(heif_enc); -+ heif_context_free(heif_ctx); -+ return GD_FALSE; -+ } - } - - err = heif_image_create(gdImageSX(im), gdImageSY(im), heif_colorspace_RGB, heif_chroma_interleaved_RGBA, &heif_im); -diff --git a/tests/heif/heif_im2im.c b/tests/heif/heif_im2im.c -index 202d6b3e..01abf021 100644 ---- a/tests/heif/heif_im2im.c -+++ b/tests/heif/heif_im2im.c -@@ -17,6 +17,9 @@ int main() - int size = 0; - CuTestImageResult result = {0, 0}; - -+ if (!gdTestAssertMsg(heif_get_version_number_major() == 1 && heif_get_version_number_minor() >= 9, "changing chroma subsampling is not supported in this libheif version\n")) -+ return 77; -+ - if (!gdTestAssertMsg(heif_have_decoder_for_format(heif_compression_HEVC) && heif_have_encoder_for_format(heif_compression_HEVC), "HEVC codec support missing from libheif\n")) - return 77; - -From f6a111c632fcf76dd3a42d750f18d2ed7bf8a5f1 Mon Sep 17 00:00:00 2001 -From: Ben Morss <morss@google.com> -Date: Tue, 16 Mar 2021 12:26:17 -0400 -Subject: [PATCH] Fix for libavif v0.8.2 (#680) - -Don't return AVIF_RESULT_TRUNCATED_DATA, as this is normal for libavif <= 0.8.2. In our tests, -this makes tests pass with libavif 0.8.2. - -Plus, we did a few things to stop compiler warnings - and added a newline to error output. - -thanks @wantehchang for the collaboration here! - -This fixes #677. ---- - src/gd_avif.c | 19 ++++++++++++------- - 1 file changed, 12 insertions(+), 7 deletions(-) - -diff --git a/src/gd_avif.c b/src/gd_avif.c -index cf94c70a..20906618 100644 ---- a/src/gd_avif.c -+++ b/src/gd_avif.c -@@ -151,7 +151,7 @@ static avifBool isAvifSrgbImage(avifImage *avifIm) { - */ - static avifBool isAvifError(avifResult result, const char *msg) { - if (result != AVIF_RESULT_OK) { -- gd_error("avif error - %s: %s", msg, avifResultToString(result)); -+ gd_error("avif error - %s: %s\n", msg, avifResultToString(result)); - return AVIF_TRUE; - } - -@@ -177,13 +177,18 @@ static avifResult readFromCtx(avifIO *io, uint32_t readFlags, uint64_t offset, s - void *dataBuf = NULL; - gdIOCtx *ctx = (gdIOCtx *) io->data; - -+ // readFlags is unsupported -+ if (readFlags != 0) { -+ return AVIF_RESULT_IO_ERROR; -+ } -+ - // TODO: if we set sizeHint, this will be more efficient. - -- if (offset > LONG_MAX || size < 0) -+ if (offset > INT_MAX || size > INT_MAX) - return AVIF_RESULT_IO_ERROR; - - // Try to seek offset bytes forward. If we pass the end of the buffer, throw an error. -- if (!ctx->seek(ctx, offset)) -+ if (!ctx->seek(ctx, (int) offset)) - return AVIF_RESULT_IO_ERROR; - - dataBuf = gdMalloc(size); -@@ -194,7 +199,7 @@ static avifResult readFromCtx(avifIO *io, uint32_t readFlags, uint64_t offset, s - - // Read the number of bytes requested. - // If getBuf() returns a negative value, that means there was an error. -- int charsRead = ctx->getBuf(ctx, dataBuf, size); -+ int charsRead = ctx->getBuf(ctx, dataBuf, (int) size); - if (charsRead < 0) { - gdFree(dataBuf); - return AVIF_RESULT_IO_ERROR; -@@ -202,7 +207,7 @@ static avifResult readFromCtx(avifIO *io, uint32_t readFlags, uint64_t offset, s - - out->data = dataBuf; - out->size = charsRead; -- return charsRead == size ? AVIF_RESULT_OK : AVIF_RESULT_TRUNCATED_DATA; -+ return AVIF_RESULT_OK; - } - - // avif.h says this is optional, but it seemed easy to implement. -@@ -339,7 +344,7 @@ BGD_DECLARE(gdImagePtr) gdImageCreateFromAvifPtr(int size, void *data) - */ - BGD_DECLARE(gdImagePtr) gdImageCreateFromAvifCtx (gdIOCtx *ctx) - { -- int x, y; -+ uint32_t x, y; - gdImage *im = NULL; - avifResult result; - avifIO *io; -@@ -482,7 +487,7 @@ static avifBool _gdImageAvifCtx(gdImagePtr im, gdIOCtx *outfile, int quality, in - - uint32_t val; - uint8_t *p; -- int x, y; -+ uint32_t x, y; - - if (im == NULL) - return 1; -From d967ef78ffbb9f21090dcf058617b2b0677d9830 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Wed, 17 Mar 2021 14:42:22 +0100 -Subject: [PATCH] fix test when libraqm is used - ---- - tests/gdimagestringft/gdimagestringft_bbox.c | 17 +++++++++++++++++ - 1 file changed, 17 insertions(+) - -diff --git a/tests/gdimagestringft/gdimagestringft_bbox.c b/tests/gdimagestringft/gdimagestringft_bbox.c -index 5d57bc7b..a4b83eb8 100644 ---- a/tests/gdimagestringft/gdimagestringft_bbox.c -+++ b/tests/gdimagestringft/gdimagestringft_bbox.c -@@ -1,4 +1,5 @@ - #include "gd.h" -+#include "config.h" - #include <stdio.h> - #include <stdlib.h> - #include <math.h> -@@ -11,19 +12,35 @@ static int EXPECT[16][8] = { - {500, 400, 628, 400, 628, 376, 500, 376}, - {492, 362, 611, 312, 601, 290, 483, 339}, - {470, 330, 561, 239, 544, 221, 453, 312}, -+#ifdef HAVE_LIBRAQM -+ {437, 308, 486, 190, 464, 180, 414, 299}, -+#else - {437, 308, 486, 189, 464, 180, 414, 299}, -+#endif - {400, 301, 400, 173, 376, 173, 376, 301}, - {363, 309, 313, 190, 291, 200, 340, 318}, - {332, 331, 241, 240, 223, 257, 314, 348}, -+#ifdef HAVE_LIBRAQM -+ {311, 363, 193, 314, 183, 336, 302, 386}, -+#else - {311, 363, 192, 314, 183, 336, 302, 386}, -+#endif - {304, 399, 176, 399, 176, 423, 304, 423}, - {312, 435, 193, 485, 203, 507, 321, 458}, - {333, 465, 242, 556, 259, 574, 350, 483}, -+#ifdef HAVE_LIBRAQM -+ {364, 486, 315, 604, 337, 614, 387, 495}, -+#else - {364, 486, 315, 605, 337, 614, 387, 495}, -+#endif - {399, 492, 399, 620, 423, 620, 423, 492}, - {434, 484, 484, 603, 506, 593, 457, 475}, - {463, 464, 554, 555, 572, 538, 481, 447}, -+#ifdef HAVE_LIBRAQM -+ {483, 434, 601, 483, 611, 461, 492, 411}, -+#else - {483, 434, 602, 483, 611, 461, 492, 411}, -+#endif - }; - - int main() |