Ticket #4842: p7zip.haiku.diff

File p7zip.haiku.diff, 1019 bytes (added by korli, 11 years ago)
Line 
1diff -rN p7zip_9.04_ref/CPP/Windows/System.cpp p7zip_9.04/CPP/Windows/System.cpp
218c18
3< #if defined(ENV_BEOS)
4---
5> #if defined(ENV_BEOS) || defined(ENV_HAIKU)
682c82
7< #elif defined(ENV_BEOS)
8---
9> #elif defined(ENV_BEOS) || defined(ENV_HAIKU)
10diff -rN p7zip_9.04_ref/CPP/myWindows/config.h p7zip_9.04/CPP/myWindows/config.h
1127c27
12< #if !defined(ENV_BEOS)
13---
14> #if !defined(ENV_BEOS) && !defined(ENV_HAIKU)
15diff -rN p7zip_9.04_ref/makefile.glb p7zip_9.04/makefile.glb
1622c22
17< $(CXX) $(LOCAL_SHARED) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS)
18---
19> $(LD) $(LOCAL_SHARED) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS)
20diff -rN p7zip_9.04_ref/makefile.haiku p7zip_9.04/makefile.haiku
210a1,19
22>
23> OPTFLAGS=-O
24>
25> ALLFLAGS=${OPTFLAGS} -s \
26> -DENV_HAIKU \
27> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
28> -DNDEBUG -D_REENTRANT -DENV_UNIX \
29> $(LOCAL_FLAGS)
30>
31> LD=gcc
32> CXX=g++ $(ALLFLAGS)
33> CC=gcc $(ALLFLAGS)
34> LINK_SHARED=-nostart
35>
36> LOCAL_LIBS=
37> LOCAL_LIBS_DLL=$(LOCAL_LIBS)
38>
39> OBJ_CRC32=$(OBJ_CRC32_C)
40>