Hello !
I'm planning to package afflib 3.0.1 for Fedora...
see
https://bugzilla.redhat.com/show_bug.cgi?id=389471
The problem I have for now is that no headers are installed (nor lib
but I've found how to deal with this..)
So iv'e just copied the lib/*.h into /usr/include/afflib
But this will not work when building sleukit as it complains that
#error PACKAGE_TARNAME not defined; config.h was not included
How can this be fixed properly ?
(I could remove theses line, but that will be a dirty hack)
See two patches used for now:
afflib-3.0.1-shared_lib.patch
-------------------
diff -up afflib-3.0.1/lib/Makefile.am.shared afflib-3.0.1/lib/
Makefile.am
--- afflib-3.0.1/lib/Makefile.am.shared 2007-11-18 15:27:40.000000000
+0100
+++ afflib-3.0.1/lib/Makefile.am 2007-11-18 15:29:24.000000000 +0100
@@ -35,7 +35,7 @@ LZMA_SOURCES = \
@top_srcdir@/lzma443/C/Common/Vector.cpp
-noinst_LTLIBRARIES =
libafflib.la
+lib_LTLIBRARIES =
libafflib.la
-------------------
afflib-3.0.1-WCtype.patch
-------------------
diff -up afflib-3.0.1/lib/vnode_ewf.cpp.WCtype afflib-3.0.1/lib/
vnode_ewf.cpp
--- afflib-3.0.1/lib/vnode_ewf.cpp.WCtype 2007-11-18
16:28:28.000000000 +0100
+++ afflib-3.0.1/lib/vnode_ewf.cpp 2007-11-18 16:29:15.000000000 +0100
@@ -196,11 +196,11 @@ static int ewf_get_seg(AFFILE *af,const
if(datalen) *datalen = 0;
return 0;
}
-#ifdef HAVE_WIDE_CHARACTER_TYPE
+//*#ifdef HAVE_WIDE_CHARACTER_TYPE
#define the_libewf_char_t wchar_t
-#else
+/*#else
#define the_libewf_char_t char
-#endif
+#endif */
if(strcmp(name,AF_CASE_NUM)==0){
if(data && datalen){
libewf_get_header_value_case_number(handle,(the_libewf_char_t
*)data,*datalen);
-------------------