1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: fix build failures with boost 1.88.
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110623
Forwarded: no
Last-Update: 2025-11-30
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- libmems.orig/libMems/Files.h
+++ libmems/libMems/Files.h
@@ -79,11 +79,11 @@
char buf[PATH_MAX + 1];
#endif
boost::filesystem::path path( prefix );
- dir = path.branch_path().string();
+ dir = path.parent_path().string();
#ifdef WIN32
- name = path.leaf();
+ name = path.filename();
#else
- name = path.leaf().string();
+ name = path.filename().string();
#endif
if( name == "/" )
{
|