Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit ext4magic for openSUSE:Factory
Hello community,

here is the log from the commit of package ext4magic for openSUSE:Factory
checked in at 2019-04-14 12:23:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ext4magic (Old)
and /work/SRC/openSUSE:Factory/.ext4magic.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ext4magic"

Sun Apr 14 12:23:24 2019 rev:11 rq:693814 version:0.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ext4magic/ext4magic.changes 2018-11-19
23:31:31.175223396 +0100
+++ /work/SRC/openSUSE:Factory/.ext4magic.new.27019/ext4magic.changes
2019-04-14 12:23:25.231830819 +0200
@@ -1,0 +2,5 @@
+Mon Apr 8 23:16:15 UTC 2019 - Christophe Giboudeaux <christophe@xxxxxxx>
+
+- Add Fix-undefined-reference-to-makedev.patch
+
+-------------------------------------------------------------------

New:
----
Fix-undefined-reference-to-makedev.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ext4magic.spec ++++++
--- /var/tmp/diff_new_pack.K7zM8w/_old 2019-04-14 12:23:26.399831907 +0200
+++ /var/tmp/diff_new_pack.K7zM8w/_new 2019-04-14 12:23:26.399831907 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ext4magic
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 robi@xxxxxxxxxxxxxxxx
#
# All modifications and additions to the file contributed by third parties
@@ -28,6 +28,8 @@
Source0:
http://sourceforge.net/projects/ext4magic/files/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM ext4magic-0.3.2-rename-i_dir_acl.patch -- Fix FTBFS
(boo#1115053)
Patch0: ext4magic-0.3.2-rename-i_dir_acl.patch
+# PATCH-FIX-UPSTREAM Fix-undefined-reference-to-makedev.patch
+Patch1: Fix-undefined-reference-to-makedev.patch
BuildRequires: file-devel > 5.05
BuildRequires: libblkid-devel
BuildRequires: libbz2-devel

++++++ Fix-undefined-reference-to-makedev.patch ++++++
From d412778d45774225ff4b36470193a6056ecc03cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= <seblu@xxxxxxxxx>
Date: Sun, 11 Nov 2018 14:42:38 +0100
Subject: [PATCH] Fix undefined reference to `makedev'

Add include to sys/sysmacros.h to fix compilation with gcc 8.2.1

Error:
gcc -O2 -g -D_FILE_OFFSET_BITS=64 -g -O2 -o ext4magic ext4magic-block.o
ext4magic-dir_list.o ext4magic-ext4magic.o ext4magic-extent_db.o
ext4magic-file_type.o ext4magic-hard_link_stack.o ext4magic-imap_search.o
ext4magic-inode.o ext4magic-journal.o ext4magic-lookup_local.o
ext4magic-magic_block_scan.o ext4magic-recover.o ext4magic-ring_buf.o
ext4magic-util.o -le2p -luuid -lblkid -lz -lbz2 -lmagic -lext2fs
/bin/ld: ext4magic-recover.o: in function `recover_file':
/home/seblu/scm/foss/ext4magic/src/recover.c:478: undefined reference to
`makedev'
---
src/recover.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/recover.c b/src/recover.c
index 41b4aee..30b5d8f 100644
--- a/src/recover.c
+++ b/src/recover.c
@@ -24,6 +24,7 @@
#include <errno.h>
#include <fcntl.h>
#include <utime.h>
+#include <sys/sysmacros.h>

#ifndef O_LARGEFILE
#define O_LARGEFILE 0
--
2.19.1


< Previous Next >
This Thread
  • No further messages