termux-packages/packages/fish/configure.patch

64 lines
2.0 KiB
Diff
Raw Normal View History

2015-07-13 08:54:11 +02:00
diff -u -r ../fish-2.2.0/configure.ac ./configure.ac
--- ../fish-2.2.0/configure.ac 2015-07-03 15:46:59.000000000 -0400
2015-07-16 14:57:15 +02:00
+++ ./configure.ac 2015-07-16 08:54:32.825023137 -0400
2015-07-13 08:54:11 +02:00
@@ -249,6 +249,7 @@
)
],
[glibc=yes],
+ [glibc=no],
[glibc=no]
)
@@ -319,14 +320,6 @@
#
-# See if Linux procfs is present. This is used to get extra
-# information about running processes.
-#
-
-AC_CHECK_FILES([/proc/self/stat])
-
-
-#
# This is ued to tell the wgetopt library to translate strings. This
# way wgetopt can be dropped into any project without requiring i18n.
#
@@ -350,8 +343,6 @@
# Check for os dependant libraries for all binaries.
AC_SEARCH_LIBS( connect, socket, , [AC_MSG_ERROR([Cannot find the socket library, needed to build this package.] )] )
-AC_SEARCH_LIBS( nanosleep, rt, , [AC_MSG_ERROR([Cannot find the rt library, needed to build this package.] )] )
-AC_SEARCH_LIBS( shm_open, rt, , [AC_MSG_ERROR([Cannot find the rt library, needed to build this package.] )] )
AC_SEARCH_LIBS( pthread_create, pthread, , [AC_MSG_ERROR([Cannot find the pthread library, needed to build this package.] )] )
AC_SEARCH_LIBS( setupterm, [ncurses tinfo curses], , [AC_MSG_ERROR([Could not find a curses implementation, needed to build fish. If this is Linux, try running 'sudo apt-get install libncurses5-dev' or 'sudo yum install ncurses-devel'])] )
AC_SEARCH_LIBS( [nan], [m], [AC_DEFINE( [HAVE_NAN], [1], [Define to 1 if you have the nan function])] )
2015-07-16 14:57:15 +02:00
@@ -503,6 +494,7 @@
#
# Detect nanoseconds fields in struct stat
#
+AC_CHECK_MEMBERS([struct stat.st_ctime_nsec])
AC_CHECK_MEMBERS([struct stat.st_mtimespec.tv_nsec])
AC_CHECK_MEMBERS([struct stat.st_mtim.tv_nsec])
@@ -559,7 +551,8 @@
2015-07-13 08:54:11 +02:00
)
],
[have_realpath_null=yes],
- [have_realpath_null=no]
+ [have_realpath_null=no],
+ [have_realpath_null=yes]
)
if test "$have_realpath_null" = yes; then
2015-07-16 14:57:15 +02:00
@@ -636,6 +629,9 @@
2015-07-13 08:54:11 +02:00
[
AC_MSG_RESULT([yes])
AC_DEFINE([HAVE_BROKEN_FWPRINTF], [1], [Define to 1 one if the implemented fwprintf is broken])
+ ],
+ [
+ AC_MSG_RESULT(no)
]
)
2015-06-13 01:03:31 +02:00