1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix build with gcc 4.1

- Change my email

Approved by:	sem (mentor)
This commit is contained in:
Stanislav Sedov 2006-10-03 13:35:48 +00:00
parent dc494c17e3
commit 8d2d848a19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174372
2 changed files with 49 additions and 4 deletions

View File

@ -12,7 +12,7 @@ CATEGORIES= lang
MASTER_SITES= http://www.nongnu.org/lafontaine/archives/
DISTNAME= ${PORTNAME}_0.4-1
MAINTAINER= ssedov@mbsd.msk.ru
MAINTAINER= stas@FreeBSD.org
COMMENT= Graphical logo interpreter
WRKSRC= ${WRKDIR}/${PORTNAME}-0.4

View File

@ -1,6 +1,6 @@
--- src/exec.c.orig Sun Aug 15 19:57:08 2004
+++ src/exec.c Sun Aug 15 19:57:55 2004
@@ -108,6 +108,7 @@
--- src/exec.c.orig Fri Oct 25 11:28:43 2002
+++ src/exec.c Mon Oct 2 20:50:35 2006
@@ -109,6 +109,7 @@
{ 47031, 47031, 47031} //15 or
};
@ -8,3 +8,48 @@
/**
main execution function.<br>
@@ -265,7 +266,7 @@
*/
struct s_instr *exec_moveforward(struct s_instr *instr)
{
- register int steps;
+ int steps;
#ifdef DEBUG
debug_append(" # executing exec_moveforward()\n");
#endif
@@ -745,7 +746,7 @@
*/
struct s_instr *exec_hazard(struct s_instr *instr)
{
- register guint maxvalue, hazvalue;
+ guint maxvalue, hazvalue;
#ifdef DEBUG
debug_append(" # executing exec_hazard()\n");
@@ -804,7 +805,7 @@
*/
struct s_instr *exec_loopcnt(struct s_instr *instr)
{
- register gint loopcnt, startval;
+ gint loopcnt, startval;
#ifdef DEBUG
debug_append(" # executing exec_loopcnt()\n");
@@ -830,7 +831,7 @@
*/
struct s_instr *exec_if(struct s_instr *instr)
{
- register gboolean condition;
+ gboolean condition;
#ifdef DEBUG
debug_append(" # executing exec_if()\n");
@@ -875,7 +876,7 @@
*/
struct s_instr *exec_while(struct s_instr *instr)
{
- register gboolean condition;
+ gboolean condition;
#ifdef DEBUG
debug_append(" # executing exec_while()\n");