Browse Source

fix tracking and upgrade to latest version to fix FreeBSD 7.0 build problems

master
parent
commit
e651bbc51a
  1. 12
      bar/bar.patch
  2. 10
      bar/bar.spec

12
bar/bar.patch

@ -1,12 +0,0 @@
--- io.c.orig 2003-09-11 15:35:46.000000000 +0200
+++ io.c 2003-09-11 20:20:22.000000000 +0200
@@ -25,6 +25,9 @@
#ifdef HAVE_TIME_H
#include <time.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif

10
bar/bar.spec

@ -32,12 +32,11 @@ Distribution: OpenPKG
Class: PLUS
Group: Terminal
License: GPL
Version: 1.10
Release: 20060524
Version: 1.10.7
Release: 20061009
# list of sources
Source0: http://switch.dl.sourceforge.net/clpbar/bar-%{version}.tar.gz
Patch0: bar.patch
Source0: http://switch.dl.sourceforge.net/clpbar/bar_%{version}.tar.gz
# build information
Prefix: %{l_prefix}
@ -58,12 +57,11 @@ AutoReqProv: no
prog bar = {
version = %{version}
url = http://prdownloads.sourceforge.net/clpbar/
regex = bar-(\d+\.\d+)\.tar\.gz
regex = bar_(\d+\.\d+(\.\d+)*)\.tar\.gz
}
%prep
%setup -q
%patch -p0
%build
CC="%{l_cc}" \

Loading…
Cancel
Save