OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.7 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../fusionsound/DFBResult-hotfix.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Use DFBResult as defined in the function prototypes in fusionsound.h
  17. --- FusionSound-1.1.1/src/fusionsound.c.orig 2010-08-03 14:22:04.584253866 +0200
  18. +++ FusionSound-1.1.1/src/fusionsound.c 2010-08-03 14:25:57.932007684 +0200
  19. @@ -116,7 +116,7 @@
  20. return fs_config_set( name, value );
  21. }
  22. -DirectResult
  23. +DFBResult
  24. FusionSoundCreate( IFusionSound **ret_interface )
  25. {
  26. DFBResult ret;
  27. @@ -160,8 +160,8 @@
  28. return ret;
  29. }
  30. -DirectResult
  31. -FusionSoundError( const char *msg, DirectResult error )
  32. +DFBResult
  33. +FusionSoundError( const char *msg, DFBResult error )
  34. {
  35. if (msg)
  36. fprintf( stderr, "(#) FusionSound Error [%s]: %s\n", msg, DirectResultString( error ) );
  37. @@ -172,7 +172,7 @@
  38. }
  39. DFBResult
  40. -FusionSoundErrorFatal( const char *msg, DirectResult error )
  41. +FusionSoundErrorFatal( const char *msg, DFBResult error )
  42. {
  43. FusionSoundError( msg, error );
  44. @@ -180,7 +180,7 @@
  45. }
  46. const char *
  47. -FusionSoundErrorString( DirectResult error )
  48. +FusionSoundErrorString( DFBResult error )
  49. {
  50. return DirectResultString( error );
  51. }