OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 22-May-2006 11:16:25
Branch: HEAD Handle: 2006052210162400
Added files:
openpkg-src/calc calc.patch
Modified files:
openpkg-src/calc calc.spec
Log:
upgrading package: calc 2.11.11 -> 2.12.0
Summary:
Revision Changes Path
1.1 +21 -0 openpkg-src/calc/calc.patch
1.44 +4 -2 openpkg-src/calc/calc.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/calc/calc.patch
============================================================================
$ cvs diff -u -r0 -r1.1 calc.patch
--- /dev/null 2006-05-22 11:16:23 +0200
+++ calc.patch 2006-05-22 11:16:25 +0200
@@ -0,0 +1,21 @@
+Index: hist.c
+--- hist.c.orig 2006-05-22 11:11:31 +0200
++++ hist.c 2006-05-22 11:13:25 +0200
+@@ -262,7 +262,7 @@
+ * the line.
+ */
+ size_t
+-hist_getline(char *prompt, char *buf, int len)
++hist_getline(char *prompt, char *buf, size_t len)
+ {
+ /*
+ * initialize if we have not already done so
+@@ -351,7 +351,7 @@
+ */
+ if (filename == NULL)
+ filename = HIST_BINDING_FILE;
+- if (opensearchfile(filename, calcpath, NULL, FALSE, FALSE) > 0)
++ if (opensearchfile(filename, calcpath, NULL, FALSE) > 0)
+ return HIST_NOFILE;
+
+ /*
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/calc/calc.spec
============================================================================
$ cvs diff -u -r1.43 -r1.44 calc.spec
--- openpkg-src/calc/calc.spec 1 Jan 2006 13:12:31 -0000 1.43
+++ openpkg-src/calc/calc.spec 22 May 2006 09:16:24 -0000 1.44
@@ -32,11 +32,12 @@
Class: BASE
Group: Algorithm
License: GPL
-Version: 2.11.11
-Release: 20051212
+Version: 2.12.0
+Release: 20060522
# list of sources
Source0: http://www.isthe.com/chongo/src/calc/calc-%{version}.tar.gz
+Patch0: calc.patch
# build information
Prefix: %{l_prefix}
@@ -65,6 +66,7 @@
%prep
%setup -q
+ %patch -p0
%build
chmod -R u+w .
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]