diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/bbcd/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/bbcd/files')
-rw-r--r-- | x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch | 20 | ||||
-rw-r--r-- | x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch | 11 | ||||
-rw-r--r-- | x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff | 41 |
3 files changed, 72 insertions, 0 deletions
diff --git a/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch b/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch new file mode 100644 index 000000000000..906dabf616ca --- /dev/null +++ b/x11-misc/bbcd/files/bbcd-0.3.1-gcc3.3.patch @@ -0,0 +1,20 @@ +--- bbcd-0.3.1/Color.cc.org 2003-12-07 14:55:51.791299707 +0100 ++++ bbcd-0.3.1/Color.cc 2003-12-07 14:56:07.724194970 +0100 +@@ -32,6 +32,7 @@ + //#include <stdio.h> + //} + #include <iostream> ++#include <assert.h> + + + BColor::ColorCache BColor::colorcache; +--- bbcd-0.3.1/Texture.cc.org 2003-12-07 14:55:57.382507797 +0100 ++++ bbcd-0.3.1/Texture.cc 2003-12-07 14:56:41.924228114 +0100 +@@ -37,6 +37,7 @@ + #include "Texture.hh" + //#include "BaseDisplay.hh" + #include "Image.hh" ++#include <assert.h> + //#include "Screen.hh" + //#include "blackbox.hh" + diff --git a/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch b/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch new file mode 100644 index 000000000000..90c2d4ab8d8e --- /dev/null +++ b/x11-misc/bbcd/files/bbcd-0.3.1-gcc4.3.patch @@ -0,0 +1,11 @@ +Add header to be compatible with gcc-4.3 and glibc-2.8. +--- bbcd-0.3.1/Image.cc ++++ bbcd-0.3.1/Image.cc +@@ -29,6 +29,7 @@ + //# include <stdio.h> + //#endif // HAVE_STDIO_H + #include <iostream> ++#include <cstring> + + #include <algorithm> + using std::max; diff --git a/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff b/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff new file mode 100644 index 000000000000..75db91941727 --- /dev/null +++ b/x11-misc/bbcd/files/bbcd-0.3.1_0.3.1a.diff @@ -0,0 +1,41 @@ +diff -urN bbcd-0.3.1/CD_Ctrl.cc bbcd-0.3.2/CD_Ctrl.cc +--- bbcd-0.3.1/CD_Ctrl.cc Sun Jun 23 18:35:27 2002 ++++ bbcd-0.3.2/CD_Ctrl.cc Mon Feb 3 09:29:00 2003 +@@ -116,7 +116,7 @@ + cd_resume(getCdFd()); + return di.disc_current_track; + } +- if(di.disc_mode == CDAUDIO_COMPLETED) { ++ if(di.disc_mode == CDAUDIO_COMPLETED || di.disc_mode == CDAUDIO_NOSTATUS) { + cd_play(getCdFd(), di.disc_first_track); + return di.disc_first_track; + } +Binary files bbcd-0.3.1/test_cd_ctrl and bbcd-0.3.2/test_cd_ctrl differ +diff -urN bbcd-0.3.1/test_cd_ctrl.cc bbcd-0.3.2/test_cd_ctrl.cc +--- bbcd-0.3.1/test_cd_ctrl.cc Thu Jun 27 22:52:36 2002 ++++ bbcd-0.3.2/test_cd_ctrl.cc Mon Feb 3 09:19:42 2003 +@@ -88,10 +88,20 @@ + + CD_Controler cd(deviceName); + if(info) { +- std::cout << "Drive status: \n"; +- std::cout << "Disc present ? " << (cd.isDiscPresent()?"yes":"no") << "\n"; +- std::cout << "Is drive playing ? " << (cd.isPlaying()?"yes":"no") << "\n" +- << "Is drive paused ? " << (cd.isPaused()?"yes":"no") << "\n"; ++ std::cout << "Drive status: \n" ++ << "Disc present? " << (cd.isDiscPresent()?"yes":"no") << "\n" ++ << "Is drive playing? " << (cd.isPlaying()?"yes":"no") << "\n" ++ << "Is drive paused? " << (cd.isPaused()?"yes":"no") << "\n" ++ << "Audio status: "; ++ switch(cd.getAudioStatus()) { ++ case CD_Controler::Invalid: std::cout<<"Invalid"; break; ++ case CD_Controler::Play: std::cout<<"Play"; break; ++ case CD_Controler::Paused: std::cout<<"Paused"; break; ++ case CD_Controler::Completed: std::cout<<"Completed"; break; ++ case CD_Controler::Error: std::cout<<"Error"; break; ++ case CD_Controler::NoStatus: std::cout<<"No Status"; break; ++ } ++ std::cout<<std::endl; + } + + if(pause) { |