Группа :: Игры/Прочее
Пакет: tintin++
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: alt-tintin++-pcre.patch
Скачать
Скачать
diff -ur tintin++-2.01.92.orig/src/configure tintin++-2.01.92/src/configure
--- tintin++-2.01.92.orig/src/configure 2019-11-24 16:29:15.061971980 -0600
+++ tintin++-2.01.92/src/configure 2019-11-24 16:35:34.823334228 -0600
@@ -3436,9 +3436,9 @@
done
-for ac_header in pcre.h
+for ac_header in pcre/pcre.h
do :
- ac_fn_c_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
+ ac_fn_c_check_header_mongrel "$LINENO" "pcre/pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
if test "x$ac_cv_header_pcre_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_PCRE_H 1
diff -ur tintin++-2.01.92.orig/src/configure.in tintin++-2.01.92/src/configure.in
--- tintin++-2.01.92.orig/src/configure.in 2019-11-24 16:29:15.061971980 -0600
+++ tintin++-2.01.92/src/configure.in 2019-11-24 16:31:22.625751065 -0600
@@ -69,7 +69,7 @@
AC_CHECK_HEADERS([arpa/inet.h ctype.h fcntl.h net/errno.h netdb.h netinet/in.h param.h pthread.h socks.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/ptem.h sys/socket.h sys/termio.h sys/time.h time.h unistd.h util.h pty.h stropts.h])
AC_CHECK_HEADERS([zlib.h],,
[AC_MSG_ERROR([zlib header file not found, is the development part present])])
-AC_CHECK_HEADERS([pcre.h],,
+AC_CHECK_HEADERS([pcre/pcre.h],,
[AC_MSG_ERROR([pcre header file not found, is the development part present])])
AC_CHECK_HEADERS([gnutls/gnutls.h],
[AC_DEFINE([HAVE_GNUTLS_H],,
diff -ur tintin++-2.01.92.orig/src/regex.c tintin++-2.01.92/src/regex.c
--- tintin++-2.01.92.orig/src/regex.c 2019-11-24 16:29:15.064670544 -0600
+++ tintin++-2.01.92/src/regex.c 2019-11-24 16:30:16.626991888 -0600
@@ -25,7 +25,7 @@
******************************************************************************/
#include <sys/types.h>
-#include <pcre.h>
+#include <pcre/pcre.h>
#include "tintin.h"
diff -ur tintin++-2.01.92.orig/src/tintin.h tintin++-2.01.92/src/tintin.h
--- tintin++-2.01.92.orig/src/tintin.h 2019-11-24 16:29:15.065570065 -0600
+++ tintin++-2.01.92/src/tintin.h 2019-11-24 16:30:04.719132189 -0600
@@ -33,7 +33,7 @@
#include <ctype.h>
#include <stdarg.h>
#include <termios.h>
-#include <pcre.h>
+#include <pcre/pcre.h>
#include <errno.h>
#include <math.h>
#include <stdbool.h>