diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-10-23 17:01:26 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-10-23 17:01:26 +0200 |
commit | e94e4d359c0acad8e714c3d044eafca171c9da5b (patch) | |
tree | 097e5dead66a4a3a6f5c5ef8d6189a01ad1d1d27 | |
parent | 37533efd0e46133b3be58cde6f4497c0eeddbc4e (diff) | |
download | nutyx-pakxe-e94e4d359c0acad8e714c3d044eafca171c9da5b.tar.gz nutyx-pakxe-e94e4d359c0acad8e714c3d044eafca171c9da5b.tar.bz2 nutyx-pakxe-e94e4d359c0acad8e714c3d044eafca171c9da5b.tar.xz nutyx-pakxe-e94e4d359c0acad8e714c3d044eafca171c9da5b.zip |
libsidplay, port nettoyé
-rw-r--r-- | base/libsidplay/Pkgfile | 2 | ||||
-rw-r--r-- | base/libsidplay/libsidplay-1.36.59-gcc43.patch | 41 |
2 files changed, 1 insertions, 42 deletions
diff --git a/base/libsidplay/Pkgfile b/base/libsidplay/Pkgfile index 4603412ca..11f15e618 100644 --- a/base/libsidplay/Pkgfile +++ b/base/libsidplay/Pkgfile @@ -7,7 +7,7 @@ name=libsidplay version=1.36.59 release=1 source=(http://critical.ch/distfiles/$name-$version.tgz \ -libsidplay-1.36.59-gcc43.patch) +http://nutyx.meticul.eu/files/patchs/$name/libsidplay-1.36.59-gcc43.patch) build() { cd $name-$version diff --git a/base/libsidplay/libsidplay-1.36.59-gcc43.patch b/base/libsidplay/libsidplay-1.36.59-gcc43.patch deleted file mode 100644 index 8125e7ef3..000000000 --- a/base/libsidplay/libsidplay-1.36.59-gcc43.patch +++ /dev/null @@ -1,41 +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; - |