diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-02-07 00:00:07 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-02-07 00:00:07 +0100 |
commit | 7ec566c66fcc0fbdfebc733b73ace264827d013a (patch) | |
tree | cf036e410c88bb3d01da899fb39871b578d01218 /base/libsidplay | |
parent | 18e7157481637cb2f234daeccfb24d00813a90a6 (diff) | |
download | nutyx-pakxe-7ec566c66fcc0fbdfebc733b73ace264827d013a.tar.gz nutyx-pakxe-7ec566c66fcc0fbdfebc733b73ace264827d013a.tar.bz2 nutyx-pakxe-7ec566c66fcc0fbdfebc733b73ace264827d013a.tar.xz nutyx-pakxe-7ec566c66fcc0fbdfebc733b73ace264827d013a.zip |
libsidplay, déplacé dans base
Diffstat (limited to 'base/libsidplay')
-rw-r--r-- | base/libsidplay/.footprint | 19 | ||||
-rw-r--r-- | base/libsidplay/.md5sum | 2 | ||||
-rw-r--r-- | base/libsidplay/Pkgfile | 19 | ||||
-rw-r--r-- | base/libsidplay/libsidplay-1.36.59-gcc43.patch | 41 |
4 files changed, 81 insertions, 0 deletions
diff --git a/base/libsidplay/.footprint b/base/libsidplay/.footprint new file mode 100644 index 000000000..fc25a4a14 --- /dev/null +++ b/base/libsidplay/.footprint @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/sidplay/ +-rw-r--r-- root/root usr/include/sidplay/compconf.h +-rw-r--r-- root/root usr/include/sidplay/emucfg.h +-rw-r--r-- root/root usr/include/sidplay/fformat.h +-rw-r--r-- root/root usr/include/sidplay/fixpoint.h +-rw-r--r-- root/root usr/include/sidplay/libcfg.h +-rw-r--r-- root/root usr/include/sidplay/myendian.h +-rw-r--r-- root/root usr/include/sidplay/mytypes.h +-rw-r--r-- root/root usr/include/sidplay/player.h +-rw-r--r-- root/root usr/include/sidplay/sidtune.h +-rw-r--r-- root/root usr/include/sidplay/version.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libsidplay.a +-rwxr-xr-x root/root usr/lib/libsidplay.la +lrwxrwxrwx root/root usr/lib/libsidplay.so -> libsidplay.so.1.0.3 +lrwxrwxrwx root/root usr/lib/libsidplay.so.1 -> libsidplay.so.1.0.3 +-rwxr-xr-x root/root usr/lib/libsidplay.so.1.0.3 diff --git a/base/libsidplay/.md5sum b/base/libsidplay/.md5sum new file mode 100644 index 000000000..5bab3e6d5 --- /dev/null +++ b/base/libsidplay/.md5sum @@ -0,0 +1,2 @@ +40d361fff8e1eb69a95835b7cd884d97 libsidplay-1.36.59-gcc43.patch +37c51ba4bd57164b1b0bb7b43b9adece libsidplay-1.36.59.tgz diff --git a/base/libsidplay/Pkgfile b/base/libsidplay/Pkgfile new file mode 100644 index 000000000..4603412ca --- /dev/null +++ b/base/libsidplay/Pkgfile @@ -0,0 +1,19 @@ +# Description: Librairie pour lire des fichiers SID +# URL: http://critical.ch/distfiles +# Maintainer: NuTyX core team +# Packager: fred.galusik at gmail dot com + +name=libsidplay +version=1.36.59 +release=1 +source=(http://critical.ch/distfiles/$name-$version.tgz \ +libsidplay-1.36.59-gcc43.patch) + +build() { +cd $name-$version + patch -p1 < ../libsidplay-1.36.59-gcc43.patch + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} + diff --git a/base/libsidplay/libsidplay-1.36.59-gcc43.patch b/base/libsidplay/libsidplay-1.36.59-gcc43.patch new file mode 100644 index 000000000..8125e7ef3 --- /dev/null +++ b/base/libsidplay/libsidplay-1.36.59-gcc43.patch @@ -0,0 +1,41 @@ +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; + |