diff --git a/games/atomix/Makefile b/games/atomix/Makefile index 3017c4cbb51c..8962f47fe96b 100644 --- a/games/atomix/Makefile +++ b/games/atomix/Makefile @@ -1,31 +1,32 @@ # New ports collection makefile for: atomix # Date created: 30 January 2000 # Whom: Yukihiro Nakai # # $FreeBSD$ # $MCom: ports-stable/games/atomix/Makefile,v 1.2 2005/08/04 04:03:32 marcus Exp $ # PORTNAME= atomix PORTVERSION= 1.2.4 +PORTREVISION= 1 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= A yet another little mind game USE_X_PREFIX= yes USE_GMAKE= yes USE_BZIP2= yes USE_REINPLACE= yes USE_GNOME= gnomeprefix gnomehack intlhack libgnomeui GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" post-patch: @${REINPLACE_CMD} -e 's/games\.games/games:games/' ${WRKSRC}/Makefile.in .include diff --git a/games/atomix/files/patch-level-manager.c b/games/atomix/files/patch-level-manager.c new file mode 100644 index 000000000000..573ce8c66552 --- /dev/null +++ b/games/atomix/files/patch-level-manager.c @@ -0,0 +1,15 @@ +--- src/level-manager.c.orig Thu Nov 17 17:45:18 2005 ++++ src/level-manager.c Thu Nov 17 17:45:31 2005 +@@ -232,10 +232,10 @@ static void search_level_in_dir (LevelMa + g_free (levelname); + } + } ++ g_free (dent); ++ closedir (dir); + } + +- g_free (dent); +- closedir (dir); + } + + static gchar *lookup_level_name (gchar *filename) diff --git a/games/atomix/files/patch-theme-manager.c b/games/atomix/files/patch-theme-manager.c new file mode 100644 index 000000000000..185e64af8c57 --- /dev/null +++ b/games/atomix/files/patch-theme-manager.c @@ -0,0 +1,15 @@ +--- src/theme-manager.c.orig Thu Nov 17 17:43:33 2005 ++++ src/theme-manager.c Thu Nov 17 17:43:58 2005 +@@ -168,10 +168,10 @@ static void search_themes_in_dir (ThemeM + g_free (subdirpath); + } + } ++ g_free (dent); ++ closedir (dir); + } + +- g_free (dent); +- closedir (dir); + } + + static void add_theme (ThemeManager *tm, gchar *themename, gchar *dirpath)