Closed
Bug 298496
Opened 20 years ago
Closed 19 years ago
nsType1.cpp compile error due to new freetype 2.2 const poisoning
Categories
(Core Graveyard :: GFX: Gtk, defect)
Core Graveyard
GFX: Gtk
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pw-fb, Assigned: jshin1987)
Details
(Keywords: fixed1.8)
Attachments
(2 files)
1.98 KB,
patch
|
Details | Diff | Splinter Review | |
5.44 KB,
patch
|
kherron+mozilla
:
review+
dbaron
:
superreview+
mscott
:
approval1.8rc1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.8b2) Gecko/20050622 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.8b2) Gecko/20050622 Firefox/1.0+
From freetype2's docs/CHANGES file:
LATEST CHANGES BETWEEN 2.2.0 and 2.1.10
II. IMPORTANT CHANGES
- The following callback function types have changed slightly (by
adding the `const' keyword where appropriate):
FT_Outline_MoveToFunc
FT_Outline_LineToFunc
FT_Outline_ConicToFunc
FT_Outline_CubicToFunc
FT_SpanFunc
FT_Raster_RenderFunc
FT_Glyph_TransformFunc
FT_Renderer_RenderFunc
FT_Renderer_TransformFunc
Note that this doesn't affect binary backwards compatibility.
... but it does affect building nsType1.cpp. The attached patch fixes this.
Reproducible: Always
Reporter | ||
Comment 1•20 years ago
|
||
Assignee: nobody → blizzard
Component: Build Config → GFX: Gtk
QA Contact: build-config → gtk
Summary: nsType1.cpp compile error due to new freetype const poisoning → nsType1.cpp compile error due to new freetype 2.2 const poisoning
Comment 2•19 years ago
|
||
This is an automated message, with ID "auto-resolve01".
This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.
While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.
If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.
The latest beta releases can be obtained from:
Firefox: http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 3•19 years ago
|
||
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
Reporter | ||
Updated•19 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: EXPIRED → ---
Assignee | ||
Comment 4•19 years ago
|
||
With the patch uploaded here, nsType1.cpp wouldn't compile with FT 2.1.x so that
we need to add '#ifdef ... #else....'
Assignee: blizzard → jshin1987
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 5•19 years ago
|
||
Assignee | ||
Comment 6•19 years ago
|
||
Comment on attachment 199744 [details] [diff] [review]
patch working for both FT 2.2.x and 2.1.x
I got rid of the 'pollution' from the other bug in my tree.
Attachment #199744 -
Flags: superreview?(dbaron)
Attachment #199744 -
Flags: review?(kherron+mozilla)
Comment on attachment 199744 [details] [diff] [review]
patch working for both FT 2.2.x and 2.1.x
I'm assuming the last segment of the patch is the part that wasn't supposed to
be in it; given that, sr=dbaron.
Attachment #199744 -
Flags: superreview?(dbaron) → superreview+
Updated•19 years ago
|
Attachment #199744 -
Flags: review?(kherron+mozilla) → review+
Assignee | ||
Comment 8•19 years ago
|
||
Comment on attachment 199744 [details] [diff] [review]
patch working for both FT 2.2.x and 2.1.x
fix checked in to the trunk. asking for a 1.8rc1.
1.8(av 1.5) branch is likely to be a long lasting branch and freetype 2.2.x is
expected to be included soon in major linux distributions so that we'd better
fix this in the branch as well.
Risk : very low (just adding 'const' when freetype 2.2.x is installed.
otherwise, no change)
Attachment #199744 -
Flags: approval1.8rc1?
Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → FIXED
Comment 9•19 years ago
|
||
Comment on attachment 199744 [details] [diff] [review]
patch working for both FT 2.2.x and 2.1.x
a=me if this lands today on the branch after we're sure it builds everywhere on
the trunk :)
Attachment #199744 -
Flags: approval1.8rc1? → approval1.8rc1+
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•