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: 18-Mar-2008 21:52:09
Branch: HEAD Handle: 2008031820520800
Added files:
openpkg-src/ffe ffe.patch
Modified files:
openpkg-src/ffe ffe.spec
Log:
upgrading package: ffe 0.2.4 -> 0.2.5
Summary:
Revision Changes Path
1.1 +24 -0 openpkg-src/ffe/ffe.patch
1.12 +4 -2 openpkg-src/ffe/ffe.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ffe/ffe.patch
============================================================================
$ cvs diff -u -r0 -r1.1 ffe.patch
--- /dev/null 2008-03-18 21:52:08 +0100
+++ ffe.patch 2008-03-18 21:52:09 +0100
@@ -0,0 +1,24 @@
+Index: src/parserc.c
+--- src/parserc.c.orig 2008-03-17 19:51:28 +0100
++++ src/parserc.c 2008-03-18 21:48:11 +0100
+@@ -298,7 +298,7 @@
+ #else
+ panic("Command substitution is not supported in this system",NULL,NULL);
+ #endif
+-#ifdef HAVE_SETMODE
++#if defined(HAVE_SETMODE) && defined(O_TEXT)
+ setmode(fileno(ret),O_TEXT);
+ #endif
+ return ret;
+Index: src/xmalloc.c
+--- src/xmalloc.c.orig 2008-03-10 18:46:36 +0100
++++ src/xmalloc.c 2008-03-18 21:47:56 +0100
+@@ -59,7 +59,7 @@
+ FILE *ret = fopen(name,mode);
+
+ if(ret == NULL) panic("Error in opening file",name,strerror(errno));
+-#ifdef HAVE_SETMODE
++#if defined(HAVE_SETMODE) && defined(O_TEXT)
+ setmode(fileno(ret),O_TEXT);
+ #endif
+ return ret;
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/ffe/ffe.spec
============================================================================
$ cvs diff -u -r1.11 -r1.12 ffe.spec
--- openpkg-src/ffe/ffe.spec 2 Mar 2008 19:55:28 -0000 1.11
+++ openpkg-src/ffe/ffe.spec 18 Mar 2008 20:52:08 -0000 1.12
@@ -31,11 +31,12 @@
Class: EVAL
Group: ShellUtils
License: GPL
-Version: 0.2.4
-Release: 20080302
+Version: 0.2.5
+Release: 20080318
# list of sources
Source0:
http://switch.dl.sourceforge.net/ff-extractor/ffe-%{version}.tar.gz
+Patch0: ffe.patch
# build information
Prefix: %{l_prefix}
@@ -63,6 +64,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]