diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-07-05 10:30:22 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-07-05 10:30:22 +0000 |
commit | b8beb4b88a531ac0b92384aad6054e863a4519f0 (patch) | |
tree | 2679fa3ef31c1aeb019539e0ee32c5a7ed6818d8 /patches | |
parent | 4e9fa31217ad9af236c8856436f4e25f68987080 (diff) | |
download | midipix_build-b8beb4b88a531ac0b92384aad6054e863a4519f0.tar.bz2 midipix_build-b8beb4b88a531ac0b92384aad6054e863a4519f0.tar.xz |
vars/build.vars:native_packages: adds screen v4.6.2-854c367 (via Redfoxmoon.)
patches/screen-4.6.2-854c367.local.patch: via Redfoxmoon.
Diffstat (limited to 'patches')
-rw-r--r-- | patches/screen-4.6.2-854c367.local.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/screen-4.6.2-854c367.local.patch b/patches/screen-4.6.2-854c367.local.patch new file mode 100644 index 00000000..a733b0e6 --- /dev/null +++ b/patches/screen-4.6.2-854c367.local.patch @@ -0,0 +1,21 @@ +diff -ru screen-4.6.2-854c367.orig/Makefile.in screen-4.6.2-854c367/Makefile.in +--- screen-4.6.2-854c367.orig/Makefile.in 2019-07-05 11:55:51.818882542 +0200 ++++ screen-4.6.2-854c367/Makefile.in 2019-07-05 12:17:53.551869845 +0200 +@@ -32,7 +32,7 @@ + SCREENENCODINGS = $(datadir)/screen/utf8encodings + + CC = @CC@ +-CFLAGS = @CFLAGS@ -Wall -Wextra -std=c11 ++CFLAGS = @CFLAGS@ -Wall -Wextra -std=c99 + CPPFLAGS = @CPPFLAGS@ -iquote. -DSCREENENCODINGS='"$(SCREENENCODINGS)"' -DBUILD_DATE='"$(BUILD_DATE)"' + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ +@@ -80,7 +80,7 @@ + -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \ + then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi + $(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN) +- -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN) ++ -chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN) + # This doesn't work if $(bindir)/screen is a symlink + -if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi + rm -f $(DESTDIR)$(bindir)/screen |