From owner-svn-ports-head@freebsd.org Sat Aug 29 14:13:08 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1612A3B19E4; Sat, 29 Aug 2020 14:13:08 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bdz2W6qkSz4X7W; Sat, 29 Aug 2020 14:13:07 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CDF8326C74; Sat, 29 Aug 2020 14:13:07 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07TED72r073593; Sat, 29 Aug 2020 14:13:07 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07TED7vS073592; Sat, 29 Aug 2020 14:13:07 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <202008291413.07TED7vS073592@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Sat, 29 Aug 2020 14:13:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546916 - head/x11-wm/sawfish/files X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: head/x11-wm/sawfish/files X-SVN-Commit-Revision: 546916 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 14:13:08 -0000 Author: zeising Date: Sat Aug 29 14:13:07 2020 New Revision: 546916 URL: https://svnweb.freebsd.org/changeset/ports/546916 Log: x11-wm/sawfish: Fix build with -fno-common Add a patch from upstream to fix the build of x11-wm/sawfish with -fno-common, which is the default with llvm 11. MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum) Added: head/x11-wm/sawfish/files/ head/x11-wm/sawfish/files/patch-d4364707.c (contents, props changed) Added: head/x11-wm/sawfish/files/patch-d4364707.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-wm/sawfish/files/patch-d4364707.c Sat Aug 29 14:13:07 2020 (r546916) @@ -0,0 +1,88 @@ +diff --git a/src/flippers.c b/src/flippers.c +index c18efcf3..1b248e68 100644 +--- src/flippers.c ++++ src/flippers.c +@@ -22,10 +22,6 @@ + + static Window edge_left, edge_right, edge_top, edge_bottom; + +-DEFSYM(left, "left"); +-DEFSYM(right, "right"); +-DEFSYM(top, "top"); +-DEFSYM(bottom, "bottom"); + DEFSYM(enter_flipper_hook, "enter-flipper-hook"); + DEFSYM(leave_flipper_hook, "leave-flipper-hook"); + +@@ -155,10 +151,6 @@ flippers_init (void) + + rep_pop_structure (tem); + +- rep_INTERN (left); +- rep_INTERN (right); +- rep_INTERN (top); +- rep_INTERN (bottom); + rep_INTERN_SPECIAL (enter_flipper_hook); + rep_INTERN_SPECIAL (leave_flipper_hook); + Fset(Qenter_flipper_hook, Qnil); +diff --git a/src/functions.c b/src/functions.c +index ff797529..7b191151 100644 +--- src/functions.c ++++ src/functions.c +@@ -65,7 +65,6 @@ static int xinerama_heads; + # endif + #endif + +-DEFSYM(root, "root"); + DEFSYM(after_restacking_hook, "after-restacking-hook"); + DEFSYM(position, "position"); + DEFSYM(spacing, "spacing"); +@@ -1406,7 +1405,6 @@ functions_init (void) + rep_ADD_SUBR(Ssend_client_message); + rep_pop_structure (tem); + +- rep_INTERN(root); + rep_INTERN_SPECIAL(after_restacking_hook); + Fset(Qafter_restacking_hook, Qnil); + rep_INTERN(position); +diff --git a/src/sawfish_subrs.h b/src/sawfish_subrs.h +index 8b1e7a2c..e2256249 100644 +--- src/sawfish_subrs.h ++++ src/sawfish_subrs.h +@@ -79,7 +79,7 @@ extern void (*event_handlers[LASTEvent])(XEvent *ev); + extern Time last_event_time; + extern XEvent *current_x_event; + extern repv Qvisibility_notify_hook, Qdestroy_notify_hook, Qmap_notify_hook, +- Qunmap_notify_hook, Qreparent_notify_hook, Qenter_notify_hook, ++ Qunmap_notify_hook, Qreparent_notify_hook, Qenter_notify_hook, Qroot, + Qleave_notify_hook, Qfocus_in_hook, Qfocus_out_hook, Qclient_message_hook, + Qwindow_moved_hook, Qwindow_resized_hook, Qrandr_change_notify_hook; + extern repv Qiconify_window, Quniconify_window; +@@ -158,7 +158,7 @@ extern void frames_init (void); + extern void frames_kill (void); + + /* from functions.c */ +-extern repv Qroot, Qafter_restacking_hook, Qposition, Qspacing; ++extern repv Qafter_restacking_hook, Qposition, Qspacing; + extern repv Fdelete_window (repv win); + extern repv Fdestroy_window (repv win); + extern repv Frestack_windows (repv list); +diff --git a/src/windows.c b/src/windows.c +index eef835bd..c1cf652f 100644 +--- src/windows.c ++++ src/windows.c +@@ -75,7 +75,6 @@ DEFSYM(north_west, "north-west"); + DEFSYM(north, "north"); + DEFSYM(north_east, "north-east"); + DEFSYM(west, "west"); +-DEFSYM(center, "center"); + DEFSYM(east, "east"); + DEFSYM(south_west, "south-west"); + DEFSYM(south, "south"); +@@ -1845,7 +1844,6 @@ windows_init (void) + rep_INTERN(north); + rep_INTERN(north_east); + rep_INTERN(west); +- rep_INTERN(center); + rep_INTERN(east); + rep_INTERN(south_west); + rep_INTERN(south);