mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
- Properly support png 1.5
- Cleanup plist
This commit is contained in:
parent
e9493f37ff
commit
ec10a5a9a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375467
@ -12,7 +12,7 @@ COMMENT= Breakout-style arcade game
|
||||
|
||||
LICENSE= GPLv2 # (or later)
|
||||
|
||||
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
|
||||
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
||||
|
||||
USES= gmake
|
||||
USE_SDL= mixer net sdl
|
||||
|
@ -1,27 +0,0 @@
|
||||
--- gui/stk.c.orig 2005-03-28 19:18:42.000000000 +0200
|
||||
+++ gui/stk.c 2012-05-03 07:07:35.000000000 +0200
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <png.h>
|
||||
+#include <pngpriv.h>
|
||||
#include "stk.h"
|
||||
|
||||
//#define STK_DEBUG
|
||||
@@ -54,7 +55,7 @@
|
||||
|
||||
/* Load a PNG type image from an SDL datasource */
|
||||
#define IMG_SetError SDL_SetError
|
||||
-static void png_read_data(png_structp ctx, png_bytep area, png_size_t size)
|
||||
+static void local_png_read_data(png_structp ctx, png_bytep area, png_size_t size)
|
||||
{
|
||||
SDL_RWops *src;
|
||||
|
||||
@@ -111,7 +112,7 @@
|
||||
}
|
||||
|
||||
/* Set up the input control */
|
||||
- png_set_read_fn(png_ptr, src, png_read_data);
|
||||
+ png_set_read_fn(png_ptr, src, local_png_read_data);
|
||||
|
||||
/* Read PNG header info */
|
||||
png_read_info(png_ptr, info_ptr);
|
@ -324,13 +324,3 @@ share/applications/lbreakout2.desktop
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/lbreakout2.mo
|
||||
%%NLS%%share/locale/tr/LC_MESSAGES/lbreakout2.mo
|
||||
share/pixmaps/lbreakout48.gif
|
||||
@dirrm %%DATADIR%%/sounds
|
||||
@dirrm %%DATADIR%%/levels
|
||||
@dirrm %%DATADIR%%/gui_theme
|
||||
@dirrm %%DATADIR%%/gfx/Oz
|
||||
@dirrm %%DATADIR%%/gfx/Moiree
|
||||
@dirrm %%DATADIR%%/gfx/Classic
|
||||
@dirrm %%DATADIR%%/gfx/AbsoluteB
|
||||
@dirrm %%DATADIR%%/gfx
|
||||
@dirrm %%DATADIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user