pkgsrc/archivers/p7zip/patches/patch-aa
adam 2dba3a3935 Changes 4.53:
- From Windows version of 7-zip 4.53 :
  - The bug in 7-Zip 4.48 - 4.52 beta was fixed:
      7-Zip could create .ZIP archives with broken files.
  - Some bugs were fixed.

Changes 4.52:
- From Windows version of 7-zip 4.52 :
  - 7z now can unpack Compound files (msi, doc, ...).
  - Some bugs were fixed (CAB decompressing)
- lzma (CPP/7zip/Compress/LZMA_Alone) is now multi-threaded.
- fixed 632912: Extracting large directories takes quadratic time
  (this bug was not fully fixed ...)
- fixed: "7za x -odirectory archive.7z" now works even if "directory" is a symbolic link.
- makefile.linux_s390x added : support for Linux on IBM z/Series Mainframe with s390x CPU
- fixed crashes on BeOs with the flag "@filename"
- cleanup in the makefile : defining LITTLE_ENDIAN or BIG_ENDIAN is not needed anymore
- ppmd.exe added (CPP/7zip/Compress/PPMD_Alone)
2007-09-05 20:37:08 +00:00

33 lines
716 B
Text

$NetBSD: patch-aa,v 1.17 2007/09/05 20:37:08 adam Exp $
--- makefile.machine.orig 2007-09-01 10:26:00.000000000 +0200
+++ makefile.machine
@@ -2,20 +2,20 @@
# makefile for Linux (x86, PPC, alpha ...)
#
-OPTFLAGS=-O
+OPTFLAGS=
-ALLFLAGS=${OPTFLAGS} -s \
+ALLFLAGS=${OPTFLAGS} -Wall \
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-DNDEBUG -D_REENTRANT -DENV_UNIX \
$(LOCAL_FLAGS)
-CXX=g++ $(ALLFLAGS)
-CC=gcc $(ALLFLAGS)
-CC_SHARED=-fPIC
-LINK_SHARED=-fPIC -shared
+CXX+=$(ALLFLAGS)
+CC+=$(ALLFLAGS)
+CC_SHARED=
+LINK_SHARED=-shared
-LOCAL_LIBS=-lpthread
-LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
+LOCAL_LIBS=${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+LOCAL_LIBS_DLL=$(LOCAL_LIBS)
OBJ_CRC32=$(OBJ_CRC32_C)