[MacPorts] #57225: testdisk @7.0 build failure after update of libewf: error: use of undeclared identifier 'LIBEWF_OPEN_READ_WRITE'

MacPorts noreply at macports.org
Thu Oct 4 16:02:02 UTC 2018


#57225: testdisk @7.0 build failure after update of libewf: error: use of
undeclared identifier 'LIBEWF_OPEN_READ_WRITE'
-------------------------+--------------------
  Reporter:  Klaskviker  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  testdisk    |
-------------------------+--------------------

Comment (by Klaskviker):

 Replying to [comment:9 RJVB]:
 > Replying to [comment:6 kencu]:
 >
 > That wasn't asking me - next time CC' me first and then add a comment
 why so I get that in my mail ;)
 >
 > Anyway, try this in the file(s) that requires the undefined token:
 >
 > {{{
 > #define LIBEWF_OPEN_READ_WRITE
 (LIBEWF_ACCESS_FLAG_READ|LIBEWF_ACCESS_FLAG_WRITE)
 > }}}
 >
 > or activate the previous version of libewf via `port activate libewf` to
 check the actual definition of LIBEWF_OPEN_READ_WRITE. My hunch is though
 that you can simply set both read and write flags to open something in
 read+write mode.
 >
 > If the trick above works we can consider adding it to
 libewf/definitions.h to avoid having to patch all dependents (though in
 theory the dependent port maintainers should do exactly that...)

 I'm sorry I'm not a developer, in what file(s) should I add these headers?

-- 
Ticket URL: <https://trac.macports.org/ticket/57225#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list