FreeBSD Bugzilla – Attachment 169204 Details for
Bug 208709
[PATCH] games/znibbles: Update MASTER_SITES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
games_znibbles.diff
games_znibbles.diff (text/plain), 37.56 KB, created by
tkato432
on 2016-04-11 18:32:56 UTC
(
hide
)
Description:
games_znibbles.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2016-04-11 18:32:56 UTC
Size:
37.56 KB
patch
obsolete
>diff -urN /usr/ports/games/znibbles/Makefile games/znibbles/Makefile >--- /usr/ports/games/znibbles/Makefile 2016-01-13 07:48:19.526048000 +0900 >+++ games/znibbles/Makefile 2016-04-12 00:00:00.000000000 +0900 >@@ -3,28 +3,27 @@ > > PORTNAME= znibbles > PORTVERSION= 0.0.7 >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= games >-MASTER_SITES= http://old.koalateam.com/ftp/pub/games/znibbles/ \ >- http://www.jfouffa.com/vmallet/archives/ >+MASTER_SITES= http://www.zyllius.com/vmallet/archives/ > > MAINTAINER= ports@FreeBSD.org > COMMENT= Multi-player networked nibbles game > >-BROKEN= unfetchable >- > LICENSE= GPLv2+ > >-OPTIONS_DEFINE= GTK1 >-OPTIONS_DEFAULT= GTK1 >- > USES= motif > GNU_CONFIGURE= yes > >+DESKTOP_ENTRIES="Znibbles" "" "" "znibblesX" "" "" >+ > PLIST_FILES= bin/nibbles bin/znibbles bin/znibblesX \ > man/man6/nibbles.6.gz man/man6/znibbles.6.gz \ > man/man6/znibblesX.6.gz > >+OPTIONS_DEFINE= GTK1 >+OPTIONS_DEFAULT= GTK1 >+ > GTK1_USE= GNOME=gtk12 > GTK1_PLIST_FILES= bin/gznibbles man/man6/gznibbles.6.gz > GTK1_CONFIGURE_ENABLE= gtk >@@ -46,6 +45,10 @@ > > post-install: > (cd ${WRKSRC}/doc && ${INSTALL_MAN} nibbles.6 znibbles.6 znibblesX.6 \ >- gznibbles.6 ${STAGEDIR}${MAN6PREFIX}/man/man6) >+ ${STAGEDIR}${MAN6PREFIX}/man/man6) >+ >+post-install-GTK1-on: >+ (cd ${WRKSRC}/doc && ${INSTALL_MAN} gznibbles.6 \ >+ ${STAGEDIR}${MAN6PREFIX}/man/man6) > > .include <bsd.port.mk> >diff -urN /usr/ports/games/znibbles/files/patch-src_Nibble.C games/znibbles/files/patch-src_Nibble.C >--- /usr/ports/games/znibbles/files/patch-src_Nibble.C 1970-01-01 09:00:00.000000000 +0900 >+++ games/znibbles/files/patch-src_Nibble.C 2016-04-12 00:00:00.000000000 +0900 >@@ -0,0 +1,25 @@ >+--- src/Nibble.C.orig 1998-11-17 08:36:32 UTC >++++ src/Nibble.C >+@@ -58,7 +58,7 @@ void Nibble:: add_description(Trame &t) >+ void Nibble:: read_description(Trame &t) >+ { >+ if (t.get_char() != NEW_NIBBLE) { >+- cerr << "Nibble::read_description(): ohhh le bordel!\n"; >++ std::cerr << "Nibble::read_description(): ohhh le bordel!\n"; >+ exit(1); >+ } >+ >+@@ -81,10 +81,10 @@ void Nibble::read_description0(Trame &t) >+ >+ void Nibble::display() >+ { >+- cout << " ID:"<< id; >++ std::cout << " ID:"<< id; >+ printf(" %04x", classtype); >+- cout << " Nibble " << pos.x << "x" << pos.y << " value=" << value >+- << " type=" << type << endl; >++ std::cout << " Nibble " << pos.x << "x" << pos.y << " value=" << value >++ << " type=" << type << std::endl; >+ } >+ >+ >diff -urN /usr/ports/games/znibbles/files/patch-src__Base.H games/znibbles/files/patch-src__Base.H >--- /usr/ports/games/znibbles/files/patch-src__Base.H 2015-08-24 04:03:39.562584000 +0900 >+++ games/znibbles/files/patch-src__Base.H 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/Base.H Wed May 12 11:40:22 1999 >-+++ src/Base.H Sat Oct 26 00:30:09 2002 >+--- src/Base.H.orig 1999-05-12 01:40:22 UTC >++++ src/Base.H > @@ -32,7 +32,7 @@ > #define __H_BASE__ > >@@ -9,7 +9,7 @@ > > > // #define DEBUG >-@@ -55,8 +55,8 @@ >+@@ -55,8 +55,8 @@ public: > inline ~Base() > { > total--; >@@ -20,7 +20,7 @@ > } > #else > >-@@ -65,7 +65,7 @@ >+@@ -65,7 +65,7 @@ public: > > #endif > >diff -urN /usr/ports/games/znibbles/files/patch-src__DLList.cc games/znibbles/files/patch-src__DLList.cc >--- /usr/ports/games/znibbles/files/patch-src__DLList.cc 2015-08-24 04:03:39.469390000 +0900 >+++ games/znibbles/files/patch-src__DLList.cc 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/DLList.cc Sun Apr 4 06:03:04 1999 >-+++ src/DLList.cc Sat Oct 26 00:48:24 2002 >-@@ -21,7 +21,7 @@ >+--- src/DLList.cc.orig 1999-04-03 20:03:04 UTC >++++ src/DLList.cc >+@@ -21,7 +21,7 @@ Foundation, 59 Temple Place - Suite 330, > //#pragma implementation > #endif > #include <limits.h> >diff -urN /usr/ports/games/znibbles/files/patch-src__GTK__ClientGtk.C games/znibbles/files/patch-src__GTK__ClientGtk.C >--- /usr/ports/games/znibbles/files/patch-src__GTK__ClientGtk.C 2015-08-24 04:03:39.410263000 +0900 >+++ games/znibbles/files/patch-src__GTK__ClientGtk.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/GTK/ClientGtk.C Sat Apr 24 02:47:47 1999 >-+++ src/GTK/ClientGtk.C Sat Oct 26 00:38:02 2002 >-@@ -51,7 +51,7 @@ >+--- src/GTK/ClientGtk.C.orig 1999-04-23 16:47:47 UTC >++++ src/GTK/ClientGtk.C >+@@ -51,7 +51,7 @@ int main(int argc, char **argv) > > world.run(); // start the client > >diff -urN /usr/ports/games/znibbles/files/patch-src__GTK__GtkInterface.C games/znibbles/files/patch-src__GTK__GtkInterface.C >--- /usr/ports/games/znibbles/files/patch-src__GTK__GtkInterface.C 2015-08-24 04:03:39.528995000 +0900 >+++ games/znibbles/files/patch-src__GTK__GtkInterface.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/GTK/GtkInterface.C Wed May 12 21:43:29 1999 >-+++ src/GTK/GtkInterface.C Sat Oct 26 00:36:57 2002 >+--- src/GTK/GtkInterface.C.orig 1999-05-12 11:43:29 UTC >++++ src/GTK/GtkInterface.C > @@ -37,7 +37,7 @@ > #include <gtk/gtk.h> > #include <gdk/gdkkeysyms.h> >@@ -9,7 +9,7 @@ > > #include <unistd.h> > #include <stdlib.h> >-@@ -138,7 +138,7 @@ >+@@ -138,7 +138,7 @@ void GtkInterface::init(int argc, char * > display_version(); > > if (_two_key) >@@ -18,7 +18,7 @@ > > > // connect pipe_handler to SIGPIPE signal >-@@ -154,9 +154,9 @@ >+@@ -154,9 +154,9 @@ void GtkInterface::init(int argc, char * > exit(2); > } > >@@ -30,7 +30,7 @@ > > // create and bind socket to any port > port = 0; >-@@ -168,8 +168,8 @@ >+@@ -168,8 +168,8 @@ void GtkInterface::init(int argc, char * > } > > if (_debug) >@@ -41,7 +41,7 @@ > > // Build server address > server_address.sin_family = AF_INET; >-@@ -186,7 +186,7 @@ >+@@ -186,7 +186,7 @@ void GtkInterface::init(int argc, char * > > display_play_help(); > >@@ -50,7 +50,7 @@ > > _hack_socket_client = _socket_client; // hack for signal handling > action.sa_handler = stop_handler; >-@@ -196,7 +196,7 @@ >+@@ -196,7 +196,7 @@ void GtkInterface::init(int argc, char * > > init_messages(options.get_message_file()); > >@@ -59,7 +59,7 @@ > make(argc, argv); > } > >-@@ -294,7 +294,7 @@ >+@@ -294,7 +294,7 @@ gint GtkInterface::key_cb(GtkWidget *wid > case 'z': > { > // if (_debug) >@@ -68,7 +68,7 @@ > > Trame tzz; > tzz.reset(); >-@@ -315,7 +315,7 @@ >+@@ -315,7 +315,7 @@ gint GtkInterface::key_cb(GtkWidget *wid > > default: > if (mythis._debug) >@@ -77,7 +77,7 @@ > return FALSE; > } > >-@@ -337,7 +337,7 @@ >+@@ -337,7 +337,7 @@ gint GtkInterface::configure_event (GtkW > GtkInterface *pthis) > { > if (pthis->_debug) >@@ -86,7 +86,7 @@ > > return FALSE; > } >-@@ -349,7 +349,7 @@ >+@@ -349,7 +349,7 @@ gint GtkInterface::expose_event (GtkWidg > GtkInterface *pthis) > { > if (pthis->_debug) >@@ -95,7 +95,7 @@ > > return FALSE; > } >-@@ -476,7 +476,7 @@ >+@@ -476,7 +476,7 @@ void GtkInterface::make(int argc, char * > // GTK, the proper way to do this would be to use the > // gdk_input_add() function. > >@@ -104,7 +104,7 @@ > > gdk_input_add(_socket_client, > GDK_INPUT_READ, >-@@ -487,57 +487,57 @@ >+@@ -487,57 +487,57 @@ void GtkInterface::make(int argc, char * > // display version numbers (long format) > void GtkInterface::display_version() > { >@@ -196,7 +196,7 @@ > } > > >-@@ -547,7 +547,7 @@ >+@@ -547,7 +547,7 @@ void GtkInterface::display_play_help() > > void GtkInterface::pipe_handler(int sig) > { >@@ -205,7 +205,7 @@ > sig++; // warnings.. > _dead_server = 1; > } >-@@ -555,7 +555,7 @@ >+@@ -555,7 +555,7 @@ void GtkInterface::pipe_handler(int sig) > > void GtkInterface::stop_handler(int sig) > { >@@ -214,7 +214,7 @@ > > if (_hack_socket_client) { > struct timeval tv; >-@@ -647,11 +647,11 @@ >+@@ -647,11 +647,11 @@ void GtkInterface::display_message(Playe > char buf[300]; > > if (priv) { >@@ -228,7 +228,7 @@ > sprintf(buf, "%s> %s\n", from.get_name(), msg); > } > >-@@ -707,7 +707,7 @@ >+@@ -707,7 +707,7 @@ void GtkInterface::run(void) > void GtkInterface::join_game() > { > if (_debug) >@@ -237,7 +237,7 @@ > > t.put_char(JOIN_GAME); > t.put_string(_own_name); >-@@ -740,21 +740,21 @@ >+@@ -740,21 +740,21 @@ void GtkInterface::handle_server_input_s > gint source, > GdkInputCondition cond) > { >@@ -263,7 +263,7 @@ > if (_errors >= 5) { > pipe_handler(SIGPIPE); > } >-@@ -762,9 +762,9 @@ >+@@ -762,9 +762,9 @@ void GtkInterface::handle_server_input() > } > > _errors = 0; >@@ -275,7 +275,7 @@ > > switch(t.peek_char()) { > case TRAME_ERROR: >-@@ -802,14 +802,14 @@ >+@@ -802,14 +802,14 @@ void GtkInterface::handle_server_input() > > case QUIT_GAME: > if (_debug) >@@ -293,7 +293,7 @@ > break; > } > } >-@@ -840,7 +840,7 @@ >+@@ -840,7 +840,7 @@ void GtkInterface::do_your_other_player( > int my_other_player_id = t.get_int(); > > if (_debug) >@@ -302,7 +302,7 @@ > > Player& p = world.lookup_player(my_other_player_id); > >-@@ -848,8 +848,8 @@ >+@@ -848,8 +848,8 @@ void GtkInterface::do_your_other_player( > > if (_other_player == NULL) { > if (_debug) >@@ -313,7 +313,7 @@ > return; > } > >-@@ -870,7 +870,7 @@ >+@@ -870,7 +870,7 @@ void GtkInterface::do_your_other_player( > void GtkInterface::do_void_trame() > { > if (_debug) >@@ -322,7 +322,7 @@ > t.get_char(); > char *p = t.get_string(); > if (p && strcmp(p, "w") == 0) >-@@ -978,8 +978,8 @@ >+@@ -978,8 +978,8 @@ void GtkInterface::set_own_player(Player > > if (gtk_player == NULL) { > if (_debug) >@@ -333,7 +333,7 @@ > return; > } > >-@@ -999,7 +999,7 @@ >+@@ -999,7 +999,7 @@ void GtkInterface::activate_other_player > { > if (_other_player == NULL) { > if (_debug) >diff -urN /usr/ports/games/znibbles/files/patch-src__GTK__Menus.C games/znibbles/files/patch-src__GTK__Menus.C >--- /usr/ports/games/znibbles/files/patch-src__GTK__Menus.C 2015-08-24 04:03:39.431641000 +0900 >+++ games/znibbles/files/patch-src__GTK__Menus.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/GTK/Menus.C.orig 2008-09-15 17:23:52.000000000 +0000 >-+++ src/GTK/Menus.C 2008-09-15 17:25:14.000000000 +0000 >-@@ -61,7 +61,7 @@ >+--- src/GTK/Menus.C.orig 1999-05-12 01:51:42 UTC >++++ src/GTK/Menus.C >+@@ -61,7 +61,7 @@ GtkInterface * Menus::_interface; > // Obligatory basic callback > void Menus::menu_callback_static(gpointer data, gpointer action, GtkWidget *w) { > >diff -urN /usr/ports/games/znibbles/files/patch-src__GTK__NibblesArea.C games/znibbles/files/patch-src__GTK__NibblesArea.C >--- /usr/ports/games/znibbles/files/patch-src__GTK__NibblesArea.C 2015-08-24 04:03:39.529779000 +0900 >+++ games/znibbles/files/patch-src__GTK__NibblesArea.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/GTK/NibblesArea.C Wed May 12 11:48:25 1999 >-+++ src/GTK/NibblesArea.C Sat Oct 26 00:37:26 2002 >-@@ -323,7 +323,7 @@ >+--- src/GTK/NibblesArea.C.orig 1999-05-12 01:48:25 UTC >++++ src/GTK/NibblesArea.C >+@@ -323,7 +323,7 @@ gint NibblesArea::draw_exp_cb(GtkWidget > GdkEventExpose *event, > NibblesArea *mythis) > { >diff -urN /usr/ports/games/znibbles/files/patch-src__LongObject.C games/znibbles/files/patch-src__LongObject.C >--- /usr/ports/games/znibbles/files/patch-src__LongObject.C 2015-08-24 04:03:39.332970000 +0900 >+++ games/znibbles/files/patch-src__LongObject.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/LongObject.C Mon May 10 08:59:45 1999 >-+++ src/LongObject.C Sat Oct 26 00:39:11 2002 >-@@ -128,7 +128,7 @@ >+--- src/LongObject.C.orig 1999-05-09 22:59:45 UTC >++++ src/LongObject.C >+@@ -128,7 +128,7 @@ void LongObject::add_description(Trame & > void LongObject::read_description(Trame &t) > { > if (t.get_char() != NEW_LONGOBJ) { >@@ -9,7 +9,7 @@ > exit(1); > } > >-@@ -161,17 +161,17 @@ >+@@ -161,17 +161,17 @@ void LongObject::read_description0(Trame > > void LongObject::display() > { >diff -urN /usr/ports/games/znibbles/files/patch-src__Map.C games/znibbles/files/patch-src__Map.C >--- /usr/ports/games/znibbles/files/patch-src__Map.C 2015-08-24 04:03:39.541106000 +0900 >+++ games/znibbles/files/patch-src__Map.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/Map.C Mon May 10 13:39:48 1999 >-+++ src/Map.C Sat Oct 26 00:40:04 2002 >+--- src/Map.C.orig 1999-05-10 03:39:48 UTC >++++ src/Map.C > @@ -32,7 +32,7 @@ > #endif > >@@ -9,7 +9,7 @@ > #include <string.h> > > #include "Map.H" >-@@ -61,7 +61,7 @@ >+@@ -61,7 +61,7 @@ void Map::make(int x, int y) > > // @@ do something appropriate here > if (_types == NULL) >@@ -18,7 +18,7 @@ > > clear(); > } >-@@ -112,39 +112,39 @@ >+@@ -112,39 +112,39 @@ void Map::draw_point(int x, int y, int c > // Text based display of this map (debug purposes) > void Map::display() > { >@@ -67,7 +67,7 @@ > } > > _types[_types_index].object = &obj; >-@@ -170,15 +170,15 @@ >+@@ -170,15 +170,15 @@ void Map::print_type(int x, int y) > MapType * mt = get_type(x, y); > > if (mt == NULL) >diff -urN /usr/ports/games/znibbles/files/patch-src__Map.H games/znibbles/files/patch-src__Map.H >--- /usr/ports/games/znibbles/files/patch-src__Map.H 2015-08-24 04:03:39.567118000 +0900 >+++ games/znibbles/files/patch-src__Map.H 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/Map.H Mon May 10 13:39:38 1999 >-+++ src/Map.H Sat Oct 26 00:21:33 2002 >-@@ -45,7 +45,7 @@ >+--- src/Map.H.orig 1999-05-10 03:39:38 UTC >++++ src/Map.H >+@@ -45,7 +45,7 @@ typedef struct _MapType { > > class Map { > >diff -urN /usr/ports/games/znibbles/files/patch-src__Motif__MotifInterface.C games/znibbles/files/patch-src__Motif__MotifInterface.C >--- /usr/ports/games/znibbles/files/patch-src__Motif__MotifInterface.C 2015-08-24 04:03:39.439998000 +0900 >+++ games/znibbles/files/patch-src__Motif__MotifInterface.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,4 +1,4 @@ >---- src/Motif/MotifInterface.C.orig >+--- src/Motif/MotifInterface.C.orig 1999-05-12 11:43:51 UTC > +++ src/Motif/MotifInterface.C > @@ -32,7 +32,7 @@ > # include <config.h> >@@ -9,7 +9,7 @@ > > #include <unistd.h> > #include <stdlib.h> >-@@ -131,7 +131,7 @@ >+@@ -131,7 +131,7 @@ void MotifInterface::init(int argc, char > display_version(); > > if (two_key) >@@ -18,7 +18,7 @@ > > > // connect pipe_handler to SIGPIPE signal >-@@ -147,8 +147,8 @@ >+@@ -147,8 +147,8 @@ void MotifInterface::init(int argc, char > exit(2); > } > >@@ -29,7 +29,7 @@ > > // create and bind socket to any port > port = 0; >-@@ -158,7 +158,7 @@ >+@@ -158,7 +158,7 @@ void MotifInterface::init(int argc, char > } > > if (debug) >@@ -38,7 +38,7 @@ > > // Build server address > server_address.sin_family = AF_INET; >-@@ -175,7 +175,7 @@ >+@@ -175,7 +175,7 @@ void MotifInterface::init(int argc, char > > display_play_help(); > >@@ -47,7 +47,7 @@ > > hack_socket_client = socket_client; // hack for signal handling > action.sa_handler = stop_handler; >-@@ -185,7 +185,7 @@ >+@@ -185,7 +185,7 @@ void MotifInterface::init(int argc, char > > init_messages(options.get_message_file()); > >@@ -56,7 +56,7 @@ > make(argc, argv); > } > >-@@ -262,54 +262,54 @@ >+@@ -262,54 +262,54 @@ void MotifInterface::make(int argc, char > > void MotifInterface::display_version() > { >@@ -144,7 +144,7 @@ > } > > >-@@ -318,7 +318,7 @@ >+@@ -318,7 +318,7 @@ void MotifInterface::display_play_help() > > void MotifInterface::pipe_handler(int sig) > { >@@ -153,7 +153,7 @@ > sig++; // warnings.. > dead_server = 1; > } >-@@ -326,7 +326,7 @@ >+@@ -326,7 +326,7 @@ void MotifInterface::pipe_handler(int si > > void MotifInterface::stop_handler(int sig) > { >@@ -162,7 +162,7 @@ > > if (hack_socket_client) { > struct timeval tv; >-@@ -391,11 +391,11 @@ >+@@ -391,11 +391,11 @@ void MotifInterface::display_message(Pla > char buf[300]; > > if (priv) { >@@ -176,7 +176,7 @@ > sprintf(buf, "%s> %s\n", from.get_name(), msg); > } > textarea.add_line(buf); >-@@ -545,7 +545,7 @@ >+@@ -545,7 +545,7 @@ Boolean MotifInterface::myWorkProc(XtPoi > case VOID_TRAME: > { > if (mythis.debug) >@@ -185,7 +185,7 @@ > mt.get_char(); > char *p = mt.get_string(); > if (p && strcmp(p, "w") == 0) >-@@ -595,14 +595,14 @@ >+@@ -595,14 +595,14 @@ Boolean MotifInterface::myWorkProc(XtPoi > > case QUIT_GAME: > if (mythis.debug) >@@ -203,7 +203,7 @@ > break; > } > } >-@@ -661,7 +661,7 @@ >+@@ -661,7 +661,7 @@ void MotifInterface::pause_request(int p > void MotifInterface::join_game() > { > if (debug) >diff -urN /usr/ports/games/znibbles/files/patch-src__Motif__menus.C games/znibbles/files/patch-src__Motif__menus.C >--- /usr/ports/games/znibbles/files/patch-src__Motif__menus.C 2015-08-24 04:03:39.312243000 +0900 >+++ games/znibbles/files/patch-src__Motif__menus.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/Motif/menus.C.orig 1999-04-14 23:50:14.000000000 +0900 >-+++ src/Motif/menus.C 2011-08-11 02:41:55.000000000 +0900 >-@@ -52,7 +52,7 @@ >+--- src/Motif/menus.C.orig 1999-04-14 14:50:14 UTC >++++ src/Motif/menus.C >+@@ -52,7 +52,7 @@ void Menus::file_handler(Widget w, XtPoi > { > w = w; cbs = cbs; > >@@ -9,7 +9,7 @@ > case ItemFileQuit: > quit(); > break; >-@@ -64,7 +64,7 @@ >+@@ -64,7 +64,7 @@ void Menus::help_handler(Widget w, XtPoi > { > w = w; cbs = cbs; > >diff -urN /usr/ports/games/znibbles/files/patch-src__Motif__textarea.C games/znibbles/files/patch-src__Motif__textarea.C >--- /usr/ports/games/znibbles/files/patch-src__Motif__textarea.C 2015-08-24 04:03:39.520578000 +0900 >+++ games/znibbles/files/patch-src__Motif__textarea.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,4 +1,4 @@ >---- src/Motif/textarea.C.orig >+--- src/Motif/textarea.C.orig 1998-11-17 08:40:25 UTC > +++ src/Motif/textarea.C > @@ -33,7 +33,7 @@ > #include <Xm/ScrollBar.h> >@@ -9,7 +9,7 @@ > #include "string.h" > > #include "motifutil.H" >-@@ -92,7 +92,7 @@ >+@@ -92,7 +92,7 @@ void TextArea::add_line(char *line) > XmTextSetCursorPosition(widget, XmTextGetLastPosition(widget)); > XmTextShowPosition(widget, XmTextGetLastPosition(widget)); > if (length > 9500) { >diff -urN /usr/ports/games/znibbles/files/patch-src__Movable.C games/znibbles/files/patch-src__Movable.C >--- /usr/ports/games/znibbles/files/patch-src__Movable.C 2015-08-24 04:03:39.323801000 +0900 >+++ games/znibbles/files/patch-src__Movable.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/Movable.C Tue May 11 12:15:20 1999 >-+++ src/Movable.C Sat Oct 26 00:40:14 2002 >-@@ -51,7 +51,7 @@ >+--- src/Movable.C.orig 1999-05-11 02:15:20 UTC >++++ src/Movable.C >+@@ -51,7 +51,7 @@ void Movable::add_description(Trame& t) > void Movable::read_description(Trame& t) > { > if (t.get_char() != NEW_MOVABLE) { >@@ -9,7 +9,7 @@ > exit(1); > } > >-@@ -91,19 +91,19 @@ >+@@ -91,19 +91,19 @@ void Movable::read_description0(Trame& t > // for debug purposes > void Movable::display() > { >@@ -33,7 +33,7 @@ > } > > >-@@ -282,7 +282,7 @@ >+@@ -282,7 +282,7 @@ int Movable::auto_dir() > && !update_pos(p = pos, D_RIGHT)) > newdir = D_RIGHT; > // else >@@ -42,7 +42,7 @@ > > if (direction != newdir) { > direction = newdir; >-@@ -401,7 +401,7 @@ >+@@ -401,7 +401,7 @@ void Movable::getcut(_Position cutpos) > _Position pos2 = pos; > > if (length == 1) { >@@ -51,7 +51,7 @@ > return; > } > >-@@ -415,7 +415,7 @@ >+@@ -415,7 +415,7 @@ void Movable::getcut(_Position cutpos) > > // should never happen. (should be an assertion) > if (!p) { >@@ -60,7 +60,7 @@ > return; > } > >-@@ -447,7 +447,7 @@ >+@@ -447,7 +447,7 @@ void Movable::getcut(_Position cutpos) > //evidemment ca bug! world.add_object(worm); > } > //else >diff -urN /usr/ports/games/znibbles/files/patch-src__Niblle.C games/znibbles/files/patch-src__Niblle.C >--- /usr/ports/games/znibbles/files/patch-src__Niblle.C 2015-08-24 04:03:39.479098000 +0900 >+++ games/znibbles/files/patch-src__Niblle.C 1970-01-01 09:00:00.000000000 +0900 >@@ -1,25 +0,0 @@ >---- src/Nibble.C Tue Nov 17 19:36:32 1998 >-+++ src/Nibble.C Sat Oct 26 00:40:26 2002 >-@@ -58,7 +58,7 @@ >- void Nibble:: read_description(Trame &t) >- { >- if (t.get_char() != NEW_NIBBLE) { >-- cerr << "Nibble::read_description(): ohhh le bordel!\n"; >-+ std::cerr << "Nibble::read_description(): ohhh le bordel!\n"; >- exit(1); >- } >- >-@@ -81,10 +81,10 @@ >- >- void Nibble::display() >- { >-- cout << " ID:"<< id; >-+ std::cout << " ID:"<< id; >- printf(" %04x", classtype); >-- cout << " Nibble " << pos.x << "x" << pos.y << " value=" << value >-- << " type=" << type << endl; >-+ std::cout << " Nibble " << pos.x << "x" << pos.y << " value=" << value >-+ << " type=" << type << std::endl; >- } >- >- >diff -urN /usr/ports/games/znibbles/files/patch-src__Object.C games/znibbles/files/patch-src__Object.C >--- /usr/ports/games/znibbles/files/patch-src__Object.C 2015-08-24 04:03:39.503897000 +0900 >+++ games/znibbles/files/patch-src__Object.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/Object.C Mon May 10 13:41:22 1999 >-+++ src/Object.C Sat Oct 26 00:40:49 2002 >+--- src/Object.C.orig 1999-05-10 03:41:22 UTC >++++ src/Object.C > @@ -28,7 +28,7 @@ > */ > >@@ -9,7 +9,7 @@ > > #include "Object.H" > #include "World.H" >-@@ -89,7 +89,7 @@ >+@@ -89,7 +89,7 @@ void _Object::auto_position(Map& map) > > do { > // if (yes) >diff -urN /usr/ports/games/znibbles/files/patch-src__Options.C games/znibbles/files/patch-src__Options.C >--- /usr/ports/games/znibbles/files/patch-src__Options.C 2015-08-24 04:03:39.420356000 +0900 >+++ games/znibbles/files/patch-src__Options.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/Options.C Wed May 12 11:40:13 1999 >-+++ src/Options.C Sat Oct 26 00:41:03 2002 >+--- src/Options.C.orig 1999-05-12 01:40:13 UTC >++++ src/Options.C > @@ -35,7 +35,7 @@ > > #include <stdio.h> >@@ -9,7 +9,7 @@ > > #include "Options.H" > >-@@ -150,7 +150,7 @@ >+@@ -150,7 +150,7 @@ bool Options::parse(int argc, char **arg > case 'p': > _port = atoi(optarg); > if (_port == 0) { // cannot be 0 >@@ -18,7 +18,7 @@ > bad_params = true; > } > break; >-@@ -160,7 +160,7 @@ >+@@ -160,7 +160,7 @@ bool Options::parse(int argc, char **arg > if (2 != (ooo = sscanf(optarg, "%dx%d", &_width, &_height)) || > _height == 0 || > _width == 0) { >@@ -27,7 +27,7 @@ > bad_params = true; > } > break; >-@@ -168,8 +168,8 @@ >+@@ -168,8 +168,8 @@ bool Options::parse(int argc, char **arg > case 'g': // height (server only) > _height = atoi(optarg); > if (_height == 0) { // cannot be 0 >@@ -38,7 +38,7 @@ > bad_params = true; > } > break; >-@@ -177,8 +177,8 @@ >+@@ -177,8 +177,8 @@ bool Options::parse(int argc, char **arg > case 'w': // width (server only) > _width = atoi(optarg); > if (_width == 0) { // cannot be 0 >@@ -49,7 +49,7 @@ > bad_params = true; > } > break; >-@@ -194,7 +194,7 @@ >+@@ -194,7 +194,7 @@ bool Options::parse(int argc, char **arg > > if (_set == OPTIONS_CLIENT_SET) { > if (argv[optind] == NULL) { >@@ -58,7 +58,7 @@ > bad_params = true; > } > else { >-@@ -208,7 +208,7 @@ >+@@ -208,7 +208,7 @@ bool Options::parse(int argc, char **arg > if (p != 0) > _port = p; > else { >@@ -67,7 +67,7 @@ > bad_params = true; > } > } >-@@ -227,34 +227,34 @@ >+@@ -227,34 +227,34 @@ int main(int argc, char **argv) > options.set_option_set(0); > > if (!options.parse(argc, argv)) { >diff -urN /usr/ports/games/znibbles/files/patch-src__Player.C games/znibbles/files/patch-src__Player.C >--- /usr/ports/games/znibbles/files/patch-src__Player.C 2015-08-24 04:03:39.449905000 +0900 >+++ games/znibbles/files/patch-src__Player.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/Player.C Tue May 11 12:17:08 1999 >-+++ src/Player.C Sat Oct 26 00:41:14 2002 >+--- src/Player.C.orig 1999-05-11 02:17:08 UTC >++++ src/Player.C > @@ -36,7 +36,7 @@ > #include <string.h> > #include <time.h> >@@ -9,7 +9,7 @@ > > #include "Player.H" > >-@@ -78,7 +78,7 @@ >+@@ -78,7 +78,7 @@ void Player::add_description(Trame &t) > void Player::read_description(Trame &t) > { > if (t.get_char() != PLAYER_DESC) { >@@ -18,7 +18,7 @@ > exit(1); > } > >-@@ -98,10 +98,10 @@ >+@@ -98,10 +98,10 @@ void Player::read_description(Trame &t) > // debug: print a brief representation of the player > void Player::display() > { >diff -urN /usr/ports/games/znibbles/files/patch-src__ServerInterface.C games/znibbles/files/patch-src__ServerInterface.C >--- /usr/ports/games/znibbles/files/patch-src__ServerInterface.C 2015-08-24 04:03:39.345783000 +0900 >+++ games/znibbles/files/patch-src__ServerInterface.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/ServerInterface.C Tue May 11 12:13:52 1999 >-+++ src/ServerInterface.C Sat Oct 26 00:50:26 2002 >+--- src/ServerInterface.C.orig 1999-05-11 02:13:52 UTC >++++ src/ServerInterface.C > @@ -48,6 +48,9 @@ > #include <errno.h> > >@@ -10,7 +10,7 @@ > > #include "DLList.h" // Doubly linked lists > >-@@ -118,9 +121,9 @@ >+@@ -118,9 +121,9 @@ void ServerInterface::init(int argc, cha > > display_version(); > >@@ -22,7 +22,7 @@ > > srand(time(NULL)); > >-@@ -144,12 +147,12 @@ >+@@ -144,12 +147,12 @@ void ServerInterface::init(int argc, cha > sigaction(SIGCHLD, &action, NULL); > */ > >@@ -38,7 +38,7 @@ > exit(2); > } > >-@@ -170,36 +173,36 @@ >+@@ -170,36 +173,36 @@ void ServerInterface::init(int argc, cha > // display version numbers (long format) > void ServerInterface::display_version() > { >@@ -92,7 +92,7 @@ > } > > >-@@ -230,9 +233,15 @@ >+@@ -230,9 +233,15 @@ void ServerInterface::run() > socket_service = -1; > while (socket_service == -1) { > // wait for connection >@@ -108,7 +108,7 @@ > > // Reception d'un signal (probablement SIGCHLD) > if(socket_service == -1 && errno == EINTR) { >-@@ -277,7 +286,7 @@ >+@@ -277,7 +286,7 @@ void ServerInterface::run() > char *peol; > > if (debug) { >@@ -117,7 +117,7 @@ > } > > fgets(line, MAXLINE, stdin); >-@@ -305,28 +314,28 @@ >+@@ -305,28 +314,28 @@ void ServerInterface::run() > } else if (strcmp(line, "p") == 0) { // pause > xpaused = !xpaused; > display_system_message(((xpaused) >@@ -152,7 +152,7 @@ > } > } else > display_system_message("Can't go faster :)\n"); >-@@ -388,7 +397,7 @@ >+@@ -388,7 +397,7 @@ void ServerInterface::run() > void ServerInterface::pipe_handler(int sig) > { > sig++; >@@ -161,7 +161,7 @@ > // pipe_rw_error = 1; > } > >-@@ -407,9 +416,9 @@ >+@@ -407,9 +416,9 @@ void ServerInterface::set_timer(int nbse > // void ServerInterface::alarm_handler(int sig) > // { > // if (curworld) { >@@ -173,7 +173,7 @@ > // startcycle = curworld->playcycle; > // } > // } >-@@ -433,9 +442,15 @@ >+@@ -433,9 +442,15 @@ int ServerInterface::accept_new(int sock > > while (read_ready(socketnum)) { > >@@ -189,7 +189,7 @@ > > // s'il y a une erreur, ce n'est pas une EINTR (cf appel a read_ready()) > if(socket_service == -1) { >-@@ -475,9 +490,9 @@ >+@@ -475,9 +490,9 @@ void ServerInterface::display_message(Pl > return; > > if (priv) >@@ -201,7 +201,7 @@ > } > > void ServerInterface::display_system_message(char * msg, >-@@ -488,8 +503,8 @@ >+@@ -488,8 +503,8 @@ void ServerInterface::display_system_mes > return; > > color++; >diff -urN /usr/ports/games/znibbles/files/patch-src__Trame.C games/znibbles/files/patch-src__Trame.C >--- /usr/ports/games/znibbles/files/patch-src__Trame.C 2015-08-24 04:03:39.510247000 +0900 >+++ games/znibbles/files/patch-src__Trame.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/Trame.C Mon May 10 08:57:09 1999 >-+++ src/Trame.C Sat Oct 26 00:41:28 2002 >+--- src/Trame.C.orig 1999-05-09 22:57:09 UTC >++++ src/Trame.C > @@ -39,7 +39,7 @@ > # include <config.h> > #endif >@@ -9,7 +9,7 @@ > > #include <stdlib.h> > #include <stdio.h> >-@@ -93,11 +93,11 @@ >+@@ -93,11 +93,11 @@ int Trame::send_to(int socket_number) > #endif > > #ifdef DEBUG_TRACE >@@ -23,7 +23,7 @@ > #endif > > // always write at least 4 bytes >-@@ -161,19 +161,19 @@ >+@@ -161,19 +161,19 @@ int Trame::receive_from(int socket_numbe > return -1; > > if (retval <= 0) { >@@ -48,7 +48,7 @@ > break; > } > >-@@ -196,14 +196,14 @@ >+@@ -196,14 +196,14 @@ int Trame::receive_from(int socket_numbe > > if (xx < 0) { > if (errno == 0) >@@ -67,7 +67,7 @@ > return -1; > } > } >-@@ -212,11 +212,11 @@ >+@@ -212,11 +212,11 @@ int Trame::receive_from(int socket_numbe > cursize = len; > > #ifdef DEBUG_TRACE >@@ -81,7 +81,7 @@ > #endif > > #ifdef DEBUG_LOAD >-@@ -381,7 +381,7 @@ >+@@ -381,7 +381,7 @@ short Trame::get_short() > idx += 2; > } > else { >@@ -90,7 +90,7 @@ > sh = -1; > } > >-@@ -408,7 +408,7 @@ >+@@ -408,7 +408,7 @@ int Trame::peek_int() > return val; > } > else >@@ -99,7 +99,7 @@ > > return -1; > } >-@@ -423,7 +423,7 @@ >+@@ -423,7 +423,7 @@ int Trame::get_int() > idx += 4; > } > else { >@@ -108,7 +108,7 @@ > sh = -1; > } > >-@@ -454,10 +454,10 @@ >+@@ -454,10 +454,10 @@ char * Trame::get_string() > > void Trame::dump_left() > { >diff -urN /usr/ports/games/znibbles/files/patch-src__Trame.H games/znibbles/files/patch-src__Trame.H >--- /usr/ports/games/znibbles/files/patch-src__Trame.H 2015-08-24 04:03:39.552747000 +0900 >+++ games/znibbles/files/patch-src__Trame.H 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/Trame.H Mon May 10 08:58:39 1999 >-+++ src/Trame.H Sat Oct 26 00:28:25 2002 >+--- src/Trame.H.orig 1999-05-09 22:58:39 UTC >++++ src/Trame.H > @@ -38,7 +38,7 @@ > #ifndef __H_TRAME__ > #define __H_TRAME__ >diff -urN /usr/ports/games/znibbles/files/patch-src__World.C games/znibbles/files/patch-src__World.C >--- /usr/ports/games/znibbles/files/patch-src__World.C 2015-08-24 04:03:39.379256000 +0900 >+++ games/znibbles/files/patch-src__World.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >---- src/World.C Wed May 12 11:45:46 1999 >-+++ src/World.C Sat Oct 26 00:41:48 2002 >-@@ -145,8 +145,8 @@ >+--- src/World.C.orig 1999-05-12 01:45:46 UTC >++++ src/World.C >+@@ -145,8 +145,8 @@ _Object& World::lookup_object(int obj_id > > if (!p) { // here it's really bad. Have to raise an exception ! > if (debug) >@@ -11,7 +11,7 @@ > return * objects.front(); /// @@ NNNNOOOOOONNNNNNNNNNNNNNNNNNNNNNNN! > } > >-@@ -182,7 +182,7 @@ >+@@ -182,7 +182,7 @@ _Object * World::read_new_object(Trame & > break; > default: > if (debug) >@@ -20,7 +20,7 @@ > break; > } > >-@@ -201,7 +201,7 @@ >+@@ -201,7 +201,7 @@ void World::remove_object(int obj_id) > remove_object0(p); > else { > if (debug) >@@ -29,7 +29,7 @@ > } > } > >-@@ -243,8 +243,8 @@ >+@@ -243,8 +243,8 @@ Player& World::lookup_player(int player_ > > if (!p) { // la, c'est tres grave. Faut faire une exception! > if (debug) >@@ -40,7 +40,7 @@ > return * new Player(*this); // <- en attendant mieux. > } > >-@@ -269,7 +269,7 @@ >+@@ -269,7 +269,7 @@ void World::server_add_player(int socknu > /* unlimited number of players! > if (nbplayers >= maxplayers) { > close(socknum); >@@ -49,7 +49,7 @@ > return; > } > */ >-@@ -278,16 +278,16 @@ >+@@ -278,16 +278,16 @@ void World::server_add_player(int socknu > trame.set_timeout(5000); > if (-1 == trame.receive_from(socknum)) { > if (debug) >@@ -70,7 +70,7 @@ > return; > } > trame.get_char(); >-@@ -321,7 +321,7 @@ >+@@ -321,7 +321,7 @@ void World::server_add_player_other(int > trameZ.set_timeout(1); > > if (debug) >@@ -79,7 +79,7 @@ > > Player& p = * new Player(*this, socknum); > >-@@ -357,8 +357,8 @@ >+@@ -357,8 +357,8 @@ void World::remove_player(int player_id) > > if (!p) { // la, c'est tres grave. Faut faire une exception! > if (debug) >@@ -90,7 +90,7 @@ > return; > } > >-@@ -513,11 +513,11 @@ >+@@ -513,11 +513,11 @@ void World::own_cycle() > && ((Movable *) objects(p))->player_id == 0) > nbworm++; > >@@ -104,7 +104,7 @@ > Movable& worm = * new Movable(*this); > worm.auto_position(map); > worm.add_type(map); >-@@ -569,7 +569,7 @@ >+@@ -569,7 +569,7 @@ void World::read_description(Trame& t) > { > if (t.get_char() != WORLD_DESC) { > if (debug) >@@ -113,7 +113,7 @@ > exit(1); > } > >-@@ -708,11 +708,11 @@ >+@@ -708,11 +708,11 @@ void World::read_changes(Trame &t) > > default: > if (debug) >@@ -128,7 +128,7 @@ > t.dump_left(); > break; > } >-@@ -743,16 +743,16 @@ >+@@ -743,16 +743,16 @@ void World::build_maptype() > // for debug purposes > void World::display() > { >@@ -150,7 +150,7 @@ > > for (Pix p = objects.first(); p; objects.next(p)) > objects(p)->display(); >-@@ -826,7 +826,7 @@ >+@@ -826,7 +826,7 @@ void World::get_client_responses() > > if (retval < 0) { > if (debug) >@@ -159,7 +159,7 @@ > return; // bah violent comme d'hab. > } > >-@@ -915,7 +915,7 @@ >+@@ -915,7 +915,7 @@ void World::read_player_response(Player& > int newdir = t.get_char(); > > if (debug) >@@ -168,7 +168,7 @@ > > Movable & mv = (Movable &) lookup_object(worm_id); > Player * other_player = NULL; >-@@ -928,8 +928,8 @@ >+@@ -928,8 +928,8 @@ void World::read_player_response(Player& > || other_player->socket_number != p.socket_number) { > > if (debug) >@@ -179,7 +179,7 @@ > } > else { > if (!paused) { >-@@ -954,12 +954,12 @@ >+@@ -954,12 +954,12 @@ void World::read_player_response(Player& > > case TEXT_MESSAGE: > { >@@ -194,7 +194,7 @@ > > if (!dest_id) { // broadcast message > cycle_trame.put_char(TEXT_MESSAGE); >-@@ -1039,16 +1039,16 @@ >+@@ -1039,16 +1039,16 @@ void World::read_player_response(Player& > > case TRAME_ERROR: > if (debug) >@@ -216,7 +216,7 @@ > t.dump_left(); > } > break; >-@@ -1117,7 +1117,7 @@ >+@@ -1117,7 +1117,7 @@ Pix World::lookup_object0(int obj_id) > > void World::remove_object0(Pix& p) > { >diff -urN /usr/ports/games/znibbles/files/patch-src__X11__X11Interface.C games/znibbles/files/patch-src__X11__X11Interface.C >--- /usr/ports/games/znibbles/files/patch-src__X11__X11Interface.C 2015-08-24 04:03:39.579011000 +0900 >+++ games/znibbles/files/patch-src__X11__X11Interface.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/X11/X11Interface.C Wed May 12 21:43:42 1999 >-+++ src/X11/X11Interface.C Sat Oct 26 00:32:49 2002 >+--- src/X11/X11Interface.C.orig 1999-05-12 11:43:42 UTC >++++ src/X11/X11Interface.C > @@ -38,7 +38,7 @@ > # include <config.h> > #endif >@@ -9,7 +9,7 @@ > > #include <unistd.h> > #include <stdlib.h> >-@@ -109,7 +109,7 @@ >+@@ -109,7 +109,7 @@ void X11Interface::init(int argc, char * > display_version(); > > if (_two_key) >@@ -18,7 +18,7 @@ > > > // connect pipe_handler to SIGPIPE signal >-@@ -125,8 +125,8 @@ >+@@ -125,8 +125,8 @@ void X11Interface::init(int argc, char * > exit(2); > } > >@@ -29,7 +29,7 @@ > > // create and bind socket to any port > port = 0; >-@@ -136,7 +136,7 @@ >+@@ -136,7 +136,7 @@ void X11Interface::init(int argc, char * > } > > // if (debug) >@@ -38,7 +38,7 @@ > > // Build server address > server_address.sin_family = AF_INET; >-@@ -153,7 +153,7 @@ >+@@ -153,7 +153,7 @@ void X11Interface::init(int argc, char * > > display_play_help(); > >@@ -47,7 +47,7 @@ > > // hack_socket_client = socket_client; // hack for signal handling > // action.sa_handler = stop_handler; >-@@ -163,7 +163,7 @@ >+@@ -163,7 +163,7 @@ void X11Interface::init(int argc, char * > > init_messages(options.get_message_file()); > >@@ -56,7 +56,7 @@ > X11Init(argc, argv); > } > >-@@ -201,56 +201,56 @@ >+@@ -201,56 +201,56 @@ void X11Interface::X11Init(int argc, cha > // display version number (long format) > void X11Interface::display_version() > { >@@ -146,7 +146,7 @@ > } > > >-@@ -261,7 +261,7 @@ >+@@ -261,7 +261,7 @@ void X11Interface::display_play_help() > > void X11Interface::pipe_handler(int sig) > { >@@ -155,7 +155,7 @@ > sig++; // warnings.. > dead_server = 1; > } >-@@ -285,7 +285,7 @@ >+@@ -285,7 +285,7 @@ void X11Interface::run() > > z++; > if (t.receive_from(socket_client)) { >@@ -164,7 +164,7 @@ > > handle_Xevent(); > >-@@ -309,7 +309,7 @@ >+@@ -309,7 +309,7 @@ void X11Interface::run() > } > > if (dir) { >@@ -173,7 +173,7 @@ > tx.reset(); > tx.put_char(PLAYER_CHANGEDIR); > tx.put_char(dir); >-@@ -323,7 +323,7 @@ >+@@ -323,7 +323,7 @@ void X11Interface::run() > break; // on verra ca plus tard. > > case WORLD_DESC: >@@ -182,7 +182,7 @@ > w.read_description(t); > tx.reset(); > tx.put_char(CYCLE_ACK); >-@@ -333,14 +333,14 @@ >+@@ -333,14 +333,14 @@ void X11Interface::run() > break; > > case CHANGE_NOTIFY: >@@ -199,7 +199,7 @@ > t.get_char(); > char *p = t.get_string(); > if (p && strcmp(p, "w") == 0) >-@@ -358,10 +358,10 @@ >+@@ -358,10 +358,10 @@ void X11Interface::run() > > case TEXT_MESSAGE: > { >@@ -212,7 +212,7 @@ > } > break; > >-@@ -393,13 +393,13 @@ >+@@ -393,13 +393,13 @@ void X11Interface::run() > break; > > case QUIT_GAME: >@@ -229,7 +229,7 @@ > break; > } > } >-@@ -427,13 +427,13 @@ >+@@ -427,13 +427,13 @@ void X11Interface::handle_Xevent() > nibblesarea.redraw2(); > break; > case ButtonPress: >@@ -245,7 +245,7 @@ > break; > } > } >-@@ -442,30 +442,30 @@ >+@@ -442,30 +442,30 @@ void X11Interface::handle_Xevent() > > void X11Interface::add_player(Player& p) > { >diff -urN /usr/ports/games/znibbles/files/patch-src__X11__textarea.C games/znibbles/files/patch-src__X11__textarea.C >--- /usr/ports/games/znibbles/files/patch-src__X11__textarea.C 2015-08-24 04:03:39.490707000 +0900 >+++ games/znibbles/files/patch-src__X11__textarea.C 2016-04-12 00:00:00.000000000 +0900 >@@ -1,5 +1,5 @@ >---- src/X11/textarea.C.orig Sat Oct 26 01:07:26 2002 >-+++ src/X11/textarea.C Sat Oct 26 01:07:28 2002 >+--- src/X11/textarea.C.orig 1998-11-17 08:42:50 UTC >++++ src/X11/textarea.C > @@ -32,7 +32,7 @@ > #include <Xm/ScrollBar.h> > #include <Xm/Text.h> >@@ -9,7 +9,7 @@ > #include "string.h" > > #include "motifutil.H" >-@@ -91,7 +91,7 @@ >+@@ -91,7 +91,7 @@ void TextArea::add_line(char *line) > XmTextSetCursorPosition(widget, XmTextGetLastPosition(widget)); > XmTextShowPosition(widget, XmTextGetLastPosition(widget)); > if (length > 9500) { >diff -urN /usr/ports/games/znibbles/pkg-descr games/znibbles/pkg-descr >--- /usr/ports/games/znibbles/pkg-descr 2015-09-21 08:45:35.162575000 +0900 >+++ games/znibbles/pkg-descr 2016-04-12 00:00:00.000000000 +0900 >@@ -20,4 +20,4 @@ > Run "nibbles" first as the ZNibbles server, and then run its clients to > play. > >-WWW: http://www.jfouffa.com/vmallet/ZNibbles.html >+WWW: http://www.zyllius.com/vmallet/ZNibbles.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208709
: 169204