midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/tmux-2.3.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
--- tmux-2.3/configure.orig	2016-09-29 22:55:41.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+++ tmux-2.3/configure	2016-12-18 02:04:56.608924500 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
@@ -3676,18 +3676,6 @@
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 $as_echo "$ac_cv_prog_cc_g" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 if test "$ac_test_CFLAGS" = set; then
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
   CFLAGS=$ac_save_CFLAGS
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-elif test $ac_cv_prog_cc_g = yes; then
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-  if test "$GCC" = yes; then
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-    CFLAGS="-g -O2"
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-  else
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-    CFLAGS="-g"
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-  fi
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-else
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-  if test "$GCC" = yes; then
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-    CFLAGS="-O2"
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-  else
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-    CFLAGS=
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-  fi
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
--- tmux-2.3/Makefile.in.orig	2016-09-29 22:55:41.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+++ tmux-2.3/Makefile.in	2016-12-18 02:05:27.700311700 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
@@ -94,10 +94,10 @@
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 # glibc as usual does things ass-backwards and hides useful things by default,
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 # so everyone has to add this.
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-@IS_GLIBC_TRUE@am__append_1 = -D_GNU_SOURCE
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
+am__append_1 = -D_GNU_SOURCE
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 # Set flags for gcc.
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
-@IS_GCC_TRUE@am__append_2 = -std=gnu99 -O2
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
+@IS_GCC_TRUE@am__append_2 = -std=gnu99
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 @IS_DEBUG_TRUE@@IS_GCC_TRUE@am__append_3 = -g -Wno-long-long -Wall -W \
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 @IS_DEBUG_TRUE@@IS_GCC_TRUE@	-Wformat=2 -Wmissing-prototypes \
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
 @IS_DEBUG_TRUE@@IS_GCC_TRUE@	-Wstrict-prototypes \
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
--- tmux-2.3/tmux.c.orig	2016-06-05 00:30:48.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
+++ tmux-2.3/tmux.c	2016-12-18 02:05:42.524589500 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) 09c779
@@ -129,10 +129,12 @@
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 		errno = ENOTDIR;
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 		goto fail;
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 	}
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
+#if 0
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 	if (sb.st_uid != uid || (sb.st_mode & S_IRWXO) != 0) {
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 		errno = EACCES;
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 		goto fail;
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 	}
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
+#endif
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 	if (realpath(base, resolved) == NULL)
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 		strlcpy(resolved, base, sizeof resolved);