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: 07-Oct-2004 20:36:31
Branch: HEAD Handle: 2004100719363100
Added files:
openpkg-src/zimg zimg.patch
Modified files:
openpkg-src/zimg zimg.spec
Log:
remove non-Unix crap
Summary:
Revision Changes Path
1.1 +23 -0 openpkg-src/zimg/zimg.patch
1.2 +3 -1 openpkg-src/zimg/zimg.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/zimg/zimg.patch
============================================================================
$ cvs diff -u -r0 -r1.1 zimg.patch
--- /dev/null 2004-10-07 20:36:31 +0200
+++ zimg.patch 2004-10-07 20:36:31 +0200
@@ -0,0 +1,23 @@
+Index: zimg.c
+--- zimg.c.orig 2004-02-13 18:24:52 +0100
++++ zimg.c 2004-10-07 20:32:38 +0200
+@@ -1921,9 +1921,6 @@
+ } else {
+ if (!ttyname(fileno(stdout))) {
+ z.ofp = stdout;
+-#if !defined(unix) && !defined(__unix) && !defined(__unix__)
+- setmode(fileno(stdout), O_BINARY);
+-#endif
+ #ifdef HAVE_POPEN
+ } else {
+ /* output is a terminal. The user probably forgot to
+@@ -1935,9 +1932,6 @@
+ if (!z.ofp) {
+ /* fallback to stdout */
+ z.ofp = stdout;
+-#if !defined(unix) && !defined(__unix) && !defined(__unix__)
+- setmode(fileno(stdout), O_BINARY);
+-#endif
+ } else {
+ ofp_close = pclose;
+ }
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/zimg/zimg.spec
============================================================================
$ cvs diff -u -r1.1 -r1.2 zimg.spec
--- openpkg-src/zimg/zimg.spec 16 Feb 2004 19:05:45 -0000 1.1
+++ openpkg-src/zimg/zimg.spec 7 Oct 2004 18:36:31 -0000 1.2
@@ -34,10 +34,11 @@
Group: Graphics
License: GPL
Version: 4.22.0
-Release: 20040216
+Release: 20041007
# list of sources
Source0: http://osdn.dl.sourceforge.net/sourceforge/zimg/zimg-%{version}.tar.gz
+Patch0: zimg.patch
# build information
Prefix: %{l_prefix}
@@ -62,6 +63,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]