svn commit: r413126 - in head/games/znibbles: . files
Mathieu Arnold
mat at FreeBSD.org
Tue Apr 12 15:05:34 UTC 2016
Author: mat
Date: Tue Apr 12 15:05:30 2016
New Revision: 413126
URL: https://svnweb.freebsd.org/changeset/ports/413126
Log:
Unbreak.
Regen patches.
PR: 208709
Submitted by: tkato432 yahoo com
Sponsored by: Absolight
Added:
head/games/znibbles/files/patch-src_Base.H (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Base.H
head/games/znibbles/files/patch-src_DLList.cc (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__DLList.cc
head/games/znibbles/files/patch-src_GTK_ClientGtk.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__GTK__ClientGtk.C
head/games/znibbles/files/patch-src_GTK_GtkInterface.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__GTK__GtkInterface.C
head/games/znibbles/files/patch-src_GTK_Menus.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__GTK__Menus.C
head/games/znibbles/files/patch-src_GTK_NibblesArea.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__GTK__NibblesArea.C
head/games/znibbles/files/patch-src_LongObject.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__LongObject.C
head/games/znibbles/files/patch-src_Map.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Map.C
head/games/znibbles/files/patch-src_Map.H (contents, props changed)
head/games/znibbles/files/patch-src_Motif_MotifInterface.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Motif__MotifInterface.C
head/games/znibbles/files/patch-src_Motif_menus.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Motif__menus.C
head/games/znibbles/files/patch-src_Motif_textarea.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Motif__textarea.C
head/games/znibbles/files/patch-src_Movable.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Movable.C
head/games/znibbles/files/patch-src_Nibble.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Niblle.C
head/games/znibbles/files/patch-src_Object.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Object.C
head/games/znibbles/files/patch-src_Options.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Options.C
head/games/znibbles/files/patch-src_Player.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Player.C
head/games/znibbles/files/patch-src_ServerInterface.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__ServerInterface.C
head/games/znibbles/files/patch-src_Trame.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Trame.C
head/games/znibbles/files/patch-src_Trame.H (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__Trame.H
head/games/znibbles/files/patch-src_World.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__World.C
head/games/znibbles/files/patch-src_X11_X11Interface.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__X11__X11Interface.C
head/games/znibbles/files/patch-src_X11_textarea.C (contents, props changed)
- copied, changed from r413125, head/games/znibbles/files/patch-src__X11__textarea.C
Deleted:
head/games/znibbles/files/patch-src__Base.H
head/games/znibbles/files/patch-src__DLList.cc
head/games/znibbles/files/patch-src__GTK__ClientGtk.C
head/games/znibbles/files/patch-src__GTK__GtkInterface.C
head/games/znibbles/files/patch-src__GTK__Menus.C
head/games/znibbles/files/patch-src__GTK__NibblesArea.C
head/games/znibbles/files/patch-src__LongObject.C
head/games/znibbles/files/patch-src__Map.C
head/games/znibbles/files/patch-src__Map.H
head/games/znibbles/files/patch-src__Motif__MotifInterface.C
head/games/znibbles/files/patch-src__Motif__menus.C
head/games/znibbles/files/patch-src__Motif__textarea.C
head/games/znibbles/files/patch-src__Movable.C
head/games/znibbles/files/patch-src__Niblle.C
head/games/znibbles/files/patch-src__Object.C
head/games/znibbles/files/patch-src__Options.C
head/games/znibbles/files/patch-src__Player.C
head/games/znibbles/files/patch-src__ServerInterface.C
head/games/znibbles/files/patch-src__Trame.C
head/games/znibbles/files/patch-src__Trame.H
head/games/znibbles/files/patch-src__World.C
head/games/znibbles/files/patch-src__X11__X11Interface.C
head/games/znibbles/files/patch-src__X11__textarea.C
Modified:
head/games/znibbles/Makefile (contents, props changed)
head/games/znibbles/pkg-descr (contents, props changed)
Modified: head/games/znibbles/Makefile
==============================================================================
--- head/games/znibbles/Makefile Tue Apr 12 15:05:21 2016 (r413125)
+++ head/games/znibbles/Makefile Tue Apr 12 15:05:30 2016 (r413126)
@@ -3,16 +3,13 @@
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 at FreeBSD.org
COMMENT= Multi-player networked nibbles game
-BROKEN= unfetchable
-
LICENSE= GPLv2+
OPTIONS_DEFINE= GTK1
@@ -21,6 +18,8 @@ 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
@@ -46,6 +45,10 @@ post-patch:
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>
Copied and modified: head/games/znibbles/files/patch-src_Base.H (from r413125, head/games/znibbles/files/patch-src__Base.H)
==============================================================================
--- head/games/znibbles/files/patch-src__Base.H Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Base.H Tue Apr 12 15:05:30 2016 (r413126)
@@ -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
Copied and modified: head/games/znibbles/files/patch-src_DLList.cc (from r413125, head/games/znibbles/files/patch-src__DLList.cc)
==============================================================================
--- head/games/znibbles/files/patch-src__DLList.cc Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_DLList.cc Tue Apr 12 15:05:30 2016 (r413126)
@@ -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>
Copied and modified: head/games/znibbles/files/patch-src_GTK_ClientGtk.C (from r413125, head/games/znibbles/files/patch-src__GTK__ClientGtk.C)
==============================================================================
--- head/games/znibbles/files/patch-src__GTK__ClientGtk.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_GTK_ClientGtk.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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
Copied and modified: head/games/znibbles/files/patch-src_GTK_GtkInterface.C (from r413125, head/games/znibbles/files/patch-src__GTK__GtkInterface.C)
==============================================================================
--- head/games/znibbles/files/patch-src__GTK__GtkInterface.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_GTK_GtkInterface.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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)
Copied and modified: head/games/znibbles/files/patch-src_GTK_Menus.C (from r413125, head/games/znibbles/files/patch-src__GTK__Menus.C)
==============================================================================
--- head/games/znibbles/files/patch-src__GTK__Menus.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_GTK_Menus.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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) {
Copied and modified: head/games/znibbles/files/patch-src_GTK_NibblesArea.C (from r413125, head/games/znibbles/files/patch-src__GTK__NibblesArea.C)
==============================================================================
--- head/games/znibbles/files/patch-src__GTK__NibblesArea.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_GTK_NibblesArea.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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)
{
Copied and modified: head/games/znibbles/files/patch-src_LongObject.C (from r413125, head/games/znibbles/files/patch-src__LongObject.C)
==============================================================================
--- head/games/znibbles/files/patch-src__LongObject.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_LongObject.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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()
{
Copied and modified: head/games/znibbles/files/patch-src_Map.C (from r413125, head/games/znibbles/files/patch-src__Map.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Map.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Map.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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)
Added: head/games/znibbles/files/patch-src_Map.H
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/znibbles/files/patch-src_Map.H Tue Apr 12 15:05:30 2016 (r413126)
@@ -0,0 +1,11 @@
+--- src/Map.H.orig 1999-05-10 03:39:38 UTC
++++ src/Map.H
+@@ -45,7 +45,7 @@ typedef struct _MapType {
+
+ class Map {
+
+- friend NibblesArea;
++ friend class NibblesArea;
+
+ public:
+
Copied and modified: head/games/znibbles/files/patch-src_Motif_MotifInterface.C (from r413125, head/games/znibbles/files/patch-src__Motif__MotifInterface.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Motif__MotifInterface.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Motif_MotifInterface.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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)
Copied and modified: head/games/znibbles/files/patch-src_Motif_menus.C (from r413125, head/games/znibbles/files/patch-src__Motif__menus.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Motif__menus.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Motif_menus.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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;
Copied and modified: head/games/znibbles/files/patch-src_Motif_textarea.C (from r413125, head/games/znibbles/files/patch-src__Motif__textarea.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Motif__textarea.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Motif_textarea.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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) {
Copied and modified: head/games/znibbles/files/patch-src_Movable.C (from r413125, head/games/znibbles/files/patch-src__Movable.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Movable.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Movable.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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
Copied and modified: head/games/znibbles/files/patch-src_Nibble.C (from r413125, head/games/znibbles/files/patch-src__Niblle.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Niblle.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Nibble.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -1,6 +1,6 @@
---- src/Nibble.C Tue Nov 17 19:36:32 1998
-+++ src/Nibble.C Sat Oct 26 00:40:26 2002
-@@ -58,7 +58,7 @@
+--- 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) {
@@ -9,7 +9,7 @@
exit(1);
}
-@@ -81,10 +81,10 @@
+@@ -81,10 +81,10 @@ void Nibble::read_description0(Trame &t)
void Nibble::display()
{
Copied and modified: head/games/znibbles/files/patch-src_Object.C (from r413125, head/games/znibbles/files/patch-src__Object.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Object.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Object.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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)
Copied and modified: head/games/znibbles/files/patch-src_Options.C (from r413125, head/games/znibbles/files/patch-src__Options.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Options.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Options.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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)) {
Copied and modified: head/games/znibbles/files/patch-src_Player.C (from r413125, head/games/znibbles/files/patch-src__Player.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Player.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Player.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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()
{
Copied and modified: head/games/znibbles/files/patch-src_ServerInterface.C (from r413125, head/games/znibbles/files/patch-src__ServerInterface.C)
==============================================================================
--- head/games/znibbles/files/patch-src__ServerInterface.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_ServerInterface.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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++;
Copied and modified: head/games/znibbles/files/patch-src_Trame.C (from r413125, head/games/znibbles/files/patch-src__Trame.C)
==============================================================================
--- head/games/znibbles/files/patch-src__Trame.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Trame.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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()
{
Copied and modified: head/games/znibbles/files/patch-src_Trame.H (from r413125, head/games/znibbles/files/patch-src__Trame.H)
==============================================================================
--- head/games/znibbles/files/patch-src__Trame.H Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_Trame.H Tue Apr 12 15:05:30 2016 (r413126)
@@ -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__
Copied and modified: head/games/znibbles/files/patch-src_World.C (from r413125, head/games/znibbles/files/patch-src__World.C)
==============================================================================
--- head/games/znibbles/files/patch-src__World.C Tue Apr 12 15:05:21 2016 (r413125, copy source)
+++ head/games/znibbles/files/patch-src_World.C Tue Apr 12 15:05:30 2016 (r413126)
@@ -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 @@
*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
More information about the svn-ports-head
mailing list