Bug#475708: testdisk: Possible fix

2008-05-12 Thread Christophe GRENIER

Hi,

Here is a patch that should solve this problem.

Regards,
Christophe
--
   ,-~~-.___. ._.
  / |  ' \| ||   Christophe GRENIER
 (  ) 0   | | | [EMAIL PROTECTED]
  \_/-, ,'| | |
  !_!--v---v--
 /  \-'~;  ||   TestDisk  PhotoRec
/  __/~| ._-|||   Data Recovery
  =(  _|_||||   http://www.cgsecurity.orgdiff -ru testdisk-6.9/configure.ac testdisk-6.9-2/configure.ac
--- testdisk-6.9/configure.ac   2008-02-13 20:15:47.0 +0100
+++ testdisk-6.9-2/configure.ac 2008-04-14 17:38:49.0 +0200
@@ -209,7 +209,7 @@
 AC_HEADER_STDC
 #AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h stdint.h unistd.h])
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([byteswap.h curses.h cygwin/fs.h dal/file_dal.h dal/file.h 
dirent.h endian.h errno.h fcntl.h features.h giconv.h glob.h iconv.h libgen.h 
limits.h linux/fs.h linux/hdreg.h linux/types.h locale.h machine/endian.h 
ncurses.h ncurses/curses.h ncurses/ncurses.h ntfs/version.h openssl/md5.h 
openssl/opensslv.h scsi/scsi.h scsi/scsi_ioctl.h setjmp.h signal.h stdarg.h 
sys/cygwin.h sys/disk.h sys/disklabel.h sys/dkio.h sys/endian.h sys/ioctl.h 
sys/param.h sys/select.h sys/time.h sys/utsname.h sys/vtoc.h time.h windef.h 
varargs.h utime.h zlib.h])
+AC_CHECK_HEADERS([byteswap.h curses.h cygwin/fs.h dal/file_dal.h dal/file.h 
dirent.h endian.h errno.h fcntl.h features.h giconv.h glob.h iconv.h libgen.h 
limits.h linux/fs.h linux/hdreg.h linux/types.h locale.h machine/endian.h 
ncurses.h ncurses/curses.h ncurses/ncurses.h ncursesw/ncurses.h ntfs/version.h 
openssl/md5.h openssl/opensslv.h scsi/scsi.h scsi/scsi_ioctl.h setjmp.h 
signal.h stdarg.h sys/cygwin.h sys/disk.h sys/disklabel.h sys/dkio.h 
sys/endian.h sys/ioctl.h sys/param.h sys/select.h sys/time.h sys/utsname.h 
sys/vtoc.h time.h windef.h varargs.h utime.h zlib.h])
 
 #
 # Check for iconv support (for Unicode conversion).
diff -ru testdisk-6.9/src/intrfn.h testdisk-6.9-2/src/intrfn.h
--- testdisk-6.9/src/intrfn.h   2007-12-05 00:38:32.0 +0100
+++ testdisk-6.9-2/src/intrfn.h 2008-04-14 17:39:50.0 +0200
@@ -23,6 +23,8 @@
 #ifdef HAVE_NCURSES
 #ifdef HAVE_NCURSES_H
 #include ncurses.h
+#elif defined(HAVE_NCURSESW_NCURSES_H)
+#include ncursesw/ncurses.h
 #elif defined(HAVE_NCURSES_NCURSES_H)
 #include ncurses/ncurses.h
 #elif defined(HAVE_NCURSES_CURSES_H)


Bug#475708: testdisk: Possible fix

2008-05-11 Thread Andreas Metzler
Hello,
As discussed on irc on 2008-05-10 passing
--with-ncurses-includes=/usr/include/ncursesw
to ./configure lets testdisk build successfully.
cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]