]> git.pld-linux.org Git - packages/cpmtools.git/commitdiff
- updated to 2.16 auto/th/cpmtools-2.16-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Sep 2013 12:43:17 +0000 (14:43 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Sep 2013 12:43:17 +0000 (14:43 +0200)
- updated DESTDIR patch
- removed obsolete libdsk-fix patch

cpmtools-DESTDIR.patch
cpmtools-libdsk-fix.patch [deleted file]
cpmtools.spec

index f9e387c838c211179cf1d842966e045e3e4ad206..28bd151ddce23306f09b68f167483d3de1f7eaef 100644 (file)
@@ -1,5 +1,5 @@
---- cpmtools-2.15/Makefile.in.orig     2013-03-02 20:24:53.958658546 +0100
-+++ cpmtools-2.15/Makefile.in  2013-03-02 20:30:40.518644002 +0100
+--- cpmtools-2.16/Makefile.in.orig     2013-09-15 14:35:11.917504540 +0200
++++ cpmtools-2.16/Makefile.in  2013-09-15 14:37:22.097499077 +0200
 @@ -80,26 +80,26 @@
                -./fsck.cpm -f pcw -n badfs/label
  
@@ -13,7 +13,7 @@
 -              $(INSTALL) -s -m 755 cpmchattr $(BINDIR)/cpmchattr
 -              $(INSTALL) -s -m 755 mkfs.cpm $(BINDIR)/mkfs.cpm
 -              $(INSTALL) -s -m 755 fsck.cpm $(BINDIR)/fsck.cpm
--              [ $(FSED_CPM) != '' ] && $(INSTALL) -s -m 755 fsed.cpm $(BINDIR)/fsed.cpm
+-              [ "$(FSED_CPM)" != '' ] && $(INSTALL) -s -m 755 fsed.cpm $(BINDIR)/fsed.cpm
 -              $(INSTALL_DATA) diskdefs @datarootdir@/diskdefs
 -              $(INSTALL_DATA) cpmls.1 $(MANDIR)/man1/cpmls.1
 -              $(INSTALL_DATA) cpmcp.1 $(MANDIR)/man1/cpmcp.1
@@ -33,7 +33,7 @@
 +              $(INSTALL) -D -m 755 cpmchattr $(DESTDIR)$(BINDIR)/cpmchattr
 +              $(INSTALL) -D -m 755 mkfs.cpm $(DESTDIR)$(BINDIR)/mkfs.cpm
 +              $(INSTALL) -D -m 755 fsck.cpm $(DESTDIR)$(BINDIR)/fsck.cpm
-+              [ $(FSED_CPM) != '' ] && $(INSTALL) -D -m 755 fsed.cpm $(DESTDIR)$(BINDIR)/fsed.cpm
++              [ "$(FSED_CPM)" != '' ] && $(INSTALL) -D -m 755 fsed.cpm $(DESTDIR)$(BINDIR)/fsed.cpm
 +              $(INSTALL_DATA) -D diskdefs $(DESTDIR)@datarootdir@/diskdefs
 +              $(INSTALL_DATA) cpmls.1 $(DESTDIR)$(MANDIR)/man1/cpmls.1
 +              $(INSTALL_DATA) cpmcp.1 $(DESTDIR)$(MANDIR)/man1/cpmcp.1
diff --git a/cpmtools-libdsk-fix.patch b/cpmtools-libdsk-fix.patch
deleted file mode 100644 (file)
index 7351856..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
---- cpmtools-2.15/device_libdsk.c.orig 2012-03-18 19:18:16.000000000 +0100
-+++ cpmtools-2.15/device_libdsk.c      2013-03-02 21:24:38.201841462 +0100
-@@ -31,7 +31,7 @@
-   this->sectrk=sectrk;
-   this->tracks=tracks;
-   /* Must be an even multiple of sector size */
--  assert((offset%secLength==0);
-+  assert(offset%secLength==0);
-   this->offset=offset;
-   
-   this->geom.dg_secsize   = secLength;
-@@ -65,7 +65,7 @@
- const char *Device_readSector(const struct Device *this, int track, int sector, char *buf)
- {
-   dsk_err_t e;
--  e = dsk_lread(this->dev, &this->geom, buf, (track * this->sectrk) + sector + offset/this->secLength);
-+  e = dsk_lread(this->dev, &this->geom, buf, (track * this->sectrk) + sector + this->offset/this->secLength);
-   return (e?dsk_strerror(e):(const char*)0);
- }
- /*}}}*/
-@@ -73,7 +73,7 @@
- const char *Device_writeSector(const struct Device *this, int track, int sector, const char *buf)
- {
-   dsk_err_t e;
--  e = dsk_lwrite(this->dev, &this->geom, buf, (track * this->sectrk) + sector + offset/this->secLength);
-+  e = dsk_lwrite(this->dev, &this->geom, buf, (track * this->sectrk) + sector + this->offset/this->secLength);
-   return (e?dsk_strerror(e):(const char*)0);
- }
- /*}}}*/
index 916b2c2acd15d3e112f6cd299f6a43d45357324d..5b73998a8b52ff4066430e21e9ea12ed63c11075 100644 (file)
@@ -1,15 +1,14 @@
 Summary:       Tools for accessing CP/M file systems
 Summary(pl.UTF-8):     Narzędzia pozwalające na dostęp do systemów plików CP/M
 Name:          cpmtools
-Version:       2.15
+Version:       2.16
 Release:       1
 License:       GPL v3+
 Group:         Applications
 Source0:       http://www.moria.de/~michael/cpmtools/%{name}-%{version}.tar.gz
-# Source0-md5: 12451210924adec390cbfc52a5aa69fb
+# Source0-md5: b2b204cf3b1d85b8e16be39b57a5a768
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-link.patch
-Patch2:                %{name}-libdsk-fix.patch
 URL:           http://www.moria.de/~michael/cpmtools/
 BuildRequires: autoconf >= 2.13
 BuildRequires: libdsk-devel
@@ -32,7 +31,6 @@ Z80-PC, ale działa także ze stacjami dyskietek.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
 %{__autoconf}
This page took 0.141429 seconds and 4 git commands to generate.