Date: Friday, February 17, 2012 @ 18:16:31
  Author: allan
Revision: 150451

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  libsidplay/repos/extra-i686/PKGBUILD
    (from rev 150450, libsidplay/trunk/PKGBUILD)
  libsidplay/repos/extra-i686/libsidplay-1.36.59-gcc43.patch
    (from rev 150450, libsidplay/trunk/libsidplay-1.36.59-gcc43.patch)
  libsidplay/repos/extra-x86_64/PKGBUILD
    (from rev 150450, libsidplay/trunk/PKGBUILD)
  libsidplay/repos/extra-x86_64/libsidplay-1.36.59-gcc43.patch
    (from rev 150450, libsidplay/trunk/libsidplay-1.36.59-gcc43.patch)
Deleted:
  libsidplay/repos/extra-i686/PKGBUILD
  libsidplay/repos/extra-i686/libsidplay-1.36.59-gcc43.patch
  libsidplay/repos/extra-x86_64/PKGBUILD
  libsidplay/repos/extra-x86_64/libsidplay-1.36.59-gcc43.patch

---------------------------------------------+
 extra-i686/PKGBUILD                         |   49 ++++++++-------
 extra-i686/libsidplay-1.36.59-gcc43.patch   |   80 +++++++++++++-------------
 extra-x86_64/PKGBUILD                       |   49 ++++++++-------
 extra-x86_64/libsidplay-1.36.59-gcc43.patch |   80 +++++++++++++-------------
 4 files changed, 132 insertions(+), 126 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-02-17 23:15:20 UTC (rev 150450)
+++ extra-i686/PKGBUILD 2012-02-17 23:16:31 UTC (rev 150451)
@@ -1,23 +0,0 @@
-# $Id$
-# Maintainer: damir <[email protected]>
-# Contributor: Kritoke <[email protected]>
-
-pkgname=libsidplay
-pkgver=1.36.59
-pkgrel=4
-pkgdesc="A library for playing SID music files."
-arch=('i686' 'x86_64')
-url="http://critical.ch/distfiles/";
-license=('GPL')
-depends=('gcc-libs')
-options=('!libtool')
-source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz 
libsidplay-1.36.59-gcc43.patch)
-md5sums=('37c51ba4bd57164b1b0bb7b43b9adece' 'c24d7bca2639f4fee03c40c7dcaadfee')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 < ../libsidplay-1.36.59-gcc43.patch || return 1
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
-}

Copied: libsidplay/repos/extra-i686/PKGBUILD (from rev 150450, 
libsidplay/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD                         (rev 0)
+++ extra-i686/PKGBUILD 2012-02-17 23:16:31 UTC (rev 150451)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer:
+# Contributor: Kritoke <[email protected]>
+
+pkgname=libsidplay
+pkgver=1.36.59
+pkgrel=5
+pkgdesc="A library for playing SID music files."
+arch=('i686' 'x86_64')
+url="http://critical.ch/distfiles/";
+license=('GPL')
+options=('!libtool')
+source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz 
libsidplay-1.36.59-gcc43.patch)
+md5sums=('37c51ba4bd57164b1b0bb7b43b9adece' 'c24d7bca2639f4fee03c40c7dcaadfee')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np1 -i $srcdir/libsidplay-1.36.59-gcc43.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install || return 1
+}

