OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Feb-2005 13:12:18
Branch: HEAD Handle: 2005020612121700
Added files:
openpkg-src/nano nano.patch
Modified files:
openpkg-src/nano nano.spec
Log:
fix building
Summary:
Revision Changes Path
1.1 +12 -0 openpkg-src/nano/nano.patch
1.44 +3 -1 openpkg-src/nano/nano.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/nano/nano.patch
============================================================================
$ cvs diff -u -r0 -r1.1 nano.patch
--- /dev/null 2005-02-06 13:12:17 +0100
+++ nano.patch 2005-02-06 13:12:17 +0100
@@ -0,0 +1,12 @@
+Index: src/proto.h
+--- src/proto.h.orig 2004-11-23 02:59:18 +0100
++++ src/proto.h 2005-02-06 12:54:10 +0100
+@@ -358,7 +358,7 @@
+ filestruct *backup_lines(filestruct *first_line, size_t par_len, size_t
+ quote_len);
+ bool breakable(const char *line, ssize_t goal);
+-ssize_t break_line(const char *line, ssize_t goal, bool force);
++int break_line(const char *line, ssize_t goal, bool force);
+ bool do_para_search(size_t *const quote, size_t *const par);
+ void do_justify(bool full_justify);
+ void do_justify_void(void);
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/nano/nano.spec
============================================================================
$ cvs diff -u -r1.43 -r1.44 nano.spec
--- openpkg-src/nano/nano.spec 1 Jan 2005 10:52:46 -0000 1.43
+++ openpkg-src/nano/nano.spec 6 Feb 2005 12:12:17 -0000 1.44
@@ -38,10 +38,11 @@
Group: Editor
License: GPL
Version: %{V_major}.%{V_minor}
-Release: 20041123
+Release: 20050206
# list of sources
Source0:
http://www.nano-editor.org/dist/v%{V_major}/nano-%{version}.tar.gz
+Patch0: nano.patch
# build information
Prefix: %{l_prefix}
@@ -66,6 +67,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]