diff options
-rw-r--r-- | games/gtetrinet/Makefile | 4 | ||||
-rw-r--r-- | games/gtetrinet/distinfo | 4 | ||||
-rw-r--r-- | games/gtetrinet/files/patch-src_misc.c | 18 | ||||
-rw-r--r-- | games/gtetrinet/pkg-plist | 7 |
4 files changed, 26 insertions, 7 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile index 86c3655bd3de..1cf68d1cdd3b 100644 --- a/games/gtetrinet/Makefile +++ b/games/gtetrinet/Makefile @@ -5,8 +5,7 @@ # $FreeBSD$ PORTNAME= gtetrinet -PORTVERSION= 0.7.8 -PORTREVISION= 1 +PORTVERSION= 0.7.9 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} @@ -26,6 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ARGS= --bindir=${PREFIX}/bin --enable-ipv6 MAN6= gtetrinet.6 +GCONF_SCHEMAS= gtetrinet.schemas post-patch: @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ diff --git a/games/gtetrinet/distinfo b/games/gtetrinet/distinfo index 3a5b2904c61d..c767891099b8 100644 --- a/games/gtetrinet/distinfo +++ b/games/gtetrinet/distinfo @@ -1,2 +1,2 @@ -MD5 (gnome2/gtetrinet-0.7.8.tar.bz2) = 825e95f8665e4ada682c59edb5fcd861 -SIZE (gnome2/gtetrinet-0.7.8.tar.bz2) = 443233 +MD5 (gnome2/gtetrinet-0.7.9.tar.bz2) = e878c76820a9453433bb9bca5618d52b +SIZE (gnome2/gtetrinet-0.7.9.tar.bz2) = 525526 diff --git a/games/gtetrinet/files/patch-src_misc.c b/games/gtetrinet/files/patch-src_misc.c new file mode 100644 index 000000000000..4f2680e0e54b --- /dev/null +++ b/games/gtetrinet/files/patch-src_misc.c @@ -0,0 +1,18 @@ +--- src/misc.c.orig Sun May 8 16:05:33 2005 ++++ src/misc.c Sun May 8 16:06:48 2005 +@@ -145,6 +145,7 @@ + GtkTextIter iter; + guchar* p; + guchar* text=g_strdup(str); ++ gchar out[7]; /* max utf-8 length plus \0 */ + + + /* is the scroll bar at the bottom ?? */ +@@ -201,7 +202,6 @@ + { + tmp=g_utf8_get_char(p); /* It's not a color code, so get the entire char. */ + /* gchar *out = g_locale_to_utf8 (&text[i], 1, NULL, NULL, NULL); */ +- gchar out[7]; /* max utf-8 length plus \0 */ + out[g_unichar_to_utf8(tmp,out)]='\0'; /* convert and terminate */ + g_assert(g_utf8_validate(out,-1,NULL)); + diff --git a/games/gtetrinet/pkg-plist b/games/gtetrinet/pkg-plist index 77523652ca8f..42920ed80767 100644 --- a/games/gtetrinet/pkg-plist +++ b/games/gtetrinet/pkg-plist @@ -1,7 +1,4 @@ bin/gtetrinet -@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/gtetrinet.schemas > /dev/null || /usr/bin/true -etc/gconf/schemas/gtetrinet.schemas -@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/gtetrinet.schemas > /dev/null || /usr/bin/true share/gnome/applications/gtetrinet.desktop share/gnome/gtetrinet/themes/default/blocks.png share/gnome/gtetrinet/themes/default/theme.cfg @@ -12,6 +9,7 @@ share/gnome/pixmaps/gtetrinet/team.png share/gnome/pixmaps/gtetrinet.png share/locale/am/LC_MESSAGES/gtetrinet.mo share/locale/az/LC_MESSAGES/gtetrinet.mo +share/locale/bg/LC_MESSAGES/gtetrinet.mo share/locale/ca/LC_MESSAGES/gtetrinet.mo share/locale/cs/LC_MESSAGES/gtetrinet.mo share/locale/cy/LC_MESSAGES/gtetrinet.mo @@ -34,6 +32,9 @@ share/locale/pt/LC_MESSAGES/gtetrinet.mo share/locale/it/LC_MESSAGES/gtetrinet.mo share/locale/ko/LC_MESSAGES/gtetrinet.mo share/locale/pa/LC_MESSAGES/gtetrinet.mo +share/locale/tr/LC_MESSAGES/gtetrinet.mo +share/locale/vi/LC_MESSAGES/gtetrinet.mo +share/locale/rw/LC_MESSAGES/gtetrinet.mo share/locale/nb/LC_MESSAGES/gtetrinet.mo share/locale/zh_CN/LC_MESSAGES/gtetrinet.mo share/locale/pt_BR/LC_MESSAGES/gtetrinet.mo |