freebsd-ports/graphics/libfpx/files/patch-ph_image
Mikhail Teterin b9df91e362 Upgrade from 1.2.x to 1.3.1-1 now that the upstream finally contains new
code (rather than simply updates to auto- configuration glue):

Notified by:	Steve Wills

via

PR:	ports/171812

The changes are minor, thus shared-library bump.

Fix several of the warnings, which GNU compiler missed, but clang uncovered
(which broke the build because of -Werror):

Notified by:	Andreas Nilsson, Thomas Zander
2012-10-05 04:14:40 +00:00

18 lines
1.2 KiB
Text

--- ri_image/ph_image.h 2007-11-02 03:10:05.000000000 -0400
+++ ri_image/ph_image.h 2012-10-04 22:38:52.000000000 -0400
@@ -173,5 +173,5 @@
virtual FPXStatus CreateInitResolutionLevelList(); // Make a sub image list in read or write mode
virtual FPXStatus CreateEmptyResolutionLevelList(); // Make a sub image list in create mode
- virtual PResolutionLevel* CreateEmptyResolutionLevel(int width, int height, long* quelImage); // Make a sub image in create mode
+ virtual PResolutionLevel* CreateEmptyResolutionLevel(int width, int height, int* quelImage); // Make a sub image in create mode
virtual PResolutionLevel* CreateInitResolutionLevel(int* offset, long id); // Make a sub image in read or write mode
--- ri_image/ph_image.cpp 2007-11-02 03:10:05.000000000 -0400
+++ ri_image/ph_image.cpp 2012-10-04 22:38:31.000000000 -0400
@@ -1127,5 +1127,5 @@
// ----------------------------------------------------------------------------
// Make a sub resolution level in create mode
-PResolutionLevel* PHierarchicalImage::CreateEmptyResolutionLevel(int , int , long int*)
+PResolutionLevel* PHierarchicalImage::CreateEmptyResolutionLevel(int , int , int*)
{
return NULL;