Apply patch to allow Haiku printing to compile

h/t Luc, and sorry for not doing it sooner!

Source - 01ba520dab/media-gfx/tuxpaint/patches/tuxpaint_sdl2-0.9.28.patchset
This commit is contained in:
Bill Kendrick 2023-03-18 11:06:46 -07:00
parent bfdd6f4e2d
commit 2f7971c8b9
2 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@ Various contributors (see below, and AUTHORS.txt)
https://tuxpaint.org/ https://tuxpaint.org/
2023.March.16 (0.9.29) ### RC1 2023.March.18 (0.9.29) ### RC2?
* Improvements to "Stamp" tool: * Improvements to "Stamp" tool:
----------------------------- -----------------------------
* Stamps may now be rotated. * Stamps may now be rotated.
@ -375,6 +375,9 @@ https://tuxpaint.org/
when building with the --shuffle flag for GNU make. when building with the --shuffle flag for GNU make.
Philipp Rösner <rndxelement@protonmail.com> Philipp Rösner <rndxelement@protonmail.com>
* Correction to allow Haiku printing code to compile again
Luc 'Begasus' Schrijvers <begasus@gmail.com>
* Documentation updates: * Documentation updates:
--------------------- ---------------------
* New "Quickstart Guide" document added. * New "Quickstart Guide" document added.

View file

@ -19,10 +19,9 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt) (See COPYING.txt)
$Id$
*/ */
/* Jan. 17, 2003 */ /* Jan. 17, 2003 - March 18, 2023 */
#include "BeOS_print.h" #include "BeOS_print.h"
@ -82,8 +81,6 @@ BBitmap *SurfaceToBBitmap(SDL_Surface * surf)
pixfmt.Gloss = 0; pixfmt.Gloss = 0;
pixfmt.Bloss = 0; pixfmt.Bloss = 0;
pixfmt.Aloss = 0; pixfmt.Aloss = 0;
pixfmt.colorkey = 0;
pixfmt.alpha = 0;
surf32 = SDL_ConvertSurface(surf, &pixfmt, SDL_SWSURFACE); surf32 = SDL_ConvertSurface(surf, &pixfmt, SDL_SWSURFACE);