OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Matthias Kurz
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 08-Jan-2006 21:16:35
Branch: HEAD Handle: 2006010820163400
Added files:
openpkg-src/mtx mtx.patch
Modified files:
openpkg-src/mtx mtx.spec
Log:
modifying package: mtx-1.3.8 20040513 -> 20060108
Summary:
Revision Changes Path
1.1 +17 -0 openpkg-src/mtx/mtx.patch
1.5 +3 -1 openpkg-src/mtx/mtx.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mtx/mtx.patch
============================================================================
$ cvs diff -u -r0 -r1.1 mtx.patch
--- /dev/null 2006-01-08 21:16:35 +0100
+++ mtx.patch 2006-01-08 21:16:35 +0100
@@ -0,0 +1,17 @@
+Index: sg_err.c
+--- sg_err.c.orig 2002-01-05 01:52:52.000000000 +0100
++++ sg_err.c 2006-01-08 16:28:52.000000000 +0100
+@@ -21,10 +21,10 @@
+
+ #define OUTP stderr
+
+-static const unsigned char scsi_command_size[8] = { 6, 10, 10, 12,
+- 12, 12, 10, 10 };
++static const unsigned char my_scsi_command_size[8] = { 6, 10, 10, 12,
++ 12, 12, 10, 10 };
+
+-#define COMMAND_SIZE(opcode) scsi_command_size[((opcode) >> 5) & 7]
++#define COMMAND_SIZE(opcode) my_scsi_command_size[((opcode) >> 5) & 7]
+
+ static const char unknown[] = "UNKNOWN";
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mtx/mtx.spec
============================================================================
$ cvs diff -u -r1.4 -r1.5 mtx.spec
--- openpkg-src/mtx/mtx.spec 1 Jan 2006 13:17:02 -0000 1.4
+++ openpkg-src/mtx/mtx.spec 8 Jan 2006 20:16:34 -0000 1.5
@@ -33,10 +33,11 @@
Group: System
License: GPL
Version: 1.3.8
-Release: 20040513
+Release: 20060108
# list of sources
Source0:
ftp://ftp.badtux.net/pub/storage/mtx/unstable/mtx-%{version}.tar.gz
+Patch0: mtx.patch
# build information
Prefix: %{l_prefix}
@@ -70,6 +71,7 @@
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]