- added build patch, fixed build
[packages/arnold.git] / arnold-build.patch
1 --- arnold/src/cpc/debugger/debug.c.orig        2001-10-14 10:50:08.000000000 +0200
2 +++ arnold/src/cpc/debugger/debug.c     2017-03-07 19:46:32.700601403 +0100
3 @@ -80,7 +80,7 @@ void  Debug_WriteString(DEBUG_HANDLE Debu
4                 return;
5  
6         if (pDebugStruct->fh!=NULL)
7 -               fprintf(pDebugStruct->fh,Message);
8 +               fprintf(pDebugStruct->fh, "%s", Message);
9  }
10  
11  void   Debug_End(DEBUG_HANDLE  DebugHandle)
12 --- arnold/src/cpc/debugger/gdebug.c.orig       2001-10-14 10:50:10.000000000 +0200
13 +++ arnold/src/cpc/debugger/gdebug.c    2017-03-07 19:46:58.717267772 +0100
14 @@ -1656,7 +1656,7 @@ void      Debug_DissassembleInstruction(int A
15                                                                 /* 11101001 - JP (HL) */
16                                                                 /* 11111001 - LD SP,HL */
17  
18 -                                                               sprintf(OutputString,
19 +                                                               sprintf(OutputString, "%s",
20                                                                         MiscMneumonics3[((Opcode>>4) & 0x03)]);
21                                                         }
22                                                 }
23 --- arnold/src/cpc/tzx.c.orig   2001-10-21 09:43:06.000000000 +0200
24 +++ arnold/src/cpc/tzx.c        2017-03-07 19:45:56.430601816 +0100
25 @@ -57,7 +57,7 @@ static unsigned long TapeImage_Flags;
26  static unsigned char *pTapeBlockPtr = NULL;
27  
28  static void    TapeImage_GetNextDataBlock(void);
29 -int            TapeImage_GetBlockLength(unsigned char *pBlock);
30 +static int     TapeImage_GetBlockLength(unsigned char *pBlock);
31  static void    TapeImage_HandleBlock(unsigned char *);
32  \r
33  \r
34 --- arnold/src/Makefile.in.orig 2002-01-19 15:49:14.000000000 +0100
35 +++ arnold/src/Makefile.in      2017-03-07 19:47:31.387267400 +0100
36 @@ -27,9 +27,9 @@ SDLLIB = @SDL_LIBS@
37  #-Wall for max warnings!
38  CFLAGS = @CPPFLAGS@ @CFLAGS@ $(GTKINC) $(SDLINC) @DEFS@ $(X11INC) -I. -DUNIX -Wall -Wno-unused
39  #-g3 -pg -dm -dp -a
40 -LFLAGS1 = @LDFLAGS@ @LIBS@ $(GTKLIB) $(SDLLIB) $(X11LIBS)
41 +LFLAGS1 = @LDFLAGS@ @LIBS@
42  #debug
43 -LFLAGS2 = -s 
44 +LFLAGS2 = $(GTKLIB) $(SDLLIB) $(X11LIBS)
45  #LFLAGS2= -g3 -pg -dm -dp -a
46  #normal
47  #LFLAGS2 = -s
This page took 0.121301 seconds and 3 git commands to generate.