View | Details | Raw Unified | Return to bug 165028
Collapse All | Expand All

(-)lv/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	lv
8
PORTNAME=	lv
9
PORTVERSION=	4.51
9
PORTVERSION=	4.51
10
PORTREVISION=	1
10
CATEGORIES=	misc
11
CATEGORIES=	misc
11
MASTER_SITES=	http://www.ff.iij4u.or.jp/~nrt/freeware/
12
MASTER_SITES=	http://www.ff.iij4u.or.jp/~nrt/freeware/
12
DISTNAME=	lv451
13
DISTNAME=	lv451
(-)lv/files/patch-src_Makefile.in (+11 lines)
Line 0 Link Here
1
--- Makefile.in.orig	2004-01-06 16:22:17.000000000 +0900
2
+++ Makefile.in	2007-06-28 13:24:06.000000000 +0900
3
@@ -41,7 +41,7 @@
4
 all:	lv
5
 
6
 lv:	$(OBJS) $(UNIOBJS)
7
-	$(PURIFY) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(UNIOBJS) $(LIBS)
8
+	$(PURIFY) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(UNIOBJS) $(LIBS)
9
 
10
 .c.o:
11
 	$(CC) $(CFLAGS) -c $<
(-)lv/files/patch-src_stream.c (+22 lines)
Line 0 Link Here
1
--- stream.c.orig	2010-03-31 21:10:00.000000000 +0900
2
+++ stream.c	2010-03-31 21:17:50.000000000 +0900
3
@@ -43,6 +43,8 @@
4
 
5
 private byte *gz_filter = "zcat";
6
 private byte *bz2_filter = "bzcat";
7
+private byte *lzma_filter = "lzcat";
8
+private byte *xz_filter = "xzcat";
9
 
10
 private stream_t *StreamAlloc()
11
 {
12
@@ -75,6 +77,10 @@
13
       filter = gz_filter;
14
     else if( !strcmp( "bz2", exts ) || !strcmp( "BZ2", exts ) )
15
       filter = bz2_filter;
16
+    else if( !strcmp( "lzma", exts ) || !strcmp( "LZMA", exts ) )
17
+      filter = lzma_filter;
18
+    else if( !strcmp( "xz", exts ) || !strcmp( "XZ", exts ) )
19
+      filter = xz_filter;
20
   }
21
   if( NULL != filter ){
22
     /*

Return to bug 165028