Deleted: extra-i686/libsidplay-1.36.59-gcc43.patch
===================================================================
--- extra-i686/libsidplay-1.36.59-gcc43.patch   2012-02-17 23:15:20 UTC (rev 
150450)
+++ extra-i686/libsidplay-1.36.59-gcc43.patch   2012-02-17 23:16:31 UTC (rev 
150451)
@@ -1,40 +0,0 @@
-diff --git a/src/sidtune.cpp b/src/sidtune.cpp
-index 4d1d33b..6fbae80 100644
---- a/src/sidtune.cpp
-+++ b/src/sidtune.cpp
-@@ -306,11 +306,7 @@ udword sidTune::loadFile(const char* fileName, ubyte** 
bufferRef)
-         return 0;
-     }
-     // Open binary input file stream at end of file.
--#if defined(SID_HAVE_IOS_BIN)
--      ifstream myIn( fileName, ios::in|ios::bin|ios::ate );
--#else
-       ifstream myIn( fileName, ios::in|ios::binary|ios::ate );
--#endif
-       // As a replacement for !is_open(), bad() and the NOT-operator
-     // don't seem to work on all systems.
- #if defined(SID_DONT_HAVE_IS_OPEN)
-@@ -972,11 +968,7 @@ bool sidTune::saveC64dataFile( const char* fileName, bool 
overWriteFlag )
-         }
-               // Open binary output file stream.
-         else
--#if defined(SID_HAVE_IOS_BIN)
--            fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
--#else
-             fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
--#endif
-               if ( !fMyOut )
-               { 
-                       info.statusString = text_cantCreateFile;
-@@ -1061,11 +1053,7 @@ bool sidTune::savePSIDfile( const char* fileName, bool 
overWriteFlag )
-         }
-               // Open binary output file stream.
-         else
--#if defined(SID_HAVE_IOS_BIN)
--            fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
--#else
-             fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
--#endif
-               if ( !fMyOut )
-               {
-                       info.statusString = text_cantCreateFile;

Copied: libsidplay/repos/extra-i686/libsidplay-1.36.59-gcc43.patch (from rev 
150450, libsidplay/trunk/libsidplay-1.36.59-gcc43.patch)
===================================================================
--- extra-i686/libsidplay-1.36.59-gcc43.patch                           (rev 0)
+++ extra-i686/libsidplay-1.36.59-gcc43.patch   2012-02-17 23:16:31 UTC (rev 
150451)
@@ -0,0 +1,40 @@
+diff --git a/src/sidtune.cpp b/src/sidtune.cpp
+index 4d1d33b..6fbae80 100644
+--- a/src/sidtune.cpp
++++ b/src/sidtune.cpp
+@@ -306,11 +306,7 @@ udword sidTune::loadFile(const char* fileName, ubyte** 
bufferRef)
+         return 0;
+     }
+     // Open binary input file stream at end of file.
+-#if defined(SID_HAVE_IOS_BIN)
+-      ifstream myIn( fileName, ios::in|ios::bin|ios::ate );
+-#else
+       ifstream myIn( fileName, ios::in|ios::binary|ios::ate );
+-#endif
+       // As a replacement for !is_open(), bad() and the NOT-operator
+     // don't seem to work on all systems.
+ #if defined(SID_DONT_HAVE_IS_OPEN)
+@@ -972,11 +968,7 @@ bool sidTune::saveC64dataFile( const char* fileName, bool 
overWriteFlag )
+         }
+               // Open binary output file stream.
+         else
+-#if defined(SID_HAVE_IOS_BIN)
+-            fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
+-#else
+             fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
+-#endif
+               if ( !fMyOut )
+               { 
+                       info.statusString = text_cantCreateFile;
+@@ -1061,11 +1053,7 @@ bool sidTune::savePSIDfile( const char* fileName, bool 
overWriteFlag )
+         }
+               // Open binary output file stream.
+         else
+-#if defined(SID_HAVE_IOS_BIN)
+-            fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
+-#else
+             fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
+-#endif
+               if ( !fMyOut )
+               {
+                       info.statusString = text_cantCreateFile;

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD       2012-02-17 23:15:20 UTC (rev 150450)
+++ extra-x86_64/PKGBUILD       2012-02-17 23:16:31 UTC (rev 150451)
@@ -1,23 +0,0 @@
-# $Id$
-# Maintainer: damir <[email protected]>
-# Contributor: Kritoke <[email protected]>
-
-pkgname=libsidplay
-pkgver=1.36.59
-pkgrel=4
-pkgdesc="A library for playing SID music files."
-arch=('i686' 'x86_64')
-url="http://critical.ch/distfiles/";
-license=('GPL')
-depends=('gcc-libs')
-options=('!libtool')
-source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz 
libsidplay-1.36.59-gcc43.patch)
-md5sums=('37c51ba4bd57164b1b0bb7b43b9adece' 'c24d7bca2639f4fee03c40c7dcaadfee')
-
-build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  patch -p1 < ../libsidplay-1.36.59-gcc43.patch || return 1
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
-}

Copied: libsidplay/repos/extra-x86_64/PKGBUILD (from rev 150450, 
libsidplay/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD                               (rev 0)
+++ extra-x86_64/PKGBUILD       2012-02-17 23:16:31 UTC (rev 150451)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer:
+# Contributor: Kritoke <[email protected]>
+
+pkgname=libsidplay
+pkgver=1.36.59
+pkgrel=5
+pkgdesc="A library for playing SID music files."
+arch=('i686' 'x86_64')
+url="http://critical.ch/distfiles/";
+license=('GPL')
+options=('!libtool')
+source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz 
libsidplay-1.36.59-gcc43.patch)
+md5sums=('37c51ba4bd57164b1b0bb7b43b9adece' 'c24d7bca2639f4fee03c40c7dcaadfee')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -Np1 -i $srcdir/libsidplay-1.36.59-gcc43.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install || return 1
+}

