From fd7117280af2dd66bad34b57d4cdacc8110daaac Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 25 Jun 2008 09:56:33 +0000 Subject: [PATCH] - backport Fix redefinition of typedef AFFILE --- afflib-3.2.1-fix_namespace.patch | 12 ++++++++++++ afflib.spec | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 afflib-3.2.1-fix_namespace.patch diff --git a/afflib-3.2.1-fix_namespace.patch b/afflib-3.2.1-fix_namespace.patch new file mode 100644 index 0000000..9af1354 --- /dev/null +++ b/afflib-3.2.1-fix_namespace.patch @@ -0,0 +1,12 @@ +diff -up afflib-3.2.1/lib/afflib_i.h.fix_namespace afflib-3.2.1/lib/afflib_i.h +--- afflib-3.2.1/lib/afflib_i.h.fix_namespace 2008-06-25 11:01:34.000000000 +0200 ++++ afflib-3.2.1/lib/afflib_i.h 2008-06-25 11:01:51.000000000 +0200 +@@ -340,7 +340,7 @@ typedef struct _AFFILE { + void *vnodeprivate; // private storage for the vnode + void (*error_reporter)(const char *fmt, ...); + struct af_crypto *crypto; +-} AFFILE; ++}; + + + diff --git a/afflib.spec b/afflib.spec index 57a6cc2..2c5923b 100644 --- a/afflib.spec +++ b/afflib.spec @@ -1,6 +1,6 @@ Name: afflib Version: 3.1.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library to support the Advanced Forensic Format Group: System Environment/Libraries @@ -10,6 +10,7 @@ Source0: http://www.afflib.org/downloads/afflib-%{version}.tar.gz Patch0: afflib-3.0.1-WCtype.patch Patch1: afflib-3.1.3-gcc43.patch Patch3: afflib-3.1.3-ldconfig.patch +Patch4: afflib-3.2.1-fix_namespace.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libtool @@ -126,6 +127,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Jun 25 2008 kwizart < kwizart at gmail.com > - 3.1.6-2 +- backport Fix redefinition of typedef AFFILE + * Tue Apr 15 2008 kwizart < kwizart at gmail.com > - 3.1.6-1 - Update to 3.1.6