midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/screen-4.6.2-854c367.local.patch

Lucio Andrés Illanes Albornoz b8beb4
diff -ru screen-4.6.2-854c367.orig/Makefile.in screen-4.6.2-854c367/Makefile.in
Lucio Andrés Illanes Albornoz b8beb4
--- screen-4.6.2-854c367.orig/Makefile.in	2019-07-05 11:55:51.818882542 +0200
Lucio Andrés Illanes Albornoz b8beb4
+++ screen-4.6.2-854c367/Makefile.in	2019-07-05 12:17:53.551869845 +0200
Lucio Andrés Illanes Albornoz b8beb4
@@ -32,7 +32,7 @@
Lucio Andrés Illanes Albornoz b8beb4
 SCREENENCODINGS = $(datadir)/screen/utf8encodings
Lucio Andrés Illanes Albornoz b8beb4
 
Lucio Andrés Illanes Albornoz b8beb4
 CC = @CC@
Lucio Andrés Illanes Albornoz b8beb4
-CFLAGS = @CFLAGS@ -Wall -Wextra -std=c11
Lucio Andrés Illanes Albornoz b8beb4
+CFLAGS = @CFLAGS@ -Wall -Wextra -std=c99
Lucio Andrés Illanes Albornoz b8beb4
 CPPFLAGS = @CPPFLAGS@ -iquote. -DSCREENENCODINGS='"$(SCREENENCODINGS)"' -DBUILD_DATE='"$(BUILD_DATE)"'
Lucio Andrés Illanes Albornoz b8beb4
 LDFLAGS = @LDFLAGS@
Lucio Andrés Illanes Albornoz b8beb4
 LIBS = @LIBS@
Lucio Andrés Illanes Albornoz b8beb4
@@ -80,7 +80,7 @@
Lucio Andrés Illanes Albornoz b8beb4
 	-if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
Lucio Andrés Illanes Albornoz b8beb4
 		then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi
Lucio Andrés Illanes Albornoz b8beb4
 	$(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
Lucio Andrés Illanes Albornoz b8beb4
-	-chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
Lucio Andrés Illanes Albornoz b8beb4
+	-chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
Lucio Andrés Illanes Albornoz b8beb4
 # This doesn't work if $(bindir)/screen is a symlink
Lucio Andrés Illanes Albornoz b8beb4
 	-if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi
Lucio Andrés Illanes Albornoz b8beb4
 	rm -f $(DESTDIR)$(bindir)/screen