Files
afflib/afflib-3.6.12-no-strict-aliasing.patch

12 lines
450 B
Diff
Raw Permalink Normal View History

- Updated to v3.7.0 * Per upstream: Changed license from BSD with advertising to BSD without advertising. * I still found lots of BSD 4-clause references in the source, so I left specfile license field as BSD 4-clause * ALL FILES: Audited for copyright. * COPYING: Clarified that Basis copyright only applies to * .gitignore: created file in preparation for move to github - upgrade to v3.6.15 * configure.ac: incorporated Greg Freemyer's patch to address some ncurses problems. * lib/utils.h: created virtual destructore * configure.ac: added AC_PROG_CXX * tools/affxml.cpp (main): removed unused bflag variable * lib/vnode_afd.cpp: max() is now always defined, even on windows. * lib/aftimer.h (aftimer::eta_time): added std:: before string * lib/utils.h: added virtual destructor for seginfo * lib/afflib_pages.cpp (af_get_pagesize): having af_page_size() as a macro was causing problems, so now there is both af_page_size and af_get_pagesize, both of which do the same. Please use af_get_pagesize. * aftimer.h (timestamp): updated aftimer for higher resolution on win32 * lib/afflib.cpp (af_get_pagesize): created af_get_pagesize, which for some reason was missing. * lib/afflib.h: added int af_get_pagesize(AFFILE *af); - use the %{__make} %{?_smp_mflags} macro in the specfile - Removed the ncurses patch. The issue was addressed in the ncurses package directly. - Add a patch to handle ncurses tinfo split introduced for 12.2 OBS-URL: https://build.opensuse.org/package/show/security:forensics/afflib?expand=0&rev=1
2014-09-15 15:09:04 +00:00
Index: afflib-3.6.12/pyaff/Makefile.am
===================================================================
--- afflib-3.6.12.orig/pyaff/Makefile.am
+++ afflib-3.6.12/pyaff/Makefile.am
@@ -9,5 +9,6 @@ pyexec_LTLIBRARIES = pyaff.la
pyaff_la_SOURCES = pyaff.c
pyaff_la_LIBADD = ../lib/libafflib.la
pyaff_la_CPPFLAGS = $(PYTHON_CPPFLAGS)
+pyaff_la_CFLAGS = -fno-strict-aliasing
pyaff_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
endif