pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/lbrate Portability fixes to get the package ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54fa6da1cc32
branches:  trunk
changeset: 464042:54fa6da1cc32
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Wed Dec 03 17:31:04 2003 +0000

description:
Portability fixes to get the package to compile and install correctly
under Solaris, maybe others too.

diffstat:

 archivers/lbrate/distinfo         |   5 +++--
 archivers/lbrate/patches/patch-aa |  15 +++++++--------
 archivers/lbrate/patches/patch-ab |  13 +++++++++++++
 3 files changed, 23 insertions(+), 10 deletions(-)

diffs (72 lines):

diff -r 1f29c8869c96 -r 54fa6da1cc32 archivers/lbrate/distinfo
--- a/archivers/lbrate/distinfo Wed Dec 03 17:29:12 2003 +0000
+++ b/archivers/lbrate/distinfo Wed Dec 03 17:31:04 2003 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/12/13 17:50:50 cjep Exp $
+$NetBSD: distinfo,v 1.2 2003/12/03 17:31:04 sketch Exp $
 
 SHA1 (lbrate-1.1.tar.gz) = 8731283e79fa6c7a73ebd6c821b42854cb864ea9
 Size (lbrate-1.1.tar.gz) = 29907 bytes
-SHA1 (patch-aa) = ad34e92fefc99c16fe067810d3ed6c160557e0ae
+SHA1 (patch-aa) = 30682a2304873ece8dca6ed8aa1f7a3b74fe0b44
+SHA1 (patch-ab) = 94127154f052908a99fb7a6a218984637850b93d
diff -r 1f29c8869c96 -r 54fa6da1cc32 archivers/lbrate/patches/patch-aa
--- a/archivers/lbrate/patches/patch-aa Wed Dec 03 17:29:12 2003 +0000
+++ b/archivers/lbrate/patches/patch-aa Wed Dec 03 17:31:04 2003 +0000
@@ -1,23 +1,22 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/12/13 17:50:50 cjep Exp $
+$NetBSD: patch-aa,v 1.2 2003/12/03 17:31:04 sketch Exp $
 
 --- Makefile.orig      Thu Aug 30 17:03:17 2001
-+++ Makefile
-@@ -1,7 +1,8 @@
++++ Makefile   Wed Dec  3 15:29:20 2003
+@@ -1,7 +1,7 @@
  # Makefile - makefile for lbrate
  
  CC=gcc
 -CFLAGS=-O2 -Wall
 +#CFLAGS=-O2 -Wall
-+CFLAGS+=-Wall
  
  # Set BINDIR to directory for binary,
  # MANDIR to directory for man page.
-@@ -19,14 +20,14 @@ OBJ=main.o readrle.o readhuff.o readlzw.
+@@ -19,14 +19,14 @@
  all: lbrate
  
  lbrate: $(OBJ)
 -      $(CC) $(CFLAGS) -o lbrate $(OBJ)
-+      $(CC) $(CFLAGS) -o lbrate $(OBJ) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib
++      $(CC) $(CFLAGS) -o lbrate $(OBJ) $(LDFLAGS)
  
  installdirs:
        /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR)
@@ -25,8 +24,8 @@
  install: lbrate installdirs
 -      install -m 755 lbrate $(BINDIR)
 -      install -m 644 lbrate.1 $(MANDIR)
-+      install -c -m 755 lbrate $(BINDIR)
-+      install -c -m 644 lbrate.1 $(MANDIR)
++      $(BSD_INSTALL_PROGRAM) lbrate $(BINDIR)
++      $(BSD_INSTALL_MAN) lbrate.1 $(MANDIR)
  
  uninstall:
        $(RM) $(BINDIR)/lbrate $(MANDIR)/lbrate.1
diff -r 1f29c8869c96 -r 54fa6da1cc32 archivers/lbrate/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lbrate/patches/patch-ab Wed Dec 03 17:31:04 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2003/12/03 17:31:04 sketch Exp $
+
+--- main.c.orig        Wed Dec  3 15:29:45 2003
++++ main.c     Wed Dec  3 15:30:22 2003
+@@ -29,7 +29,7 @@
+ #include <time.h>
+ #include <sys/types.h>
+ #include <utime.h>
+-#include <getopt.h>
++#include <unistd.h>
+ 
+ #include "readrle.h"
+ #include "readhuff.h"



Home | Main Index | Thread Index | Old Index