Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 592940

Summary: media-sound/drumgizmo - new package
Product: Gentoo Linux Reporter: Porcupine of the Moon <porcupineofthemoon>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: UNCONFIRMED ---    
Severity: normal CC: alexander, deim
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: drumgizmo-0.9.10.ebuild
updated ebuild
patch to build on recent gcc 11 or clang
fixed ebuild drumgizmo-0.9.19

Description Porcupine of the Moon 2016-09-05 14:30:11 UTC
Created attachment 445018 [details]
drumgizmo-0.9.10.ebuild

Dear all,

I wrote a new ebuild for drumgizmo-0.9.10. 

Cheers
Comment 1 deim 2022-01-19 15:07:08 UTC
Created attachment 762639 [details]
updated ebuild

I've tried 0.9.10 and this 0.9.19 with actual Gentoo installation and I'm getting errors:
../src/audiocachefile.cc:138:72: error: 'ref' is not a member of 'std'
  138 |                                         std::make_tuple(filename, std::ref(read_buffer))).first;
      |                                                                        ^~~


and with 0.9.19:

In file included from translation.cc:27:
translation.h:35:6: error: ‘uint64_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
   35 | std::uint64_t constexpr const_hash(const char* input)
      |      ^~~~~~~~
      |      wint_t
translation.h:52:41: error: ‘std::uint64_t’ has not been declared
   52 |         static const char* gettext(std::uint64_t msgid, const char* original);
      |                                         ^~~~~~~~
translation.cc: In member function ‘bool Translation::load(const char*, std::size_t)’:
translation.cc:216:43: error: ‘const_hash’ was not declared in this scope
  216 |                 texts.push_back(make_pair(const_hash(orig.data()), transl));
      |                                           ^~~~~~~~~~
translation.cc: At global scope:
translation.cc:229:13: error: no declaration matches ‘const char* Translation::gettext(uint64_t, const char*)’
  229 | const char* Translation::gettext(std::uint64_t msgid, const char* original)
      |             ^~~~~~~~~~~

Does anybody have working installation? Thanks ;-)
Comment 2 deim 2022-02-17 10:45:43 UTC
Created attachment 765292 [details, diff]
patch to build on recent gcc 11 or clang
Comment 3 deim 2022-02-17 10:47:02 UTC
Created attachment 765293 [details]
fixed ebuild drumgizmo-0.9.19