[hfsutils] Append -DUSE_INTERP_RESULT to CFLAGS to work-around Tcl/Tk-8.6

corsepiu corsepiu at fedoraproject.org
Sun Jul 13 14:36:44 UTC 2014


commit e6f5a0da45af93c933f76ac59d285e70f86169be
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sun Jul 13 16:36:48 2014 +0200

    Append -DUSE_INTERP_RESULT to CFLAGS to work-around Tcl/Tk-8.6
    
      incompatibilities (FTBFS RHBZ #1106760).

 hfsutils.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/hfsutils.spec b/hfsutils.spec
index c722238..5a9ecdf 100644
--- a/hfsutils.spec
+++ b/hfsutils.spec
@@ -1,7 +1,7 @@
 Summary: Tools for reading and writing Macintosh HFS volumes
 Name: hfsutils
 Version: 3.2.6
-Release: 26%{?dist}
+Release: 27%{?dist}
 Group: Applications/File
 License: GPLv2+
 Source: ftp://ftp.mars.org/pub/hfs/%{name}-%{version}.tar.gz
@@ -46,6 +46,7 @@ hfsutils-devel package.
 %patch1 -p1
 
 %build
+CFLAGS="%{optflags} -DUSE_INTERP_RESULT"
 %{configure} --with-tcl=%{_libdir}  --with-tk=%{_libdir}
 make
 make hfsck/hfsck
@@ -123,6 +124,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/rsrc.h
 
 %changelog
+* Sun Jul 13 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.2.6-27
+- Append -DUSE_INTERP_RESULT to CFLAGS to work-around Tcl/Tk-8.6
+  incompatibilities (FTBFS RHBZ #1106760).
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.6-26
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list