Deleted: extra-x86_64/libsidplay-1.36.59-gcc43.patch
===================================================================
--- extra-x86_64/libsidplay-1.36.59-gcc43.patch 2012-02-17 23:15:20 UTC (rev 
150450)
+++ extra-x86_64/libsidplay-1.36.59-gcc43.patch 2012-02-17 23:16:31 UTC (rev 
150451)
@@ -1,40 +0,0 @@
-diff --git a/src/sidtune.cpp b/src/sidtune.cpp
-index 4d1d33b..6fbae80 100644
---- a/src/sidtune.cpp
-+++ b/src/sidtune.cpp
-@@ -306,11 +306,7 @@ udword sidTune::loadFile(const char* fileName, ubyte** 
bufferRef)
-         return 0;
-     }
-     // Open binary input file stream at end of file.
--#if defined(SID_HAVE_IOS_BIN)
--      ifstream myIn( fileName, ios::in|ios::bin|ios::ate );
--#else
-       ifstream myIn( fileName, ios::in|ios::binary|ios::ate );
--#endif
-       // As a replacement for !is_open(), bad() and the NOT-operator
-     // don't seem to work on all systems.
- #if defined(SID_DONT_HAVE_IS_OPEN)
-@@ -972,11 +968,7 @@ bool sidTune::saveC64dataFile( const char* fileName, bool 
overWriteFlag )
-         }
-               // Open binary output file stream.
-         else
--#if defined(SID_HAVE_IOS_BIN)
--            fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
--#else
-             fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
--#endif
-               if ( !fMyOut )
-               { 
-                       info.statusString = text_cantCreateFile;
-@@ -1061,11 +1053,7 @@ bool sidTune::savePSIDfile( const char* fileName, bool 
overWriteFlag )
-         }
-               // Open binary output file stream.
-         else
--#if defined(SID_HAVE_IOS_BIN)
--            fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
--#else
-             fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
--#endif
-               if ( !fMyOut )
-               {
-                       info.statusString = text_cantCreateFile;

Copied: libsidplay/repos/extra-x86_64/libsidplay-1.36.59-gcc43.patch (from rev 
150450, libsidplay/trunk/libsidplay-1.36.59-gcc43.patch)
===================================================================
--- extra-x86_64/libsidplay-1.36.59-gcc43.patch                         (rev 0)
+++ extra-x86_64/libsidplay-1.36.59-gcc43.patch 2012-02-17 23:16:31 UTC (rev 
150451)
@@ -0,0 +1,40 @@
+diff --git a/src/sidtune.cpp b/src/sidtune.cpp
+index 4d1d33b..6fbae80 100644
+--- a/src/sidtune.cpp
++++ b/src/sidtune.cpp
+@@ -306,11 +306,7 @@ udword sidTune::loadFile(const char* fileName, ubyte** 
bufferRef)
+         return 0;
+     }
+     // Open binary input file stream at end of file.
+-#if defined(SID_HAVE_IOS_BIN)
+-      ifstream myIn( fileName, ios::in|ios::bin|ios::ate );
+-#else
+       ifstream myIn( fileName, ios::in|ios::binary|ios::ate );
+-#endif
+       // As a replacement for !is_open(), bad() and the NOT-operator
+     // don't seem to work on all systems.
+ #if defined(SID_DONT_HAVE_IS_OPEN)
+@@ -972,11 +968,7 @@ bool sidTune::saveC64dataFile( const char* fileName, bool 
overWriteFlag )
+         }
+               // Open binary output file stream.
+         else
+-#if defined(SID_HAVE_IOS_BIN)
+-            fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
+-#else
+             fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
+-#endif
+               if ( !fMyOut )
+               { 
+                       info.statusString = text_cantCreateFile;
+@@ -1061,11 +1053,7 @@ bool sidTune::savePSIDfile( const char* fileName, bool 
overWriteFlag )
+         }
+               // Open binary output file stream.
+         else
+-#if defined(SID_HAVE_IOS_BIN)
+-            fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
+-#else
+             fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
+-#endif
+               if ( !fMyOut )
+               {
+                       info.statusString = text_cantCreateFile;

Reply via email to