midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame tmux-2.2.local.patch

Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
--- tmux-2.2/configure.orig	2016-04-11 02:01:19.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
+++ tmux-2.2/configure	2016-06-24 12:56:52.685289900 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
@@ -3664,18 +3664,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) d1fb57
--- tmux-2.2/Makefile.in.orig	2016-04-11 02:01:16.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
+++ tmux-2.2/Makefile.in	2016-06-24 12:58:45.526157800 +0200
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) d1fb57
 @IS_DEBUG_TRUE@@IS_GCC_TRUE@	-Wnested-externs -Wformat=2 \
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
 @IS_DEBUG_TRUE@@IS_GCC_TRUE@	-Wmissing-prototypes \
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
--- tmux-2.2/tmux.c.orig	2016-03-05 18:55:49.000000000 +0100
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
+++ tmux-2.2/tmux.c	2016-06-24 13:00:39.079504000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) d1fb57
@@ -133,10 +133,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);