aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/liblzxcomp/files
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2005-02-28 02:31:48 +0800
committerskv <skv@FreeBSD.org>2005-02-28 02:31:48 +0800
commitc1f391f9b7b1b84c734ea387602180c5071ffdfb (patch)
treec805397a192bf4e869e7adcf06f6543dbcd5ba2c /archivers/liblzxcomp/files
parent58d5b63115f03c574319e608e3b9e6cdec774217 (diff)
downloadfreebsd-ports-gnome-c1f391f9b7b1b84c734ea387602180c5071ffdfb.tar.gz
freebsd-ports-gnome-c1f391f9b7b1b84c734ea387602180c5071ffdfb.tar.zst
freebsd-ports-gnome-c1f391f9b7b1b84c734ea387602180c5071ffdfb.zip
Add liblzxcomp 20020618, LZX compression library.
Diffstat (limited to 'archivers/liblzxcomp/files')
-rw-r--r--archivers/liblzxcomp/files/Makefile18
-rw-r--r--archivers/liblzxcomp/files/patch-lz_nonslide.c10
2 files changed, 28 insertions, 0 deletions
diff --git a/archivers/liblzxcomp/files/Makefile b/archivers/liblzxcomp/files/Makefile
new file mode 100644
index 000000000000..b6e7b66246a7
--- /dev/null
+++ b/archivers/liblzxcomp/files/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+LIB = lzxcomp
+SRCS= lz_nonslide.c lzx_layer.c
+INCS= lzx_compress.h
+
+COPTS= -DLZ_ONEBUFFER -DLAZY -DNONSLIDE
+LDADD= -lm
+
+SHLIB_MAJOR= %%SHLIB_MAJOR%%
+
+LIBDIR= ${PREFIX}/lib
+INCLUDEDIR= ${PREFIX}/include
+
+MAN3= lzxcomp.3
+MANDIR= ${PREFIX}/man/man
+
+.include <bsd.lib.mk>
diff --git a/archivers/liblzxcomp/files/patch-lz_nonslide.c b/archivers/liblzxcomp/files/patch-lz_nonslide.c
new file mode 100644
index 000000000000..56c1409b3d01
--- /dev/null
+++ b/archivers/liblzxcomp/files/patch-lz_nonslide.c
@@ -0,0 +1,10 @@
+--- lz_nonslide.c.orig Sun Feb 27 21:08:11 2005
++++ lz_nonslide.c Sun Feb 27 21:08:47 2005
+@@ -19,6 +19,7 @@
+ /*
+ * Document here
+ */
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <assert.h>