Re: x11/xtacy fix (Re: updated -fno-common failure list, 3 Feb)

2021-02-04 Thread Stuart Henderson
On 2021/02/05 02:05, Yozo TODA wrote:
> > x11/xtacy
> 
> only two additional patches are needed to compile with -fno-common;
> patch-trippy_c and patch-trippy_h.

Thank you, committed

> -- yozo.

> $OpenBSD$
> 
> the definitions of "global" vars moved to trippy.c
> 
> Index: trippy.c
> --- trippy.c.orig
> +++ trippy.c
> @@ -65,6 +65,25 @@
>  
>  #define VERSION "1.14"
>  
> +/* ** global vars definition block starts ** */
> +Display *display;
> +Screen *scr;
> +int screen;
> +int nwindows, nvisible;
> +int *visible;
> +Window *window;
> +Colormap colmap; /* One map to bind them... */
> +unsigned int *CX, *CY, *M, *HC;
> +Colormap colmap;
> +
> +int numcolors;
> +int share_colors;
> +GC *color_gcs;
> +long** colors; /* [NCOLORS][3]; */
> +double SinTbl[32];
> +char *progname;
> +/* ** global vars definition block ends ** */
> +
>  struct foo options;
>  int *jj;
>  int startup=0;

> $OpenBSD$
> 
> the definitions of "global" vars moved to trippy.c
> 
> Index: trippy.h
> --- trippy.h.orig
> +++ trippy.h
> @@ -189,24 +189,24 @@ void exit_xload();
>  #define max(x,y) ((x>y)?x:y)
>  #define min(x,y) ((x  
> -Display *display;
> -Screen *scr;
> +extern Display *display;
> +extern Screen *scr;
>  
> -int screen;
> -int nwindows, nvisible;
> -int *visible;
> -Window *window;
> -Colormap colmap; /* One map to bind them... */
> -unsigned int *CX, *CY, *M, *HC;
> +extern int screen;
> +extern int nwindows, nvisible;
> +extern int *visible;
> +extern Window *window;
> +extern Colormap colmap; /* One map to bind them... */
> +extern unsigned int *CX, *CY, *M, *HC;
>  
> -int numcolors;
> -int share_colors;
> -GC *color_gcs;
> -long** colors; /* [NCOLORS][3]; */
> -double SinTbl[32];
> +extern int numcolors;
> +extern int share_colors;
> +extern GC *color_gcs;
> +extern long** colors; /* [NCOLORS][3]; */
> +extern double SinTbl[32];
>  extern Cursor mycursor ;
>  
> -char *progname;
> +extern char *progname;
>  
>  #if defined (__cplusplus) || defined (c_plusplus)
>  }



x11/xtacy fix (Re: updated -fno-common failure list, 3 Feb)

2021-02-04 Thread Yozo TODA
> x11/xtacy

only two additional patches are needed to compile with -fno-common;
patch-trippy_c and patch-trippy_h.

-- yozo.
$OpenBSD$

the definitions of "global" vars moved to trippy.c

Index: trippy.c
--- trippy.c.orig
+++ trippy.c
@@ -65,6 +65,25 @@
 
 #define VERSION "1.14"
 
+/* ** global vars definition block starts ** */
+Display *display;
+Screen *scr;
+int screen;
+int nwindows, nvisible;
+int *visible;
+Window *window;
+Colormap colmap; /* One map to bind them... */
+unsigned int *CX, *CY, *M, *HC;
+Colormap colmap;
+
+int numcolors;
+int share_colors;
+GC *color_gcs;
+long** colors; /* [NCOLORS][3]; */
+double SinTbl[32];
+char *progname;
+/* ** global vars definition block ends ** */
+
 struct foo options;
 int *jj;
 int startup=0;
$OpenBSD$

the definitions of "global" vars moved to trippy.c

Index: trippy.h
--- trippy.h.orig
+++ trippy.h
@@ -189,24 +189,24 @@ void exit_xload();
 #define max(x,y) ((x>y)?x:y)
 #define min(x,y) ((x

updated -fno-common failure list, 3 Feb

2021-02-03 Thread Stuart Henderson
These failed in an i386 ports build done with clang 10 patched to set
-fno-common by default. I included an initial boehm-gc patch to unblock
the ports hidden behind that. Ports with maintainers listed first.

