aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-12-24 15:20:14 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-12-24 15:20:14 +0000
commitec10a5a9a4828735befdf39abf5cdf220f0196a6 (patch)
treef5e005db9f485628d72f2aae57d57b869fe8f32a /games
parente9493f37ffcd60187d362b1ae26386cb21d245eb (diff)
downloadports-ec10a5a9a4828735befdf39abf5cdf220f0196a6.tar.gz
ports-ec10a5a9a4828735befdf39abf5cdf220f0196a6.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/lbreakout2/Makefile2
-rw-r--r--games/lbreakout2/files/patch-stk.c27
-rw-r--r--games/lbreakout2/pkg-plist10
3 files changed, 1 insertions, 38 deletions
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile
index 6bb73ee911a9..1307321fc85a 100644
--- a/games/lbreakout2/Makefile
+++ b/games/lbreakout2/Makefile
@@ -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
diff --git a/games/lbreakout2/files/patch-stk.c b/games/lbreakout2/files/patch-stk.c
deleted file mode 100644
index 6893b30d6c7c..000000000000
--- a/games/lbreakout2/files/patch-stk.c
+++ /dev/null
@@ -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);
diff --git a/games/lbreakout2/pkg-plist b/games/lbreakout2/pkg-plist
index d1751df84f68..5fc00148bb38 100644
--- a/games/lbreakout2/pkg-plist
+++ b/games/lbreakout2/pkg-plist
@@ -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%%