File: boost1.88.patch

package info (click to toggle)
libmems 1.6.0%2B4725-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,164 kB
  • sloc: cpp: 21,579; ansic: 4,313; xml: 115; makefile: 107; sh: 26
file content (24 lines) | stat: -rw-r--r-- 742 bytes parent folder | download
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 == "/" )
         {