x11/gcolor2 acam...@verlet.org
print/gtklp ajacou...@openbsd.org
sysutils/fprintdajacou...@openbsd.org
emulators/mupen64plus/rsp-cxd4  anth...@anjbe.name
games/heroesanth...@anjbe.name
net/epic4   a...@6v6.org
games/jumpnbump bcal...@openbsd.org
games/openjkbcal...@openbsd.org
math/pspp   bcal...@openbsd.org
net/gophernicus bcal...@openbsd.org
www/ugetbcal...@openbsd.org
security/lastpass-cli   b...@openbsd.org
net/ipv6-toolkitbl...@openbsd.org
cad/geda-gafe...@openbsd.org
games/angband   e...@openbsd.org
games/clonekeen e...@openbsd.org
games/nethack/3.6   es...@openbsd.org
japanese/Wnnes...@openbsd.org
japanese/canna  es...@openbsd.org
news/trnes...@openbsd.org
textproc/pinfo  es...@openbsd.org
security/fwknop feine...@logic.at
net/openmdnsgonz...@openbsd.org
comms/efax  i...@openbsd.org
devel/libowfat  j.klem...@wemelug.de
security/dirb   jas...@openbsd.org
cad/graywolfjus...@atlantide.mooo.com
sysutils/wmwlmonmar...@nazgul.ch
net/snort   markus.l...@gmx.de
net/tinyfugue   markus.l...@gmx.de
games/ooliten...@openbsd.org
net/tcpreplay   ni...@openbsd.org
security/p0fni...@openbsd.org
lang/moarvm pas...@stumpf.co
devel/mingw p...@irofti.net
security/ossec-hids p...@irofti.net
databases/pgpoolp...@openbsd.org
security/gringotts  p...@openbsd.org
net/sniproxyren...@allard.it
games/sdlpoprob...@openbsd.org
security/flasm  rpoin...@openbsd.org
games/prboom-plus   r...@slipgate.org
x11/gnustep/corebasesebas...@openbsd.org
x11/gnustep/gworkspace  sebas...@openbsd.org
x11/gnustep/terminalsebas...@openbsd.org
lang/snobol4st...@wb8wsf.org
net/argus   ste...@openbsd.org
net/argus-clients   ste...@openbsd.org
net/yersiniaste...@openbsd.org
inputmethods/cellwriter vas...@lxmx.com.au
net/oicbz...@openbsd.org

astro/wmglobe
astro/wmmoonclock
astro/wmspaceweather
astro/wmsun
audio/audacity
audio/gimmix
audio/gtkpod
audio/nspmod
audio/scmpc
audio/wmmp3
audio/wmtune
audio/xhippo
audio/ympd
comms/birda
comms/jpilot
comms/lcdproc
comms/minicom
comms/scmxx
comms/seyon
comms/xastir
comms/xdx
databases/citus
devel/arm-none-eabi/gdb
devel/avr32/binutils
devel/blame
devel/giggle
devel/libcoap
devel/remake
devel/ti-msp430gcc
editors/beaver
editors/hexcurse
editors/hnb
editors/tea
education/gamgi
emulators/advancemame
emulators/coldfire
emulators/fuse
emulators/libretro-genesis-plus-gx
emulators/pcsxr
emulators/simh
games/atomix
games/corewars
games/egoboo
games/freeblocks
games/freedroid
games/freedroidrpg
games/gnugo
games/gnurobbo
games/gnushogi
games/lincity
games/megaglest/base
games/mirrormagic
games/opentyrian
games/pacman-arena
games/prboom
games/sdlroids
games/spider
games/typespeed
games/vms-empire
games/wmtictactoe
games/xboard
games/xboing
games/xmj
geo/pgpointcloud
graphics/barcode
graphics/dpic
graphics/enjoympeg
graphics/gimp/liquid-rescale
graphics/ocaml-cairo
lang/arena
lang/erlang/19
lang/iverilog
lang/pcc
mail/avenger
mail/mboxgrep
mail/mlmmj
mail/sma
mail/wmmultipop3
mail/wmpop3
math/abs
math/foma
math/mcl
misc/brltty
misc/geekcode
misc/hfsplus
misc/logjam
misc/plan
misc/viz
misc/wmmand
multimedia/audiopreview
multimedia/avinfo
multimedia/lives
multimedia/minidlna
multimedia/swftools
net/angst
net/dico
net/ekg
net/ettercap
net/grsync
net/honeyd
net/iftop
net/jftpgw
net/msdl
net/netatalk
net/plushs
net/pmacct
net/quagga
net/weex
news/nn
print/cups-bjnp
productivity/glabels
productivity/siag
productivity/xinvest
productivity/xquote
security/aescrypt
security/bsd-airtools
security/foremost
security/hydra
security/ipguard
security/stegdetect
security/tempwatch
shells/nsh
sysutils/conky
sysutils/radmind
sysutils/wmcube
sysutils/wmmon
telephony/fobbit
telephony/kamailio
textproc/zoem
www/sarg
www/squidguard
www/www6to4
x11/agar/test
x11/asclock
x11/bricons
x11/compiz/plugins-main
x11/fbpanel
x11/gnome-mplayer
x11/golem
x11/i3-mousedrag
x11/oroborus
x11/piewm
x11/remmina
x11/rox-filer
x11/roxterm
x11/sawfish
x11/skippy
x11/tvtwm
x11/uwm
x11/wind
x11/wmii
x11/wminfo