Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ntfs2btrfs for openSUSE:Factory checked in at 2024-05-10 12:04:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ntfs2btrfs (Old) and /work/SRC/openSUSE:Factory/.ntfs2btrfs.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ntfs2btrfs" Fri May 10 12:04:57 2024 rev:3 rq:1172930 version:20240115 Changes: -------- --- /work/SRC/openSUSE:Factory/ntfs2btrfs/ntfs2btrfs.changes 2023-10-31 20:26:47.560348610 +0100 +++ /work/SRC/openSUSE:Factory/.ntfs2btrfs.new.1880/ntfs2btrfs.changes 2024-05-10 12:05:47.202898065 +0200 @@ -1,0 +2,7 @@ +Thu May 9 00:00:00 CEST 2024 - dste...@suse.cz + +- update to version 20240115: + - fix build with gcc 14 + - spec: use tag as version + +------------------------------------------------------------------- Old: ---- 20230501.tar.gz New: ---- 20240115.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ntfs2btrfs.spec ++++++ --- /var/tmp/diff_new_pack.WPiL3S/_old 2024-05-10 12:05:48.634950247 +0200 +++ /var/tmp/diff_new_pack.WPiL3S/_new 2024-05-10 12:05:48.638950393 +0200 @@ -1,7 +1,7 @@ # # spec file for package ntfs2btrfs # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,13 @@ # -%define tag 20230501 Name: ntfs2btrfs -Version: %{tag} +Version: 20240115 Release: 0 Summary: In-place conversion tool from NTFS to BTRFS License: GPL-2.0-only URL: https://github.com/maharmstone/ntfs2btrfs -Source: https://github.com/maharmstone/ntfs2btrfs/archive/refs/tags/%{tag}.tar.gz +Source: https://github.com/maharmstone/ntfs2btrfs/archive/refs/tags/%{version}.tar.gz BuildRequires: cmake BuildRequires: fmt-devel BuildRequires: gcc-c++ ++++++ 20230501.tar.gz -> 20240115.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntfs2btrfs-20230501/CMakeLists.txt new/ntfs2btrfs-20240115/CMakeLists.txt --- old/ntfs2btrfs-20230501/CMakeLists.txt 2023-05-01 22:59:36.000000000 +0200 +++ new/ntfs2btrfs-20240115/CMakeLists.txt 2024-01-15 19:51:01.000000000 +0100 @@ -3,7 +3,7 @@ cmake_policy(SET CMP0091 NEW) set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") -project(ntfs2btrfs VERSION 20230501) +project(ntfs2btrfs VERSION 20240115) include(GNUInstallDirs) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntfs2btrfs-20230501/README.md new/ntfs2btrfs-20240115/README.md --- old/ntfs2btrfs-20230501/README.md 2023-05-01 22:59:36.000000000 +0200 +++ new/ntfs2btrfs-20240115/README.md 2024-01-15 19:51:01.000000000 +0100 @@ -50,6 +50,9 @@ Changelog --------- +* 20240115 + * Fixed compilation on GCC 14 (`-Werror=incompatible-pointer-types` now enabled by default) + * 20230501 * Fixed inline extent items being written out of order (not diagnosed by `btrfs check`) * Fixed metadata items being written with wrong level value (not diagnosed by `btrfs check`) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntfs2btrfs-20230501/ntfs2btrfs.8.in new/ntfs2btrfs-20240115/ntfs2btrfs.8.in --- old/ntfs2btrfs-20230501/ntfs2btrfs.8.in 2023-05-01 22:59:36.000000000 +0200 +++ new/ntfs2btrfs-20240115/ntfs2btrfs.8.in 2024-01-15 19:51:01.000000000 +0100 @@ -1,4 +1,4 @@ -.TH NTFS2BTRFS "8" "May 2023" "ntfs2btrfs @PROJECT_VERSION@" "System Administration" +.TH NTFS2BTRFS "8" "January 2024" "ntfs2btrfs @PROJECT_VERSION@" "System Administration" .SH NAME ntfs2btrfs \- convert ntfs filesystem to btrfs filesystem .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntfs2btrfs-20230501/src/ebiggers/decompress_common.c new/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c --- old/ntfs2btrfs-20230501/src/ebiggers/decompress_common.c 2023-05-01 22:59:36.000000000 +0200 +++ new/ntfs2btrfs-20240115/src/ebiggers/decompress_common.c 2024-01-15 19:51:01.000000000 +0100 @@ -124,7 +124,7 @@ u16 * const offsets = &working_space[1 * (max_codeword_len + 1)]; u16 * const sorted_syms = &working_space[2 * (max_codeword_len + 1)]; s32 remainder = 1; - uint8_t *entry_ptr = decode_table; + uint8_t *entry_ptr = (uint8_t *)decode_table; unsigned codeword_len = 1; unsigned sym_idx; unsigned codeword; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntfs2btrfs-20230501/src/ntfs2btrfs.cpp new/ntfs2btrfs-20240115/src/ntfs2btrfs.cpp --- old/ntfs2btrfs-20230501/src/ntfs2btrfs.cpp 2023-05-01 22:59:36.000000000 +0200 +++ new/ntfs2btrfs-20240115/src/ntfs2btrfs.cpp 2024-01-15 19:51:01.000000000 +0100 @@ -42,6 +42,10 @@ #include <sys/mman.h> #endif +#if !defined(_WIN32) && !defined(__FreeBSD__) +#define USE_MMAP +#endif + #include "config.h" using namespace std; @@ -3337,7 +3341,7 @@ } } -#ifndef _WIN32 // doesn't seem to work on Windows for volumes (CreateFileMapping returns ERROR_INVALID_PARAMETER) +#ifdef USE_MMAP class memory_map { public: memory_map(int fd, uint64_t off, size_t length) : length(length) { @@ -3433,7 +3437,7 @@ total += r.length; } -#ifndef _WIN32 +#ifdef USE_MMAP unique_ptr<memory_map> mm; uint64_t old_chunk = 0; #endif @@ -3446,7 +3450,7 @@ csums.resize((size_t)(r.length * cluster_size * csum_size / sector_size)); -#ifndef _WIN32 +#ifdef USE_MMAP uint64_t chunk = (r.offset * cluster_size) / data_chunk_size; if (!mm || old_chunk != chunk) {