diff options
author | Rene Ladan <rene@FreeBSD.org> | 2020-06-05 10:28:12 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2020-06-05 10:28:12 +0000 |
commit | 8cb005afb5df459540a99010aa54dc7fd0db8acd (patch) | |
tree | 2b4ba3372d35cdd7bcb6e151f7c7a15a7ca369f5 | |
parent | bf6ec8b7f75944e80a75e52a4a22691f0bcb1c80 (diff) | |
download | ports-8cb005afb5df459540a99010aa54dc7fd0db8acd.tar.gz ports-8cb005afb5df459540a99010aa54dc7fd0db8acd.zip |
Notes
223 files changed, 9 insertions, 5671 deletions
@@ -15062,3 +15062,12 @@ www/py-django-json-rpc||2020-06-03|Has expired: No longer maintained, not compat www/mediawiki132|www/mediawiki133|2020-06-03|Has expired: EOLed upstream devel/cargo-tree|lang/rust|2020-06-04|Integrated into cargo databases/rubygem-peek-mysql2-rails5||2020-06-05|Removed: not required by gitlab-ce anymore +audio/workman||2020-06-05|Has expired: Depends on expired x11-toolkits/xview +x11-toolkits/xview||2020-06-05|Has expired: 64-bit unsupported +math/p5-Algorithm-KMeans||2020-06-05|Has expired: Depends on expired math/p5-Math-GSL +math/p5-Math-GSL||2020-06-05|Has expired: Broken for more than 6 months +net/openbsc||2020-06-05|Has expired: Depends on expired devel/libosmo-netif +devel/libosmo-netif||2020-06-05|Has expired: Broken for more than 6 months +audio/xvmixer||2020-06-05|Has expired: Depends on expired x11-toolkits/xview +devel/libosmo-sccp||2020-06-05|Has expired: Depends on expired devel/libosmo-netif +audio/p5-Audio||2020-06-05|Has expired: Depends on expired math/p5-Math-GSL diff --git a/audio/Makefile b/audio/Makefile index b88cddfdbfdf..681de90e40a7 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -570,7 +570,6 @@ SUBDIR += osd-lyrics SUBDIR += osdmixer SUBDIR += oss - SUBDIR += p5-Audio SUBDIR += p5-Audio-CD SUBDIR += p5-Audio-Ecasound SUBDIR += p5-Audio-FLAC-Header @@ -848,7 +847,6 @@ SUBDIR += wmmp SUBDIR += wmrecord SUBDIR += wmsmixer - SUBDIR += workman SUBDIR += wxguitar SUBDIR += x42-plugins-lv2 SUBDIR += xanalyser @@ -868,7 +866,6 @@ SUBDIR += xmradio SUBDIR += xoscope SUBDIR += xsynth-dssi - SUBDIR += xvmixer SUBDIR += xwave SUBDIR += yell SUBDIR += ympd diff --git a/audio/p5-Audio/Makefile b/audio/p5-Audio/Makefile deleted file mode 100644 index 54a3fbf36d54..000000000000 --- a/audio/p5-Audio/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# Created by: Maxim Sobolev <sobomax@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= Audio -PORTVERSION= 1.029 -PORTREVISION= 4 -CATEGORIES= audio perl5 -MASTER_SITES= CPAN -PKGNAMEPREFIX= p5- - -MAINTAINER= perl@FreeBSD.org -COMMENT= Audio manipulation routines for perl - -LICENSE= GPLv2 GPLv3 -LICENSE_COMB= dual - -DEPRECATED= Depends on expired math/p5-Math-GSL -EXPIRATION_DATE=2020-06-05 - -BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-Math-GSL>=0:math/p5-Math-GSL - -USES= perl5 -USE_PERL5= configure - -.include <bsd.port.mk> diff --git a/audio/p5-Audio/distinfo b/audio/p5-Audio/distinfo deleted file mode 100644 index f4b58ff7c505..000000000000 --- a/audio/p5-Audio/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (Audio-1.029.tar.gz) = 6b4d79caba2d780ce3f10a8d364c840debb804dfe0cb56bfd53951c7370a41b1 -SIZE (Audio-1.029.tar.gz) = 88031 diff --git a/audio/p5-Audio/pkg-descr b/audio/p5-Audio/pkg-descr deleted file mode 100644 index cf793663e33f..000000000000 --- a/audio/p5-Audio/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -This is the beginnings of Audio manipulation routines for perl. - -Currently can load or save Sun/Next .au/.snd files and play them -via Network Audio Server (from ftp.x.org) or native /dev/audio -on Unices. - -WWW: https://metacpan.org/release/Audio diff --git a/audio/p5-Audio/pkg-plist b/audio/p5-Audio/pkg-plist deleted file mode 100644 index af370a668eb1..000000000000 --- a/audio/p5-Audio/pkg-plist +++ /dev/null @@ -1,33 +0,0 @@ -bin/dial -bin/morse -bin/pplay -bin/tkscope -%%SITE_ARCH%%/Audio/Audio.h -%%SITE_ARCH%%/Audio/Audio.m -%%SITE_ARCH%%/Audio/Audio.t -%%SITE_ARCH%%/Audio/Audio_f.h -%%SITE_ARCH%%/Audio/Data.pm -%%SITE_ARCH%%/Audio/Data/touchtone.0.au -%%SITE_ARCH%%/Audio/Data/touchtone.1.au -%%SITE_ARCH%%/Audio/Data/touchtone.2.au -%%SITE_ARCH%%/Audio/Data/touchtone.3.au -%%SITE_ARCH%%/Audio/Data/touchtone.4.au -%%SITE_ARCH%%/Audio/Data/touchtone.5.au -%%SITE_ARCH%%/Audio/Data/touchtone.6.au -%%SITE_ARCH%%/Audio/Data/touchtone.7.au -%%SITE_ARCH%%/Audio/Data/touchtone.8.au -%%SITE_ARCH%%/Audio/Data/touchtone.9.au -%%SITE_ARCH%%/Audio/Data/touchtone.pound.au -%%SITE_ARCH%%/Audio/Data/touchtone.star.au -%%SITE_ARCH%%/Audio/Filter.pm -%%SITE_ARCH%%/Audio/Play.pm -%%SITE_ARCH%%/Audio/Play/freebsd.pm -%%SITE_ARCH%%/Audio/typemap -%%SITE_ARCH%%/Tk/Scope.pm -%%SITE_ARCH%%/auto/Audio/Data/Data.so -%%SITE_ARCH%%/auto/Audio/Data/autosplit.ix -%%SITE_ARCH%%/auto/Audio/Data/solve_polynomial.al -%%SITE_ARCH%%/auto/Audio/Play/autosplit.ix -%%SITE_ARCH%%/auto/Audio/Play/freebsd/freebsd.so -%%PERL5_MAN3%%/Audio::Data.3.gz -%%PERL5_MAN3%%/Audio::Play.3.gz diff --git a/audio/workman/Makefile b/audio/workman/Makefile deleted file mode 100644 index 0127a7dd6c7c..000000000000 --- a/audio/workman/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -# Created by: Donald Burr <d_burr@ix.netcom.com> -# $FreeBSD$ - -PORTNAME= workman -PORTVERSION= 1.3a -PORTREVISION= 3 -CATEGORIES= audio -MASTER_SITES= XCONTRIB/applications/WorkMan -DISTNAME= WorkMan-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Open Look-based CD player tool - -DEPRECATED= Depends on expired x11-toolkits/xview -EXPIRATION_DATE=2020-06-05 - -LIB_DEPENDS= libxview.so:x11-toolkits/xview - -WRKSRC= ${WRKDIR}/workman -USES= imake xorg -USE_XORG= x11 xext -PLIST_FILES= bin/workman lib/help/workman.info man/man1/workman.1.gz man/man5/workmandb.5.gz - -.include <bsd.port.mk> diff --git a/audio/workman/distinfo b/audio/workman/distinfo deleted file mode 100644 index d751e1e383f7..000000000000 --- a/audio/workman/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (WorkMan-1.3a.tar.gz) = 2cfcd1252644fb0ae9b854cb8c3c8c8be373b639e92c58347089dbeeb3c23b9a -SIZE (WorkMan-1.3a.tar.gz) = 176490 diff --git a/audio/workman/files/patch-Imakefile b/audio/workman/files/patch-Imakefile deleted file mode 100644 index 2afc538c4ed3..000000000000 --- a/audio/workman/files/patch-Imakefile +++ /dev/null @@ -1,33 +0,0 @@ ---- Imakefile.orig 1995-06-05 00:10:44 UTC -+++ Imakefile -@@ -1,19 +1,19 @@ --/**/# @(#)Imakefile 1.16 04 Jun 1995 -+# @(#)Imakefile 1.16 04 Jun 1995 - --/**/# Set this to the manual section where you want to install workmandb.man -+# Set this to the manual section where you want to install workmandb.man - DBMANSECTION = 5 - --/**/# --/**/# Uncomment the following if you want fast database lookups using the --/**/# Berkeley libdb code. You can find libdb on ftp.cs.berkeley.edu in the --/**/# /ucb/4bsd directory. Make sure you adjust the last part of DBCFLAGS --/**/# to match your system type as listed in libdb's PORT directory. --/**/# -+# -+# Uncomment the following if you want fast database lookups using the -+# Berkeley libdb code. You can find libdb on ftp.cs.berkeley.edu in the -+# /ucb/4bsd directory. Make sure you adjust the last part of DBCFLAGS -+# to match your system type as listed in libdb's PORT directory. -+# - --/**/#DBCFLAGS = -DLIBDB -Idb.1.85/PORT/include -Idb.1.85/PORT/sunos.5.2 --/**/#DBLIB = db.1.85/PORT/sunos.5.2/libdb.a -+#DBCFLAGS = -DLIBDB -Idb.1.85/PORT/include -Idb.1.85/PORT/sunos.5.2 -+#DBLIB = db.1.85/PORT/sunos.5.2/libdb.a - --/**/# And you shouldn't need to touch anything below this. -+# And you shouldn't need to touch anything below this. - - - #include <XView.tmpl> diff --git a/audio/workman/files/patch-cdrom.c b/audio/workman/files/patch-cdrom.c deleted file mode 100644 index 801b462b5988..000000000000 --- a/audio/workman/files/patch-cdrom.c +++ /dev/null @@ -1,11 +0,0 @@ ---- cdrom.c.orig 1997-06-15 08:05:03 UTC -+++ cdrom.c -@@ -531,7 +531,7 @@ find_trkind(track, index, start) - int top = 0, bottom, current, interval, ret = 0, i; - - if (cur_cdmode == EJECTED || cd == NULL) -- return; -+ return (0); - - for (i = 0; i < cur_ntracks; i++) - if (cd->trk[i].track == track) diff --git a/audio/workman/files/patch-plat__freebsd.c b/audio/workman/files/patch-plat__freebsd.c deleted file mode 100644 index 8c90722618d0..000000000000 --- a/audio/workman/files/patch-plat__freebsd.c +++ /dev/null @@ -1,69 +0,0 @@ ---- plat_freebsd.c.orig 1995-02-20 17:29:55 UTC -+++ plat_freebsd.c -@@ -5,6 +5,9 @@ - * - * Todd Pfaff, 3/20/94 - * -+ * 11/26/95: Modified to work under FreeBSD 2.x -+ * by Donald Burr <d_burr@ix.netcom.com> -+ * - */ - static char *ident = "@(#)plat_freebsd.c 1.2 2/20/95"; - -@@ -22,21 +25,17 @@ static char *ident = "@(#)plat_freebsd.c - #include <string.h> - #include <sys/ioctl.h> - #include <sys/cdio.h> --#include <sys/scsiio.h> - #ifdef __NetBSD__ - #define MSF_MINUTES 1 - #define MSF_SECONDS 2 - #define MSF_FRAMES 3 - #include "/sys/scsi/scsi_all.h" - #include "/sys/scsi/scsi_cd.h" --#else --#include <scsi/scsi_all.h> --#include <scsi/scsi_cd.h> - #endif - - #include "struct.h" - --#define DEFAULT_CD_DEVICE "/dev/rcd0d" -+#define DEFAULT_CD_DEVICE "/dev/rcd0c" - - void *malloc(); - -@@ -163,7 +162,7 @@ gen_get_drive_status(d, oldmode, mode, p - } - - if (ioctl(d->fd, CDIOCREADSUBCHANNEL, &sc)) { --#ifdef __NetBSD__ -+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) - /* we need to release the device so the kernel will notice - reloaded media */ - (void) close(d->fd); -@@ -261,6 +260,9 @@ gen_set_volume(d, left, right) - - bzero((char *)&vol, sizeof(vol)); - -+#define LEFT_PORT 0 -+#define RIGHT_PORT 1 -+ - vol.vol[LEFT_PORT] = left; - vol.vol[RIGHT_PORT] = right; - -@@ -345,12 +347,12 @@ gen_eject(d) - if (fstatfs(stbuf.st_rdev, &buf) == 0) - return (-3); - --#ifdef __NetBSD__ -+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) - rval = ioctl(d->fd, CDIOCALLOW); - if (rval == 0) - #endif - rval = ioctl(d->fd, CDIOCEJECT); --#ifdef __NetBSD__ -+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) - if (rval == 0) - rval = ioctl(d->fd, CDIOCPREVENT); - #endif diff --git a/audio/workman/files/patch-workman.man b/audio/workman/files/patch-workman.man deleted file mode 100644 index 7df3be83c1a9..000000000000 --- a/audio/workman/files/patch-workman.man +++ /dev/null @@ -1,34 +0,0 @@ ---- workman.man.orig 1995-06-16 06:52:13 UTC -+++ workman.man -@@ -151,7 +151,7 @@ Exit automatically when the CD is ejecte - .TP - .I \-p file - Write the program's process ID to a different \fIfile\fP. By default, the --PID is written to "/tmp/.wm_pid" to allow signals to be sent more easily -+PID is written to "/var/run/workman.pid" to allow signals to be sent more easily - (see the SIGNALS section below.) - .TP - .I \-n -@@ -510,6 +510,7 @@ BSD/386 port by John T. Kohl <jtk@kolvir - SVR4 port by Baruch Cochavy <bcochavy@iil.intel.com>. - .LP - FreeBSD port by Todd Pfaff <todd@flex.eng.mcmaster.ca>. -+Modified to work under FreeBSD 2.x by Donald Burr <d_burr@ix.netcom.com>. - .LP - OSF/1 port by R.J. Edwards <rje@escact.ksc.nasa.gov>. - .LP ---- workman_stubs.c.orig 1997-06-11 18:14:01 UTC -+++ workman_stubs.c -@@ -58,7 +58,12 @@ void show_cdinfo(), - Panel_item quitbutton; - char *getenv(), *WMstrdup(); - -+#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) -+/* FreeBSD has a special directory for pidfiles, I guess. */ -+char *pidfile = "/var/run/workman.pid"; -+#else - char *pidfile = "/tmp/.wm_pid"; -+#endif - char * empty = ""; - extern char *cd_device; - diff --git a/audio/workman/files/patch-workman__stubs.c b/audio/workman/files/patch-workman__stubs.c deleted file mode 100644 index 7eb2a475dcf8..000000000000 --- a/audio/workman/files/patch-workman__stubs.c +++ /dev/null @@ -1,12 +0,0 @@ ---- workman_stubs.c.orig 1997-06-11 18:14:01 UTC -+++ workman_stubs.c -@@ -158,6 +158,9 @@ main(argc, argv) - "Workman.Db.Shared", dbfiles); - if (dbfiles) - dbfiles = WMstrdup(dbfiles); -+ name = getenv("MUSIC_CD"); -+ if (name) -+ cd_device = name; - - reverse_threshold = defaults_get_integer("workman.reverseThreshold", - "Workman.ReverseThreshold", reverse_threshold); diff --git a/audio/workman/pkg-descr b/audio/workman/pkg-descr deleted file mode 100644 index d38b3fe698df..000000000000 --- a/audio/workman/pkg-descr +++ /dev/null @@ -1,11 +0,0 @@ -[ From the WorkMan README ] - -WorkMan is a graphical tool for playing audio compact discs on a CD-ROM -drive. It has most of the features available on standalone CD players, -such as a shuffle mode, programmable playlists, and elapsed/remaining -timers. But it also has extra features, foremost of which is the ability -to store information about CDs in a database, then automatically extract -that information when the CD is inserted later. WorkMan stores the -artist's name, the disc title, the names of individual tracks, and even -remembers which tracks you don't want to hear! All in an easy-to-use, -attractive OPEN LOOK graphical interface. diff --git a/audio/xvmixer/Makefile b/audio/xvmixer/Makefile deleted file mode 100644 index 695bce93bfbc..000000000000 --- a/audio/xvmixer/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -# Created by: Serge Gagnon <gagnon__s@videotron.ca> -# $FreeBSD$ - -PORTNAME= xvmixer -PORTVERSION= 1.0 -PORTREVISION= 1 -CATEGORIES= audio -MASTER_SITES= http://ftp.auxio.org/pub/mirrors/step.polymtl.ca/pub/Xview/apps/xvmixer/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Open Look-based audio mixer - -DEPRECATED= Depends on expired x11-toolkits/xview -EXPIRATION_DATE=2020-06-05 - -LIB_DEPENDS= libxview.so:x11-toolkits/xview - -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include -DUSE_XBM_ICON" \ - LDFLAGS="-L${LOCALBASE}/lib" LIBRARIES="-lxview -lolgx -lX11" -PLIST_FILES= bin/xvmixer - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xvmixer ${STAGEDIR}${PREFIX}/bin - -.include <bsd.port.mk> diff --git a/audio/xvmixer/distinfo b/audio/xvmixer/distinfo deleted file mode 100644 index 554484752156..000000000000 --- a/audio/xvmixer/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (xvmixer-1.0.tar.gz) = aea5358f51901598be4e4f57c1b6cef7212cfda7f53ef86a4e7fa99fa8c7b23c -SIZE (xvmixer-1.0.tar.gz) = 10940 diff --git a/audio/xvmixer/pkg-descr b/audio/xvmixer/pkg-descr deleted file mode 100644 index f4d7f769c754..000000000000 --- a/audio/xvmixer/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Open Look-based audio mixer - -WWW: http://step.polymtl.ca/~coyote/xview_main.html diff --git a/devel/Makefile b/devel/Makefile index 7e63664715ab..1e680b8d6e69 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1251,8 +1251,6 @@ SUBDIR += liborcus SUBDIR += libosinfo SUBDIR += libosmo-abis - SUBDIR += libosmo-netif - SUBDIR += libosmo-sccp SUBDIR += libosmocore SUBDIR += libowfat SUBDIR += libpafe diff --git a/devel/libosmo-netif/Makefile b/devel/libosmo-netif/Makefile deleted file mode 100644 index 16bb7851f581..000000000000 --- a/devel/libosmo-netif/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# $FreeBSD$ - -PORTNAME= libosmo-netif -PORTVERSION= 0.6.0 -CATEGORIES= devel -MASTER_SITES= http://git.osmocom.org/libosmo-netif/snapshot/ \ - http://chaosophia.net/downloads/osmocom/${PORTNAME}/ - -MAINTAINER= koue@chaosophia.net -COMMENT= Library containing common/shared code regarding network interface - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2020-05-05 - -LIB_DEPENDS= libosmocore.so:devel/libosmocore \ - libosmoabis.so:devel/libosmo-abis \ - libtalloc.so:devel/talloc - -USES= autoreconf libtool pathfix pkgconfig -USE_LDCONFIG= yes - -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip -PORTDOCS= * - -OPTIONS_DEFINE= DOXYGEN DAHDI DOCS - -DOXYGEN_DESC= Build documentation -DAHDI_DESC= Build DAHDI input driver - -DOXYGEN_IMPLIES= DOCS -DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ - dot:graphics/graphviz -DOXYGEN_CONFIGURE_ENV_OFF=ac_cv_path_DOXYGEN=false - -DAHDI_BUILD_DEPENDS= ${LOCALBASE}/include/dahdi/user.h:misc/dahdi -DAHDI_CPPFLAGS= -I${LOCALBASE}/include - -post-patch: - ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version - @${REINPLACE_CMD} -e 's,__bswap_,__bswap,' \ - ${WRKSRC}/examples/rs232-write.c - -.include <bsd.port.mk> diff --git a/devel/libosmo-netif/distinfo b/devel/libosmo-netif/distinfo deleted file mode 100644 index 4462375f6991..000000000000 --- a/devel/libosmo-netif/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1570713869 -SHA256 (libosmo-netif-0.6.0.tar.gz) = d7bbf059b7d5afdc20beda6eb345c7ba5660020dfcd5a9c3f82a023c26407456 -SIZE (libosmo-netif-0.6.0.tar.gz) = 224027 diff --git a/devel/libosmo-netif/pkg-descr b/devel/libosmo-netif/pkg-descr deleted file mode 100644 index 310561cad2b9..000000000000 --- a/devel/libosmo-netif/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Library containing common/shared code regarding network interface. - -WWW: http://git.osmocom.org/libosmo-netif/ diff --git a/devel/libosmo-netif/pkg-plist b/devel/libosmo-netif/pkg-plist deleted file mode 100644 index 20adef8ca433..000000000000 --- a/devel/libosmo-netif/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -include/osmocom/netif/amr.h -include/osmocom/netif/datagram.h -include/osmocom/netif/ipa.h -include/osmocom/netif/ipa_unit.h -include/osmocom/netif/jibuf.h -include/osmocom/netif/osmux.h -include/osmocom/netif/rs232.h -include/osmocom/netif/rtp.h -include/osmocom/netif/stream.h -lib/libosmonetif.a -lib/libosmonetif.so -lib/libosmonetif.so.8 -lib/libosmonetif.so.8.0.0 -libdata/pkgconfig/libosmo-netif.pc diff --git a/devel/libosmo-sccp/Makefile b/devel/libosmo-sccp/Makefile deleted file mode 100644 index 0be2b5ef1fcc..000000000000 --- a/devel/libosmo-sccp/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# $FreeBSD$ - -PORTNAME= libosmo-sccp -PORTVERSION= 0.10.0 -CATEGORIES= devel -MASTER_SITES= http://git.osmocom.org/libosmo-sccp/snapshot/ \ - http://chaosophia.net/downloads/osmocom/${PORTNAME}/ - -MAINTAINER= koue@chaosophia.net -COMMENT= SCCP network layer protocol implementation - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -DEPRECATED= Depends on expired devel/libosmo-netif -EXPIRATION_DATE=2020-06-05 - -LIB_DEPENDS= libosmocore.so:devel/libosmocore \ - libosmonetif.so:devel/libosmo-netif \ - libtalloc.so:devel/talloc - -CONFLICTS_INSTALL=libmtp-[0-9]* # lib/libmtp.a - -USES= autoreconf libtool pathfix pkgconfig -GNU_CONFIGURE= yes - -OPTIONS_DEFINE= DOCS - -post-patch: - ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so - -.include <bsd.port.mk> diff --git a/devel/libosmo-sccp/distinfo b/devel/libosmo-sccp/distinfo deleted file mode 100644 index 71b835a44fa8..000000000000 --- a/devel/libosmo-sccp/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1535367819 -SHA256 (libosmo-sccp-0.10.0.tar.gz) = 5bd03b1c7ac0f85286ad977ad7b88191c1957610ead4f174c4cf7bdcbdc4bdf7 -SIZE (libosmo-sccp-0.10.0.tar.gz) = 244431 diff --git a/devel/libosmo-sccp/pkg-descr b/devel/libosmo-sccp/pkg-descr deleted file mode 100644 index af43d35647ae..000000000000 --- a/devel/libosmo-sccp/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -The Signalling Connection Control Part (SCCP) is a network layer -protocol that provides extended routing, flow control, segmentation, -connection-orientation, and error correction facilities in -Signaling System 7 telecommunications networks. SCCP relies on the -services of MTP for basic routing and error detection. -Libosmo-sccp is SCCP protocol implementation for Osmocom projects. - -WWW: http://git.osmocom.org/libosmo-sccp/ diff --git a/devel/libosmo-sccp/pkg-plist b/devel/libosmo-sccp/pkg-plist deleted file mode 100644 index abb273692986..000000000000 --- a/devel/libosmo-sccp/pkg-plist +++ /dev/null @@ -1,28 +0,0 @@ -bin/osmo-stp -include/osmocom/sccp/sccp_types.h -include/osmocom/sccp/sccp.h -include/osmocom/mtp/mtp_level3.h -include/osmocom/mtp/mtp_pcap.h -include/osmocom/sigtran/m2ua_types.h -include/osmocom/sigtran/mtp_sap.h -include/osmocom/sigtran/osmo_ss7.h -include/osmocom/sigtran/xua_msg.h -include/osmocom/sigtran/xua_types.h -include/osmocom/sigtran/protocol/m3ua.h -include/osmocom/sigtran/protocol/mtp.h -include/osmocom/sigtran/protocol/sua.h -include/osmocom/sigtran/sccp_helpers.h -include/osmocom/sigtran/sccp_sap.h -include/osmocom/sigtran/sigtran_sap.h -lib/libmtp.a -lib/libosmo-sigtran.a -lib/libosmo-sigtran.so -lib/libosmo-sigtran.so.0 -lib/libosmo-sigtran.so.0.2.0 -lib/libsccp.a -lib/libxua.a -libdata/pkgconfig/libosmo-mtp.pc -libdata/pkgconfig/libosmo-sccp.pc -libdata/pkgconfig/libosmo-sigtran.pc -libdata/pkgconfig/libosmo-xua.pc -%%PORTDOCS%%%%DOCSDIR%%/examples/osmo-stp/osmo-stp.cfg diff --git a/math/Makefile b/math/Makefile index 58cf001ae959..6b2e31bef229 100644 --- a/math/Makefile +++ b/math/Makefile @@ -529,7 +529,6 @@ SUBDIR += p5-AI-Perceptron SUBDIR += p5-Algorithm-Combinatorics SUBDIR += p5-Algorithm-CurveFit - SUBDIR += p5-Algorithm-KMeans SUBDIR += p5-Algorithm-Munkres SUBDIR += p5-Bit-ShiftReg SUBDIR += p5-Bit-Vector @@ -575,7 +574,6 @@ SUBDIR += p5-Math-GMPf SUBDIR += p5-Math-GMPq SUBDIR += p5-Math-GMPz - SUBDIR += p5-Math-GSL SUBDIR += p5-Math-Geometry SUBDIR += p5-Math-Geometry-Planar SUBDIR += p5-Math-Geometry-Planar-GPC diff --git a/math/p5-Algorithm-KMeans/Makefile b/math/p5-Algorithm-KMeans/Makefile deleted file mode 100644 index 30270ce8ec08..000000000000 --- a/math/p5-Algorithm-KMeans/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# $FreeBSD$ - -PORTNAME= Algorithm-KMeans -PORTVERSION= 2.05 -PORTREVISION= 1 -CATEGORIES= math perl5 -MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= CPAN:AVIKAK -PKGNAMEPREFIX= p5- - -MAINTAINER= perl@FreeBSD.org -COMMENT= Clustering multi-dimensional data with a pure-Perl implementation - -LICENSE= ART10 GPLv1+ -LICENSE_COMB= dual - -DEPRECATED= Depends on expired math/p5-Math-GSL -EXPIRATION_DATE=2020-06-05 - -BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-Graphics-GnuplotIF>=1.4:graphics/p5-Graphics-GnuplotIF \ - p5-Math-GSL>=0.26:math/p5-Math-GSL \ - p5-Math-Random>=0.71:math/p5-Math-Random - -USES= perl5 -USE_PERL5= configure - -.include <bsd.port.mk> diff --git a/math/p5-Algorithm-KMeans/distinfo b/math/p5-Algorithm-KMeans/distinfo deleted file mode 100644 index f190e02b934e..000000000000 --- a/math/p5-Algorithm-KMeans/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (Algorithm-KMeans-2.05.tar.gz) = a1d07298d499b9b4e2cd93f1bbd9289814ab461e69ecc35c796e495fe9b5a9a8 -SIZE (Algorithm-KMeans-2.05.tar.gz) = 57703 diff --git a/math/p5-Algorithm-KMeans/pkg-descr b/math/p5-Algorithm-KMeans/pkg-descr deleted file mode 100644 index 049da2ad01ae..000000000000 --- a/math/p5-Algorithm-KMeans/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -Algorithm::KMeans is a perl5 module for the clustering of numerical data -in multidimensional spaces. Since the module is entirely in Perl (in the -sense that it is not a Perl wrapper around a C library that actually does -the clustering), the code in the module can easily be modified to experiment -with several aspects of automatic clustering. For example, one can change -the criterion used to measure the "distance" between two data points, the -stopping condition for accepting final clusters, the criterion used for -measuring the quality of the clustering achieved, etc. - -WWW: https://metacpan.org/release/Algorithm-KMeans diff --git a/math/p5-Algorithm-KMeans/pkg-plist b/math/p5-Algorithm-KMeans/pkg-plist deleted file mode 100644 index 14c34037e692..000000000000 --- a/math/p5-Algorithm-KMeans/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -%%SITE_PERL%%/Algorithm/KMeans.pm -%%PERL5_MAN3%%/Algorithm::KMeans.3.gz diff --git a/math/p5-Math-GSL/Makefile b/math/p5-Math-GSL/Makefile deleted file mode 100644 index ec6f2797ae2f..000000000000 --- a/math/p5-Math-GSL/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# Created by: Maxim Sobolev <sobomax@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= Math-GSL -PORTVERSION= 0.40 -PORTREVISION= 1 -CATEGORIES= math perl5 -MASTER_SITES= CPAN -PKGNAMEPREFIX= p5- - -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Perl interface to GNU Scientific Library - -LICENSE= ART10 GPLv1+ -LICENSE_COMB= dual - -BUILD_DEPENDS= p5-PkgConfig>=0.07720:devel/p5-PkgConfig -LIB_DEPENDS= libgsl.so:math/gsl -TEST_DEPENDS= p5-Test-Class>=0.12:devel/p5-Test-Class \ - p5-Test-Exception>=0.21:devel/p5-Test-Exception \ - p5-Test-Most>=0.31:devel/p5-Test-Most \ - p5-Test-Taint>=1.06:devel/p5-Test-Taint - -USES= perl5 -USE_PERL5= modbuild - -BROKEN= Does not work with gsl-2.6 -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2020-05-05 - -post-install: - ${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Math/GSL/ -name "*.so" -exec ${STRIP_CMD} {} + - -.include <bsd.port.mk> diff --git a/math/p5-Math-GSL/distinfo b/math/p5-Math-GSL/distinfo deleted file mode 100644 index 04f22b7b18d5..000000000000 --- a/math/p5-Math-GSL/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1546258224 -SHA256 (Math-GSL-0.40.tar.gz) = 7a47c488d327b3d375cc8247609a2360b7a3331474f1c72067742197fba96e6c -SIZE (Math-GSL-0.40.tar.gz) = 18647464 diff --git a/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm b/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm deleted file mode 100644 index 39fa1a44e90b..000000000000 --- a/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm +++ /dev/null @@ -1,20 +0,0 @@ ---- inc/GSLBuilder.pm.orig 2018-12-10 17:11:25 UTC -+++ inc/GSLBuilder.pm -@@ -262,7 +262,7 @@ sub link_c { - } - } - -- my @lddlflags = $self->split_like_shell($cf->{lddlflags}); -+ my @lddlflags = $self->split_like_shell($Config{lddlflags}); - my @shrp = $self->split_like_shell($cf->{shrpenv}); - my @ld = $self->split_like_shell($cf->{ld} || $Config{cc}); - -@@ -294,7 +294,7 @@ sub compile_c { - - $cf->{installarchlib} = $Config{archlib}; - -- my @include_dirs = @{$p->{include_dirs}} -+ my @include_dirs = ( @{$p->{include_dirs}} && ( ${@{$p->{include_dirs}}}[0] ne "" ) ) - ? map {"-I$_"} (@{$p->{include_dirs}}, catdir($cf->{installarchlib}, 'CORE')) - : map {"-I$_"} ( catdir($cf->{installarchlib}, 'CORE') ) ; - diff --git a/math/p5-Math-GSL/pkg-descr b/math/p5-Math-GSL/pkg-descr deleted file mode 100644 index 8683fe3d5f6e..000000000000 --- a/math/p5-Math-GSL/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -This is a very resticted perl interface to GNU Scientific Library. -The GSL is itself distributed under GPL and is available from: - -Only the routines relating the solving of polynomials are exported. -It exists to provide that function to "tkscope" in Audio::Data. - -WWW: https://metacpan.org/release/Math-GSL diff --git a/math/p5-Math-GSL/pkg-plist b/math/p5-Math-GSL/pkg-plist deleted file mode 100644 index e9ab8b4aa793..000000000000 --- a/math/p5-Math-GSL/pkg-plist +++ /dev/null @@ -1,168 +0,0 @@ -%%SITE_ARCH%%/Math/GSL.pm -%%SITE_ARCH%%/Math/GSL/BLAS.pm -%%SITE_ARCH%%/Math/GSL/BSpline.pm -%%SITE_ARCH%%/Math/GSL/CBLAS.pm -%%SITE_ARCH%%/Math/GSL/CDF.pm -%%SITE_ARCH%%/Math/GSL/Chebyshev.pm -%%SITE_ARCH%%/Math/GSL/Combination.pm -%%SITE_ARCH%%/Math/GSL/Complex.pm -%%SITE_ARCH%%/Math/GSL/Const.pm -%%SITE_ARCH%%/Math/GSL/DHT.pm -%%SITE_ARCH%%/Math/GSL/Deriv.pm -%%SITE_ARCH%%/Math/GSL/Diff.pm -%%SITE_ARCH%%/Math/GSL/Eigen.pm -%%SITE_ARCH%%/Math/GSL/Errno.pm -%%SITE_ARCH%%/Math/GSL/FFT.pm -%%SITE_ARCH%%/Math/GSL/Fit.pm -%%SITE_ARCH%%/Math/GSL/Heapsort.pm -%%SITE_ARCH%%/Math/GSL/Histogram.pm -%%SITE_ARCH%%/Math/GSL/Histogram2D.pm -%%SITE_ARCH%%/Math/GSL/IEEEUtils.pm -%%SITE_ARCH%%/Math/GSL/Integration.pm -%%SITE_ARCH%%/Math/GSL/Interp.pm -%%SITE_ARCH%%/Math/GSL/Linalg.pm -%%SITE_ARCH%%/Math/GSL/Machine.pm -%%SITE_ARCH%%/Math/GSL/Matrix.pm -%%SITE_ARCH%%/Math/GSL/MatrixComplex.pm -%%SITE_ARCH%%/Math/GSL/Min.pm -%%SITE_ARCH%%/Math/GSL/Monte.pm -%%SITE_ARCH%%/Math/GSL/Multifit.pm -%%SITE_ARCH%%/Math/GSL/Multilarge.pm -%%SITE_ARCH%%/Math/GSL/Multimin.pm -%%SITE_ARCH%%/Math/GSL/Multiroots.pm -%%SITE_ARCH%%/Math/GSL/Multiset.pm -%%SITE_ARCH%%/Math/GSL/NTuple.pm -%%SITE_ARCH%%/Math/GSL/ODEIV.pm -%%SITE_ARCH%%/Math/GSL/Permutation.pm -%%SITE_ARCH%%/Math/GSL/Poly.pm -%%SITE_ARCH%%/Math/GSL/PowInt.pm -%%SITE_ARCH%%/Math/GSL/QRNG.pm -%%SITE_ARCH%%/Math/GSL/RNG.pm -%%SITE_ARCH%%/Math/GSL/Randist.pm -%%SITE_ARCH%%/Math/GSL/Roots.pm -%%SITE_ARCH%%/Math/GSL/Rstat.pm -%%SITE_ARCH%%/Math/GSL/SF.pm -%%SITE_ARCH%%/Math/GSL/Siman.pm -%%SITE_ARCH%%/Math/GSL/Sort.pm -%%SITE_ARCH%%/Math/GSL/SparseMatrix.pm -%%SITE_ARCH%%/Math/GSL/Spline.pm -%%SITE_ARCH%%/Math/GSL/Statistics.pm -%%SITE_ARCH%%/Math/GSL/Sum.pm -%%SITE_ARCH%%/Math/GSL/Sys.pm -%%SITE_ARCH%%/Math/GSL/Test.pm -%%SITE_ARCH%%/Math/GSL/Vector.pm -%%SITE_ARCH%%/Math/GSL/VectorComplex.pm -%%SITE_ARCH%%/Math/GSL/Version.pm -%%SITE_ARCH%%/Math/GSL/Wavelet.pm -%%SITE_ARCH%%/Math/GSL/Wavelet2D.pm -%%SITE_ARCH%%/auto/Math/GSL/BLAS/BLAS.so -%%SITE_ARCH%%/auto/Math/GSL/BSpline/BSpline.so -%%SITE_ARCH%%/auto/Math/GSL/CBLAS/CBLAS.so -%%SITE_ARCH%%/auto/Math/GSL/CDF/CDF.so -%%SITE_ARCH%%/auto/Math/GSL/Chebyshev/Chebyshev.so -%%SITE_ARCH%%/auto/Math/GSL/Combination/Combination.so -%%SITE_ARCH%%/auto/Math/GSL/Complex/Complex.so -%%SITE_ARCH%%/auto/Math/GSL/Const/Const.so -%%SITE_ARCH%%/auto/Math/GSL/DHT/DHT.so -%%SITE_ARCH%%/auto/Math/GSL/Deriv/Deriv.so -%%SITE_ARCH%%/auto/Math/GSL/Diff/Diff.so -%%SITE_ARCH%%/auto/Math/GSL/Eigen/Eigen.so -%%SITE_ARCH%%/auto/Math/GSL/Errno/Errno.so -%%SITE_ARCH%%/auto/Math/GSL/FFT/FFT.so -%%SITE_ARCH%%/auto/Math/GSL/Fit/Fit.so -%%SITE_ARCH%%/auto/Math/GSL/Heapsort/Heapsort.so -%%SITE_ARCH%%/auto/Math/GSL/Histogram/Histogram.so -%%SITE_ARCH%%/auto/Math/GSL/Histogram2D/Histogram2D.so -%%SITE_ARCH%%/auto/Math/GSL/IEEEUtils/IEEEUtils.so -%%SITE_ARCH%%/auto/Math/GSL/Integration/Integration.so -%%SITE_ARCH%%/auto/Math/GSL/Interp/Interp.so -%%SITE_ARCH%%/auto/Math/GSL/Linalg/Linalg.so -%%SITE_ARCH%%/auto/Math/GSL/Machine/Machine.so -%%SITE_ARCH%%/auto/Math/GSL/Matrix/Matrix.so -%%SITE_ARCH%%/auto/Math/GSL/MatrixComplex/MatrixComplex.so -%%SITE_ARCH%%/auto/Math/GSL/Min/Min.so -%%SITE_ARCH%%/auto/Math/GSL/Monte/Monte.so -%%SITE_ARCH%%/auto/Math/GSL/Multifit/Multifit.so -%%SITE_ARCH%%/auto/Math/GSL/Multilarge/Multilarge.so -%%SITE_ARCH%%/auto/Math/GSL/Multimin/Multimin.so -%%SITE_ARCH%%/auto/Math/GSL/Multiroots/Multiroots.so -%%SITE_ARCH%%/auto/Math/GSL/Multiset/Multiset.so -%%SITE_ARCH%%/auto/Math/GSL/NTuple/NTuple.so -%%SITE_ARCH%%/auto/Math/GSL/ODEIV/ODEIV.so -%%SITE_ARCH%%/auto/Math/GSL/Permutation/Permutation.so -%%SITE_ARCH%%/auto/Math/GSL/Poly/Poly.so -%%SITE_ARCH%%/auto/Math/GSL/PowInt/PowInt.so -%%SITE_ARCH%%/auto/Math/GSL/QRNG/QRNG.so -%%SITE_ARCH%%/auto/Math/GSL/RNG/RNG.so -%%SITE_ARCH%%/auto/Math/GSL/Randist/Randist.so -%%SITE_ARCH%%/auto/Math/GSL/Roots/Roots.so -%%SITE_ARCH%%/auto/Math/GSL/Rstat/Rstat.so -%%SITE_ARCH%%/auto/Math/GSL/SF/SF.so -%%SITE_ARCH%%/auto/Math/GSL/Siman/Siman.so -%%SITE_ARCH%%/auto/Math/GSL/Sort/Sort.so -%%SITE_ARCH%%/auto/Math/GSL/SparseMatrix/SparseMatrix.so -%%SITE_ARCH%%/auto/Math/GSL/Spline/Spline.so -%%SITE_ARCH%%/auto/Math/GSL/Statistics/Statistics.so -%%SITE_ARCH%%/auto/Math/GSL/Sum/Sum.so -%%SITE_ARCH%%/auto/Math/GSL/Sys/Sys.so -%%SITE_ARCH%%/auto/Math/GSL/Vector/Vector.so -%%SITE_ARCH%%/auto/Math/GSL/VectorComplex/VectorComplex.so -%%SITE_ARCH%%/auto/Math/GSL/Version/Version.so -%%SITE_ARCH%%/auto/Math/GSL/Wavelet/Wavelet.so -%%SITE_ARCH%%/auto/Math/GSL/Wavelet2D/Wavelet2D.so -%%PERL5_MAN3%%/Math::GSL.3.gz -%%PERL5_MAN3%%/Math::GSL::BLAS.3.gz -%%PERL5_MAN3%%/Math::GSL::BSpline.3.gz -%%PERL5_MAN3%%/Math::GSL::CBLAS.3.gz -%%PERL5_MAN3%%/Math::GSL::CDF.3.gz -%%PERL5_MAN3%%/Math::GSL::Chebyshev.3.gz -%%PERL5_MAN3%%/Math::GSL::Combination.3.gz -%%PERL5_MAN3%%/Math::GSL::Complex.3.gz -%%PERL5_MAN3%%/Math::GSL::Const.3.gz -%%PERL5_MAN3%%/Math::GSL::DHT.3.gz -%%PERL5_MAN3%%/Math::GSL::Deriv.3.gz -%%PERL5_MAN3%%/Math::GSL::Diff.3.gz -%%PERL5_MAN3%%/Math::GSL::Eigen.3.gz -%%PERL5_MAN3%%/Math::GSL::Errno.3.gz -%%PERL5_MAN3%%/Math::GSL::FFT.3.gz -%%PERL5_MAN3%%/Math::GSL::Fit.3.gz -%%PERL5_MAN3%%/Math::GSL::Heapsort.3.gz -%%PERL5_MAN3%%/Math::GSL::Histogram.3.gz -%%PERL5_MAN3%%/Math::GSL::Histogram2D.3.gz -%%PERL5_MAN3%%/Math::GSL::IEEEUtils.3.gz -%%PERL5_MAN3%%/Math::GSL::Integration.3.gz -%%PERL5_MAN3%%/Math::GSL::Interp.3.gz -%%PERL5_MAN3%%/Math::GSL::Linalg.3.gz -%%PERL5_MAN3%%/Math::GSL::Machine.3.gz -%%PERL5_MAN3%%/Math::GSL::Matrix.3.gz -%%PERL5_MAN3%%/Math::GSL::MatrixComplex.3.gz -%%PERL5_MAN3%%/Math::GSL::Min.3.gz -%%PERL5_MAN3%%/Math::GSL::Monte.3.gz -%%PERL5_MAN3%%/Math::GSL::Multifit.3.gz -%%PERL5_MAN3%%/Math::GSL::Multilarge.3.gz -%%PERL5_MAN3%%/Math::GSL::Multimin.3.gz -%%PERL5_MAN3%%/Math::GSL::Multiroots.3.gz -%%PERL5_MAN3%%/Math::GSL::Multiset.3.gz -%%PERL5_MAN3%%/Math::GSL::NTuple.3.gz -%%PERL5_MAN3%%/Math::GSL::ODEIV.3.gz -%%PERL5_MAN3%%/Math::GSL::Permutation.3.gz -%%PERL5_MAN3%%/Math::GSL::Poly.3.gz -%%PERL5_MAN3%%/Math::GSL::PowInt.3.gz -%%PERL5_MAN3%%/Math::GSL::QRNG.3.gz -%%PERL5_MAN3%%/Math::GSL::RNG.3.gz -%%PERL5_MAN3%%/Math::GSL::Randist.3.gz -%%PERL5_MAN3%%/Math::GSL::Roots.3.gz -%%PERL5_MAN3%%/Math::GSL::Rstat.3.gz -%%PERL5_MAN3%%/Math::GSL::SF.3.gz -%%PERL5_MAN3%%/Math::GSL::Siman.3.gz -%%PERL5_MAN3%%/Math::GSL::Sort.3.gz -%%PERL5_MAN3%%/Math::GSL::SparseMatrix.3.gz -%%PERL5_MAN3%%/Math::GSL::Spline.3.gz -%%PERL5_MAN3%%/Math::GSL::Statistics.3.gz -%%PERL5_MAN3%%/Math::GSL::Sum.3.gz -%%PERL5_MAN3%%/Math::GSL::Sys.3.gz -%%PERL5_MAN3%%/Math::GSL::Test.3.gz -%%PERL5_MAN3%%/Math::GSL::Vector.3.gz -%%PERL5_MAN3%%/Math::GSL::VectorComplex.3.gz -%%PERL5_MAN3%%/Math::GSL::Wavelet.3.gz -%%PERL5_MAN3%%/Math::GSL::Wavelet2D.3.gz diff --git a/net/Makefile b/net/Makefile index 4d220db0fc39..e65253129db3 100644 --- a/net/Makefile +++ b/net/Makefile @@ -534,7 +534,6 @@ SUBDIR += open-isns SUBDIR += openbgpd SUBDIR += openbgpd6 - SUBDIR += openbsc SUBDIR += openggsn SUBDIR += openldap24-client SUBDIR += openldap24-sasl-client diff --git a/net/openbsc/Makefile b/net/openbsc/Makefile deleted file mode 100644 index 18c5287a6d54..000000000000 --- a/net/openbsc/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -# $FreeBSD$ - -PORTNAME= openbsc -PORTVERSION= 0.15.0 -PORTREVISION= 7 -CATEGORIES= net -MASTER_SITES= http://git.osmocom.org/${PORTNAME}/snapshot/ \ - http://chaosophia.net/downloads/osmocom/${PORTNAME}/ - -MAINTAINER= koue@chaosophia.net -COMMENT= GSM network in a box software - -LICENSE= GPLv3 - -DEPRECATED= Depends on expired devel/libosmo-netif -EXPIRATION_DATE=2020-06-05 - -LIB_DEPENDS= libdbi.so:databases/libdbi \ - libosmocore.so:devel/libosmocore \ - libosmoabis.so:devel/libosmo-abis \ - libosmonetif.so:devel/libosmo-netif \ - libdbi.so:databases/libdbi - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME} - -USES= autoreconf compiler:c11 gmake pathfix pkgconfig ssl -GNU_CONFIGURE= yes -CONFIGURE_ARGS+= CFLAGS="-I${LOCALBASE}/include" - -OPTIONS_DEFINE= BSC NAT SQLITE DOCS -OPTIONS_DEFAULT=BSC NAT - -BSC_DESC= Enable OSMO BSC -NAT_DESC= Enable NAT support -SQLITE_DESC= Enable SQLite support - -OPTIONS_SUB= yes - -BSC_CONFIGURE_ENABLE= osmo-bsc - -NAT_CONFIGURE_ENABLE= nat -NAT_BUILD_DEPENDS= ${LOCALBASE}/lib/libsccp.a:devel/libosmo-sccp -NAT_RUN_DEPENDS= ${LOCALBASE}/lib/libsccp.a:devel/libosmo-sccp - -SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 - -post-patch: - ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version - -.include <bsd.port.mk> diff --git a/net/openbsc/distinfo b/net/openbsc/distinfo deleted file mode 100644 index 259687322db3..000000000000 --- a/net/openbsc/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (openbsc-0.15.0.tar.gz) = bb31c00c5b8d1e7c0c907f15b4450a53e9492609445a36a18eca755eb034f148 -SIZE (openbsc-0.15.0.tar.gz) = 749797 diff --git a/net/openbsc/files/patch-configure.ac b/net/openbsc/files/patch-configure.ac deleted file mode 100644 index a592fdeb5cee..000000000000 --- a/net/openbsc/files/patch-configure.ac +++ /dev/null @@ -1,14 +0,0 @@ ---- configure.ac.orig 2015-12-18 14:09:38 UTC -+++ configure.ac -@@ -27,7 +27,10 @@ PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm - PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.2.0) - PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.6.4) - PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.0.1) --PKG_CHECK_MODULES(LIBCRYPTO, libcrypto >= 0.9.5) -+#PKG_CHECK_MODULES(LIBCRYPTO, libcrypto >= 0.9.5) -+AC_CHECK_LIB([crypto], [EVP_EncryptInit], [], -+ [AC_MSG_FAILURE([can't find openssl crypto lib])] -+ []) - - # Enabke/disable the NAT? - AC_ARG_ENABLE([nat], [AS_HELP_STRING([--enable-nat], [Build the BSC NAT. Requires SCCP])], diff --git a/net/openbsc/files/patch-src-utils-Makefile.am b/net/openbsc/files/patch-src-utils-Makefile.am deleted file mode 100644 index fe81564cb320..000000000000 --- a/net/openbsc/files/patch-src-utils-Makefile.am +++ /dev/null @@ -1,25 +0,0 @@ ---- src/utils/Makefile.am.orig 2015-02-10 22:03:25 UTC -+++ src/utils/Makefile.am -@@ -6,7 +6,8 @@ noinst_HEADERS = meas_db.h - - bin_PROGRAMS = bs11_config isdnsync - if HAVE_SQLITE3 --bin_PROGRAMS += osmo-meas-pcap2db osmo-meas-udp2db -+#bin_PROGRAMS += osmo-meas-pcap2db osmo-meas-udp2db -+bin_PROGRAMS += osmo-meas-udp2db - endif - if HAVE_LIBCDK - bin_PROGRAMS += meas_vis -@@ -32,9 +33,9 @@ meas_vis_SOURCES = meas_vis.c - meas_vis_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) -lcdk -lncurses - meas_vis_CFLAGS = $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) - --osmo_meas_pcap2db_SOURCES = meas_pcap2db.c meas_db.c --osmo_meas_pcap2db_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) -lpcap $(SQLITE3_LIBS) --osmo_meas_pcap2db_CFLAGS = $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) -+#osmo_meas_pcap2db_SOURCES = meas_pcap2db.c meas_db.c -+#osmo_meas_pcap2db_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) -lpcap $(SQLITE3_LIBS) -+#osmo_meas_pcap2db_CFLAGS = $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) - - osmo_meas_udp2db_SOURCES = meas_udp2db.c meas_db.c - osmo_meas_udp2db_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(SQLITE3_LIBS) diff --git a/net/openbsc/files/patch-src-utils-meas_udp2db.c b/net/openbsc/files/patch-src-utils-meas_udp2db.c deleted file mode 100644 index fd0f5dc720ab..000000000000 --- a/net/openbsc/files/patch-src-utils-meas_udp2db.c +++ /dev/null @@ -1,13 +0,0 @@ ---- src/utils/meas_udp2db.c.orig 2015-02-10 22:03:25 UTC -+++ src/utils/meas_udp2db.c -@@ -37,6 +37,10 @@ - - #include <openbsc/meas_feed.h> - -+#ifdef __FreeBSD__ -+#include <sys/socket.h> -+#endif -+ - #include "meas_db.h" - - static struct osmo_fd udp_ofd; diff --git a/net/openbsc/pkg-descr b/net/openbsc/pkg-descr deleted file mode 100644 index 3b360ae18295..000000000000 --- a/net/openbsc/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -OpenBSC is a minimalistic implementation of the GSM Network, with -particular emphasis on the functionality typically provided by the BSC, -MSC, HLR, VLR and SMSC. - -WWW: http://openbsc.osmocom.org/trac/ diff --git a/net/openbsc/pkg-plist b/net/openbsc/pkg-plist deleted file mode 100644 index 5ffefd58b3df..000000000000 --- a/net/openbsc/pkg-plist +++ /dev/null @@ -1,30 +0,0 @@ -bin/osmo-nitb -bin/osmo-bsc_mgcp -bin/bs11_config -bin/isdnsync -bin/ipaccess-find -bin/ipaccess-config -bin/ipaccess-proxy -bin/osmo-gbproxy -%%BSC%%bin/osmo-bsc -%%NAT%%bin/osmo-bsc_nat -%%SQLITE%%bin/osmo-meas-udp2db -include/openbsc/gsm_04_08.h -include/openbsc/meas_rep.h -include/openbsc/bsc_api.h -libdata/pkgconfig/openbsc.pc -share/doc/openbsc/examples/osmo-bsc/osmo-bsc.cfg -share/doc/openbsc/examples/osmo-bsc_mgcp/mgcp.cfg -share/doc/openbsc/examples/osmo-bsc_nat/black-list.cfg -share/doc/openbsc/examples/osmo-bsc_nat/osmo-bsc_nat.cfg -share/doc/openbsc/examples/osmo-gbproxy/osmo-gbproxy.cfg -%%PORTDOCS%%%%DOCSDIR%%/examples/osmo-gbproxy/osmo-gbproxy-legacy.cfg -share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-1bts-2trx-hopping.cfg -share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-1bts-2trx.cfg -share/doc/openbsc/examples/osmo-nitb/bs11/openbsc-2bts-2trx.cfg -share/doc/openbsc/examples/osmo-nitb/bs11/openbsc.cfg -share/doc/openbsc/examples/osmo-nitb/nanobts/openbsc-multitrx.cfg -share/doc/openbsc/examples/osmo-nitb/nanobts/openbsc.cfg -share/doc/openbsc/examples/osmo-nitb/nokia/openbsc_nokia_3trx.cfg -share/doc/openbsc/examples/osmo-nitb/rbs2308/openbsc.cfg -share/doc/openbsc/examples/osmo-sgsn/osmo-sgsn.cfg diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 75f5670451f3..eeeea58e8861 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -252,6 +252,5 @@ SUBDIR += xbae SUBDIR += xforms SUBDIR += xmhtml - SUBDIR += xview .include <bsd.port.subdir.mk> diff --git a/x11-toolkits/xview/Makefile b/x11-toolkits/xview/Makefile deleted file mode 100644 index 3d937058e87a..000000000000 --- a/x11-toolkits/xview/Makefile +++ /dev/null @@ -1,71 +0,0 @@ -# Created by: ljo (orig) -# $FreeBSD$ - -PORTNAME= xview -PORTVERSION= 3.2.1.4.19c -PORTREVISION= 4 -CATEGORIES= x11-toolkits -MASTER_SITES= http://www.physionet.org/physiotools/xview/src/ \ - http://komquats.com/distfiles/ \ - LOCAL/cy -DISTNAME= xview-3.2p1.4-19c - -MAINTAINER= cy@FreeBSD.org -COMMENT= X Window-System-based Visual/Integrated Environment for Workstations - -DEPRECATED= 64-bit unsupported -EXPIRATION_DATE= 2020-05-05 - -MAKE_JOBS_UNSAFE= yes - -BUILD_DEPENDS= mkfontscale:x11-fonts/mkfontscale - -ONLY_FOR_ARCHS= i386 -REINPLACE_ARGS= -i "" -USES= imake xorg -USE_XORG= x11 -USE_LDCONFIG= yes -IMAKEINCLUDE= "-I${WRKSRC}/config -I${LOCALBASE}/lib/X11/config" -MAKE_ENV+= IMAKEINCLUDE=${IMAKEINCLUDE} -ALL_TARGET= World -SUB_FILES= pkg-message -CFLAGS+= -Wno-return-type -DCOMPAT_43TTY -DESTDIRNAME= NONEXISTENT - -X11BASE2FIX= clients/olwmslave/help_file.c lib/libxview/help/help_file.c \ - lib/libxview/misc/gettext.h lib/libxview/textsw/txt_e_menu.c - -OPTIONS_DEFINE= DOCS - -post-extract: - @${MV} ${WRKSRC}/xview.man ${WRKSRC}/XView.man - -pre-configure: - @${REINPLACE_CMD} -e 's+/usr/local+${PREFIX}+;' \ - ${WRKSRC}/config/XView.cf - @${REINPLACE_CMD} -e "s,CcCmd cc,CcCmd ${CC}," \ - ${WRKSRC}/config/XView.tmpl - @${REINPLACE_CMD} -e 's+/usr/X11/+${PREFIX}/+g;' \ - ${WRKSRC}/clients/olwm/screen.c - ${REINPLACE_CMD} -e 's+/usr/lib+${PREFIX}/lib+' \ - ${X11BASE2FIX:C|^|${WRKSRC}/|} - @${REINPLACE_CMD} -e "s,^MSG_UTIL,#MSG_UTIL," \ - ${WRKSRC}/util/Imakefile - @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \ - 's|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\ - s|^/\*\*/#*|XCOMM |' - -pre-install: - @${FIND} ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -e '/XVDESTDIR = /s+${PREFIX}+${STAGEDIR}${PREFIX}+' - @${FIND} ${WRKSRC}/config ${WRKSRC}/fonts -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -e '/PROJECTROOT = /!s+${PREFIX}+${STAGEDIR}${PREFIX}+g' - -post-install: - @${RM} ${STAGEDIR}${PREFIX}/lib/help/clock.info - @${RM} ${STAGEDIR}${PREFIX}/lib/help/olwm.info - @${RM} ${STAGEDIR}${PREFIX}/lib/help/props.info - @${RM} ${STAGEDIR}${PREFIX}/lib/help/textedit.info - -post-install-DOCS-on: - @(cd ${WRKSRC}/doc; ${MAKE} install) - -.include <bsd.port.mk> diff --git a/x11-toolkits/xview/distinfo b/x11-toolkits/xview/distinfo deleted file mode 100644 index b1fcaf8951bc..000000000000 --- a/x11-toolkits/xview/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (xview-3.2p1.4-19c.tar.gz) = ce05762918ccaa0bd86819e1347b57b6d0e5d515b148f9f740d3ffd1fa9eea83 -SIZE (xview-3.2p1.4-19c.tar.gz) = 3350088 diff --git a/x11-toolkits/xview/files/patch-Imakefile b/x11-toolkits/xview/files/patch-Imakefile deleted file mode 100644 index 1183351fd1d3..000000000000 --- a/x11-toolkits/xview/files/patch-Imakefile +++ /dev/null @@ -1,69 +0,0 @@ ---- Imakefile.orig 2005-03-28 06:41:59.000000000 -0800 -+++ Imakefile 2013-11-20 16:44:43.964144452 -0800 -@@ -10,8 +10,8 @@ - XCOMM # Top level Imakefile for ProductNameAndRelease - XCOMM # @(#)Imakefile 1.7 1/7/92 SMI - --CC = cc --CFLAGS = -O -+CC ?= cc -+CFLAGS += -fstrength-reduce -fpcc-struct-return - - #define IHaveSubdirs - #define PassCDebugFlags -@@ -26,7 +26,15 @@ - FONTSDIR = - #endif - CLIENTSDIR = clients -- SUBDIRS = $(COREDIRS) $(FONTSDIR) -+.ifdef DOCLIENTS -+ SUBDIRS = $(CLIENTSDIR) -+.else -+ SUBDIRS = $(COREDIRS) $(FONTSDIR) -+.endif -+.ifdef WITHDOCSUBDIR -+SUBDIRS+=doc -+.endif -+ - XCOMM # even if these SUBDIRS are not included in the general rules, be sure to - XCOMM # do a make clean in them. - CLEAN_SUBDIRS = clients contrib doc fonts bitmaps images lib misc util config -@@ -52,7 +60,7 @@ - $(MKDIRHIER) $(DESTDIR)$(XVDESTDIR) - #endif - --InstallManPage(xview,$(MANDIR)) -+InstallManPage(XView,$(MANDIR)) - - World:: - @echo "" -@@ -65,11 +73,11 @@ - @echo "" - @date - @echo "" -- $(MAKE) $(MFLAGS) 'SUBDIRS=$(SUBDIRS) doc' Makefiles -- $(MAKE) $(MFLAGS) 'CLEAN_SUBDIRS=$(SUBDIRS)' clean -- $(MAKE) $(MFLAGS) 'SUBDIRS=$(SUBDIRS)' includes -- $(MAKE) $(MFLAGS) 'SUBDIRS=$(SUBDIRS)' depend -- $(MAKE) $(MFLAGS) 'SUBDIRS=$(SUBDIRS)' 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(WORLDOPTS) -+ $(MAKE) $(MFLAGS) -DWITHDOCSUBDIR Makefiles -+ $(MAKE) $(MFLAGS) clean -+ $(MAKE) $(MFLAGS) includes -+ $(MAKE) $(MFLAGS) depend -+ $(MAKE) $(MFLAGS) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(WORLDOPTS) - @echo "" - @date - @echo "" -@@ -102,9 +110,9 @@ - @echo "" - @date - @echo "" -- $(MAKE) $(MFLAGS) 'SUBDIRS=$(CLIENTSDIR)' Makefiles -- $(MAKE) $(MFLAGS) 'SUBDIRS=$(CLIENTSDIR)' depend -- $(MAKE) $(MFLAGS) 'SUBDIRS=$(CLIENTSDIR)' 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(WORLDOPTS) -+ $(MAKE) $(MFLAGS) -DDOCLIENTS Makefiles -+ $(MAKE) $(MFLAGS) -DDOCLIENTS depend -+ $(MAKE) $(MFLAGS) -DDOCLIENTS 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(WORLDOPTS) - @echo "" - @date - @echo "" diff --git a/x11-toolkits/xview/files/patch-bitmaps+Imakefile b/x11-toolkits/xview/files/patch-bitmaps+Imakefile deleted file mode 100644 index b0b0025be696..000000000000 --- a/x11-toolkits/xview/files/patch-bitmaps+Imakefile +++ /dev/null @@ -1,12 +0,0 @@ ---- bitmaps/Imakefile.orig 2005-03-28 06:38:51.000000000 -0800 -+++ bitmaps/Imakefile 2012-02-02 13:43:04.454629471 -0800 -@@ -36,7 +36,8 @@ - - all:: $(SRCS) - --BuildIncludes($(INCLUDES_SRCS),$(BITMAP_INCDIR),/**/) -+BuildIncludes($(INCLUDES_SRCS),$(BITMAP_INCDIR),.) -+ - - install:: $(SRCS) - $(MKDIRHIER) $(DESTDIR)$(HEADER_DEST)/$(BITMAPINC) diff --git a/x11-toolkits/xview/files/patch-clients+clock+clock.c b/x11-toolkits/xview/files/patch-clients+clock+clock.c deleted file mode 100644 index 35c98cb3fbda..000000000000 --- a/x11-toolkits/xview/files/patch-clients+clock+clock.c +++ /dev/null @@ -1,82 +0,0 @@ ---- clients/clock/clock.c.orig 2005-03-28 06:39:35.000000000 -0800 -+++ clients/clock/clock.c 2013-09-17 22:46:52.832852384 -0700 -@@ -147,6 +147,10 @@ - static Notify_value analog_timer_expired(); - static Notify_value icon_timer_expired(); - static Notify_value dig_timer_expired(); -+static int min (int a, int b); -+static int seconds_on(); -+static int date_on(); -+static int armwidth(); - - typedef enum {digital, analog} Face; - -@@ -489,7 +493,7 @@ - init_images (c, w, h) - Clock c; int w, h; - { -- int now; -+ time_t now; - struct tm *tm; - - /* resize the remote images */ -@@ -535,7 +539,7 @@ - - if (initializing) { - initializing = 0; -- return; -+ return 0; - } - c = (Clock) xv_get (canvas, XV_KEY_DATA, key, 0); - cwidth = (int) xv_get (canvas, XV_WIDTH, 0); -@@ -744,7 +748,7 @@ - pw = c->pw; - w = d->hands.width; - angle1 = d->hands.angle1; -- if (angle1==-1) return; -+ if (angle1==-1) return 0; - angle2 = d->hands.angle2; - - fromrim = (FROMRIM*w)/128; -@@ -1043,7 +1047,7 @@ - Pixwin *pw; - Rectlist *area; - { -- int now; -+ time_t now; - Font_string_dims size; - struct tm *tm; - Clock c; -@@ -1386,12 +1390,12 @@ - } - backup_values(o); - xv_set(o->frame, XV_SHOW, FALSE, 0); -- return; -+ return 0; - } - backup_values(o); - clock_repaint_proc (c->canvas, c->pw, NULL); - xv_set(o->frame, XV_SHOW, FALSE, 0); -- return; -+ return 0; - } - clock_repaint_proc (c->canvas, c->pw, NULL); - backup_values(o); -@@ -1862,7 +1866,7 @@ - { - int i, spacing, startAt, fontWidth, windowWidth; - -- if (c==NULL) return; -+ if (c==NULL) return 0; - fontWidth = c-> display-> fontWidth; - windowWidth = (int) xv_get (c->canvas, XV_WIDTH, 0); - spacing = (1.0/8.0) * fontWidth; -@@ -1879,7 +1883,7 @@ - int i, width, height, nbnds = 1, npts[1], npts2[1]; - ClockDisplay d; - -- if (c==NULL) return; -+ if (c==NULL) return 0; - npts[0] = 4; - npts2[0] = 6; - d = c-> display; diff --git a/x11-toolkits/xview/files/patch-clients+olwm+cmdstream.c b/x11-toolkits/xview/files/patch-clients+olwm+cmdstream.c deleted file mode 100644 index 46e71d09e48b..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+cmdstream.c +++ /dev/null @@ -1,17 +0,0 @@ ---- ./clients/olwm/cmdstream.c.orig Tue Jun 29 07:11:43 1993 -+++ ./clients/olwm/cmdstream.c Sat Apr 1 18:26:06 2000 -@@ -51,10 +51,10 @@ static CmdInfo cmdInfo = { - * Local Forward Declarations - * ---------------------------------------------------------------------*/ - --Command *MatchCommand(); --CmdAttr *MatchAttr(); --int EncodeAttrValue(); --int DecodeAttrValue(); -+static Command *MatchCommand(); -+static CmdAttr *MatchAttr(); -+static int EncodeAttrValue(); -+static int DecodeAttrValue(); - - /* ---------------------------------------------------------------------- - * SetCmdStream diff --git a/x11-toolkits/xview/files/patch-clients+olwm+defaults.c b/x11-toolkits/xview/files/patch-clients+olwm+defaults.c deleted file mode 100644 index 32c4bc893cb7..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+defaults.c +++ /dev/null @@ -1,23 +0,0 @@ ---- clients/olwm/defaults.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/defaults.c 2012-02-02 15:14:16.298703787 -0800 -@@ -25,9 +25,9 @@ - #include <X11/Xutil.h> - #include <X11/Xatom.h> - #include <X11/Xresource.h> --#ifdef OW_I18N_L4 -+/* #ifdef OW_I18N_L4 */ - #include <sys/param.h> --#endif -+/* #endif */ - - #include "i18n.h" - #include "ollocale.h" -@@ -82,7 +82,7 @@ - if (homedir != NULL) { - (void) strcpy(filename, homedir); - (void) strcat(filename, "/.Xdefaults-"); --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(BSD4_4) - if (0 == gethostname(hostname, sizeof(hostname), &namelen)) { - #else - if (0 == gethostname(hostname, sizeof(hostname))) { diff --git a/x11-toolkits/xview/files/patch-clients+olwm+gettext.c b/x11-toolkits/xview/files/patch-clients+olwm+gettext.c deleted file mode 100644 index b6b9e47cdcfe..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+gettext.c +++ /dev/null @@ -1,20 +0,0 @@ ---- clients/olwm/gettext.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/gettext.c 2012-02-07 19:03:56.561212174 -0800 -@@ -19,14 +19,14 @@ - #define bzero(a,b) memset(a,0,b) - #endif - --#if !defined(__linux__) || !defined(__GLIBC__) -+#if !defined(__linux__) && !defined(__GLIBC__) && !defined(__FreeBSD__) - char *malloc(), *strdup(); - #endif --char * dgettext(char *, char *); -+char * dgettext(char *domain_name, char *msg_id); - char *_gettext(); - char *in_path(); - char *fgets(), *getenv(); --#if !defined(__linux__) || !defined(__GLIBC__) -+#if !defined(__linux__) && !defined(__GLIBC__) && !defined(__FreeBSD__) - caddr_t mmap(), calloc(); - #endif - diff --git a/x11-toolkits/xview/files/patch-clients+olwm+gettext.h b/x11-toolkits/xview/files/patch-clients+olwm+gettext.h deleted file mode 100644 index 58c3afbf1ad4..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+gettext.h +++ /dev/null @@ -1,15 +0,0 @@ ---- ./clients/olwm/gettext.h.orig Tue Jun 29 07:11:46 1993 -+++ ./clients/olwm/gettext.h Sat Apr 1 18:26:06 2000 -@@ -27,7 +27,11 @@ - #include <stdio.h> - #include <sys/types.h> - #include <sys/param.h> -- -+ -+#ifndef LC_MESSAGES -+#define LC_MESSAGES 0 -+#endif -+ - struct domain_binding { - char *domain_name; - char *binding; diff --git a/x11-toolkits/xview/files/patch-clients+olwm+i18n.h b/x11-toolkits/xview/files/patch-clients+olwm+i18n.h deleted file mode 100644 index e3073042426a..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+i18n.h +++ /dev/null @@ -1,13 +0,0 @@ ---- ./clients/olwm/i18n.h.orig Tue Jun 29 07:11:48 1993 -+++ ./clients/olwm/i18n.h Sat Apr 1 18:26:06 2000 -@@ -35,6 +35,10 @@ extern wchar_t *mbstowcsdup(); - - #endif /* OW_I18N_L4 */ - -+#ifndef LC_MESSAGES -+#define LC_MESSAGES 0 -+#endif -+ - /* - * String/Text - To better handle non-i18n, Level3 and Level4 - * we introduce two 'types'; string and text. diff --git a/x11-toolkits/xview/files/patch-clients+olwm+mem.c b/x11-toolkits/xview/files/patch-clients+olwm+mem.c deleted file mode 100644 index 02e6f9b89caa..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+mem.c +++ /dev/null @@ -1,16 +0,0 @@ ---- ./clients/olwm/mem.c.orig Tue Jun 29 07:11:45 1993 -+++ ./clients/olwm/mem.c Sat Apr 1 18:26:06 2000 -@@ -14,8 +14,12 @@ - * - */ - -- -+#include <sys/param.h> -+#ifdef __STDC__ -+#include <stdlib.h> -+#else - #include <malloc.h> -+#endif - #include <memory.h> - #include <stdio.h> - #include <sys/types.h> diff --git a/x11-toolkits/xview/files/patch-clients+olwm+menu.c b/x11-toolkits/xview/files/patch-clients+olwm+menu.c deleted file mode 100644 index 7dc3db3e4c98..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+menu.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./clients/olwm/menu.c.orig Tue Jun 29 07:11:50 1993 -+++ ./clients/olwm/menu.c Sat Apr 1 18:26:06 2000 -@@ -52,6 +52,8 @@ static int lastX, lastY, minX; - static WinGeneric *prevColorFocusWindow = NULL; - static MenuTrackMode menuTrackMode; - -+static Bool isEnabled(); -+ - /* - * Table of currently active menus. - * REMIND: perhaps this should be dynamically allocated. diff --git a/x11-toolkits/xview/files/patch-clients+olwm+olwm.c b/x11-toolkits/xview/files/patch-clients+olwm+olwm.c deleted file mode 100644 index 2385e1053015..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+olwm.c +++ /dev/null @@ -1,24 +0,0 @@ ---- clients/olwm/olwm.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/olwm.c 2012-02-02 15:22:35.676398718 -0800 -@@ -23,6 +23,10 @@ - #include <sys/stat.h> - #include <sys/wait.h> - -+#ifndef MAXPID -+#define MAXPID 30000 -+#endif -+ - #include <X11/Xos.h> - #include <X11/Xlib.h> - #include <X11/Xutil.h> -@@ -637,6 +641,10 @@ - #if defined SYSV || defined __CYGWIN__ - pid_t pid; - int status; -+#elif (defined(BSD) && (BSD >= 199103)) -+ pid_t pid; -+ int status; -+ int oldmask; - #else - int oldmask; - int pid; diff --git a/x11-toolkits/xview/files/patch-clients+olwm+slave.c b/x11-toolkits/xview/files/patch-clients+olwm+slave.c deleted file mode 100644 index 6f3a5fde879a..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+slave.c +++ /dev/null @@ -1,20 +0,0 @@ ---- clients/olwm/slave.c.orig 1993-06-29 07:11:57.000000000 +0200 -+++ clients/olwm/slave.c 2007-08-03 15:01:51.000000000 +0200 -@@ -22,6 +22,8 @@ - #include <signal.h> - #include <stdio.h> - -+#include <sys/param.h> -+ - #include "cmdstream.h" - #include "error.h" - -@@ -44,7 +46,7 @@ - * Local Forward Declarations - * ---------------------------------------------------------------------*/ - --void SlaveFailure(); -+static void SlaveFailure(); - - - /* ---------------------------------------------------------------------- diff --git a/x11-toolkits/xview/files/patch-clients+olwm+st.c b/x11-toolkits/xview/files/patch-clients+olwm+st.c deleted file mode 100644 index 554964d8dc78..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+st.c +++ /dev/null @@ -1,20 +0,0 @@ ---- clients/olwm/st.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/st.c 2013-09-17 23:23:11.632099936 -0700 -@@ -34,6 +34,8 @@ - (table->hash == ST_NUMHASH) ? ((int) (key) % table->num_bins) :\ - (*table->hash)((key), table->num_bins)) - -+static rehash(st_table *table); -+ - st_table *st_init_table_with_params(compare, hash, size, density, grow_factor, - reorder_flag) - int (*compare)(); -@@ -329,7 +331,7 @@ - ptr = ptr->next; - break; - case ST_STOP: -- return; -+ return 0; - case ST_DELETE: - tmp = ptr; - if (last == nil(st_table_entry)) { diff --git a/x11-toolkits/xview/files/patch-clients+olwm+winframe.c b/x11-toolkits/xview/files/patch-clients+olwm+winframe.c deleted file mode 100644 index 1949536160bb..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+winframe.c +++ /dev/null @@ -1,19 +0,0 @@ ---- clients/olwm/winframe.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winframe.c 2013-09-17 23:01:57.600816158 -0700 -@@ -29,6 +29,7 @@ - #include "globals.h" - #include "error.h" - -+static int headerHeight(Client *cli, Graphics_info *gis); - - /*************************************************************************** - * global data -@@ -461,7 +462,7 @@ - { - /* ignore events caused by grabs */ - if (event->xcrossing.mode != NotifyNormal) -- return; -+ return 0; - - if (event->xcrossing.detail != NotifyInferior) - frameInfo->pointerIsWarped = False; diff --git a/x11-toolkits/xview/files/patch-clients+olwm+winicon.c b/x11-toolkits/xview/files/patch-clients+olwm+winicon.c deleted file mode 100644 index 4974c13c9da0..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwm+winicon.c +++ /dev/null @@ -1,13 +0,0 @@ ---- ./clients/olwm/winicon.c.orig Tue Jun 29 07:12:04 1993 -+++ ./clients/olwm/winicon.c Sat Apr 1 18:26:06 2000 -@@ -32,6 +32,10 @@ - extern Bool PropGetWMName(); - extern Bool PropGetWMIconName(); - -+static int heightTopIcon(); -+static int heightBottomIcon(); -+static int widthBothIcon(); -+ - /*************************************************************************** - * private data - ***************************************************************************/ diff --git a/x11-toolkits/xview/files/patch-clients+olwmslave+Imakefile b/x11-toolkits/xview/files/patch-clients+olwmslave+Imakefile deleted file mode 100644 index 1512238f8cd2..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwmslave+Imakefile +++ /dev/null @@ -1,20 +0,0 @@ ---- clients/olwmslave/Imakefile.orig 2005-03-28 06:39:34.000000000 -0800 -+++ clients/olwmslave/Imakefile 2012-02-02 15:27:33.050960289 -0800 -@@ -42,7 +42,7 @@ - mem.c \ - olwmslave.c \ - propsrecv.c \ -- propswin.c -+ propswin.c ${GETTEXT.C} - - - OBJS = \ -@@ -53,7 +53,7 @@ - mem.o \ - olwmslave.o \ - propsrecv.o \ -- propswin.o -+ propswin.o ${GETTEXT.O} - - - ALLFILES = \ diff --git a/x11-toolkits/xview/files/patch-clients+olwmslave+cmdstream.c b/x11-toolkits/xview/files/patch-clients+olwmslave+cmdstream.c deleted file mode 100644 index ad1fca880f55..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwmslave+cmdstream.c +++ /dev/null @@ -1,17 +0,0 @@ ---- ./clients/olwmslave/cmdstream.c.orig Tue Jun 29 07:12:10 1993 -+++ ./clients/olwmslave/cmdstream.c Sat Apr 1 18:26:06 2000 -@@ -50,10 +50,10 @@ static CmdInfo cmdInfo = { - * Local Forward Declarations - * ---------------------------------------------------------------------*/ - --Command *MatchCommand(); --CmdAttr *MatchAttr(); --int EncodeAttrValue(); --int DecodeAttrValue(); -+static Command *MatchCommand(); -+static CmdAttr *MatchAttr(); -+static int EncodeAttrValue(); -+static int DecodeAttrValue(); - - /* ---------------------------------------------------------------------- - * SetCmdStream diff --git a/x11-toolkits/xview/files/patch-clients+olwmslave+helprecv.c b/x11-toolkits/xview/files/patch-clients+olwmslave+helprecv.c deleted file mode 100644 index 753895c2bd87..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwmslave+helprecv.c +++ /dev/null @@ -1,11 +0,0 @@ ---- clients/olwmslave/helprecv.c.orig Sat Mar 25 22:29:53 2006 -+++ clients/olwmslave/helprecv.c Sat Mar 25 22:30:46 2006 -@@ -15,7 +15,7 @@ - #include "helpcmd.h" - - extern int ShowHelpWindow(); -- void ReceiveHelpCmd(); -+static void ReceiveHelpCmd(); - - /* ---------------------------------------------------------------------- - * RegisterHelpWindow diff --git a/x11-toolkits/xview/files/patch-clients+olwmslave+mem.c b/x11-toolkits/xview/files/patch-clients+olwmslave+mem.c deleted file mode 100644 index 9ac5ff67392b..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwmslave+mem.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ./clients/olwmslave/mem.c.orig Tue Jun 29 07:12:12 1993 -+++ ./clients/olwmslave/mem.c Sat Apr 1 18:26:06 2000 -@@ -16,7 +16,8 @@ static char sccsid[] = "@(#) mem.c 26.1 - * - */ - --#include <malloc.h> -+#include <sys/param.h> -+#include <stdlib.h> - #include <memory.h> - #include <stdio.h> - #include <sys/types.h> diff --git a/x11-toolkits/xview/files/patch-clients+olwmslave+olwmslave.c b/x11-toolkits/xview/files/patch-clients+olwmslave+olwmslave.c deleted file mode 100644 index b198ef07bee9..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwmslave+olwmslave.c +++ /dev/null @@ -1,32 +0,0 @@ ---- clients/olwmslave/olwmslave.c.orig 2012-02-07 19:28:02.625687577 -0800 -+++ clients/olwmslave/olwmslave.c 2012-02-07 19:38:15.496241454 -0800 -@@ -44,9 +44,9 @@ - /* ---------------------------------------------------------------------- - * Forward Definitions - * ----------------------------------------------------------------------*/ --void InitScreenInfo(); --void ParseScreenArgs(); --Notify_value InputReader(); -+static void InitScreenInfo(); -+static void ParseScreenArgs(); -+static Notify_value InputReader(); - - /* ---------------------------------------------------------------------- - * main -@@ -73,13 +73,14 @@ - if ((openwinDir = getenv("OPENWINHOME")) != 0) - (void)strcpy(localePath,openwinDir); - else --#ifndef OPENWINHOME_DEFAULT -+#define OPENWINHOME_DEFAULT "/usr/local/lib/X11" -+#ifdef OPENWINHOME_DEFAULT - /* martin-2.buck@student.uni-ulm.de */ - (void)strcpy(localePath,OPENWINHOME_DEFAULT); - #else - (void)strcpy(localePath,"/usr/share"); - #endif -- (void)strcat(localePath,"/lib/locale"); -+ (void)strcat(localePath,"/locale"); - (void)bindtextdomain(domain,localePath); - textdomain(domain); - } diff --git a/x11-toolkits/xview/files/patch-clients+olwmslave+propsrecv.c b/x11-toolkits/xview/files/patch-clients+olwmslave+propsrecv.c deleted file mode 100644 index 650a4f00338a..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwmslave+propsrecv.c +++ /dev/null @@ -1,11 +0,0 @@ ---- clients/olwmslave/propsrecv.c.orig Sat Mar 25 22:42:20 2006 -+++ clients/olwmslave/propsrecv.c Sat Mar 25 22:43:01 2006 -@@ -15,7 +15,7 @@ - #include "propscmd.h" - - extern int ShowWindowProps(); -- void ReceivePropsCmd(); -+static void ReceivePropsCmd(); - - /* ---------------------------------------------------------------------- - * RegisterPropsWindow diff --git a/x11-toolkits/xview/files/patch-clients+olwmslave+propswin.c b/x11-toolkits/xview/files/patch-clients+olwmslave+propswin.c deleted file mode 100644 index 3e64f9b3ca7c..000000000000 --- a/x11-toolkits/xview/files/patch-clients+olwmslave+propswin.c +++ /dev/null @@ -1,15 +0,0 @@ ---- clients/olwmslave/propswin.c.orig Sat Mar 25 22:43:32 2006 -+++ clients/olwmslave/propswin.c Sat Mar 25 22:44:16 2006 -@@ -38,9 +38,9 @@ - * Local Forward Declarations - * ----------------------------------------------------------------------*/ - int ShowWindowProps(); --void InitWindowProps(); --Bool CreateWindowProps(); --Notify_value DestroyWindowProps(); -+static void InitWindowProps(); -+static Bool CreateWindowProps(); -+static Notify_value DestroyWindowProps(); - void ApplyProps(); - void ResetProps(); - diff --git a/x11-toolkits/xview/files/patch-clients-Imakefile b/x11-toolkits/xview/files/patch-clients-Imakefile deleted file mode 100644 index b15107fa1c2c..000000000000 --- a/x11-toolkits/xview/files/patch-clients-Imakefile +++ /dev/null @@ -1,11 +0,0 @@ ---- clients/Imakefile.orig Mon Feb 21 19:10:20 2005 -+++ clients/Imakefile Mon Feb 21 19:10:28 2005 -@@ -9,7 +9,7 @@ - - SUBDIRS = clock cmdtool olwm olwmslave - --DIRS_TO_CREATE = $(SRC_DEST) -+# DIRS_TO_CREATE = $(SRC_DEST) - - MakeSubdirs($(SUBDIRS)) - DependSubdirs($(SUBDIRS)) diff --git a/x11-toolkits/xview/files/patch-clients-olwm-client.c b/x11-toolkits/xview/files/patch-clients-olwm-client.c deleted file mode 100644 index c0da24ace484..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-client.c +++ /dev/null @@ -1,30 +0,0 @@ ---- clients/olwm/client.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/client.c 2013-09-17 22:50:16.981049021 -0700 -@@ -250,7 +250,7 @@ - Client *cli; - { - if (!DoingWindowState) -- return; -+ return 0; - - /* - * If the client has specified the window state then interpret it. -@@ -281,15 +281,15 @@ - OLWindowState winState; - - if (!DoingWindowState) -- return; -+ return 0; - - if (cli->framewin == NULL) -- return; -+ return 0; - - pane = PANEWINOFCLIENT(cli); - - if (!PropGetOLWindowState(cli->dpy,pane,&winState)) -- return; -+ return 0; - - if (cli->windowState == NULL) - cli->windowState = MemNew(OLWindowState); diff --git a/x11-toolkits/xview/files/patch-clients-olwm-screen.c b/x11-toolkits/xview/files/patch-clients-olwm-screen.c deleted file mode 100644 index 8647c6fdc3b0..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-screen.c +++ /dev/null @@ -1,50 +0,0 @@ ---- clients/olwm/screen.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/screen.c 2012-02-07 18:53:41.460748331 -0800 -@@ -1518,7 +1518,6 @@ - /* - * updateScreenWorkspaceColor -- change all GC/Ginfo's that use WorkspaceColor - */ --static - updateScreenWorkspaceColor(dpy,scrInfo) - Display *dpy; - ScreenInfo *scrInfo; -@@ -1540,7 +1539,6 @@ - /* - * updateScreenWindowColor -- change all GC/Ginfo's that use WindowColor - */ --static - updateScreenWindowColor(dpy,scrInfo) - Display *dpy; - ScreenInfo *scrInfo; -@@ -1597,7 +1595,6 @@ - /* - * updateScreenForegroundColor -- change all GC/Ginfo's that use Foreground - */ --static - updateScreenForegroundColor(dpy,scrInfo) - Display *dpy; - ScreenInfo *scrInfo; -@@ -1630,7 +1627,6 @@ - /* - * updateScreenBackgroundColor -- change all GC/Ginfo's that use Background - */ --static - updateScreenBackgroundColor(dpy,scrInfo) - Display *dpy; - ScreenInfo *scrInfo; -@@ -1645,7 +1641,6 @@ - /* - * updateScreenBorderColor -- change all GC/Ginfo's that use Border - */ --static - updateScreenBorderColor(dpy,scrInfo) - Display *dpy; - ScreenInfo *scrInfo; -@@ -1761,7 +1756,6 @@ - /* - * updateScreenGlyphFont -- change all GC/Ginfo's that use GlyphFont - */ --static - updateScreenGlyphFont(dpy,scrInfo) - Display *dpy; - ScreenInfo *scrInfo; diff --git a/x11-toolkits/xview/files/patch-clients-olwm-selection.c b/x11-toolkits/xview/files/patch-clients-olwm-selection.c deleted file mode 100644 index de1eeaca1a2f..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-selection.c +++ /dev/null @@ -1,18 +0,0 @@ ---- clients/olwm/selection.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/selection.c 2013-09-17 22:55:40.832118661 -0700 -@@ -316,13 +316,13 @@ - XSetSelectionOwner(cli->dpy, XA_PRIMARY, - NoFocusWin, timestamp); - if (NoFocusWin != XGetSelectionOwner(cli->dpy, XA_PRIMARY)) -- return; -+ return 0; - } else { - /* First look to see if window is already listed. */ - for(tc = ListEnum(&l); tc != NULL; tc = ListEnum(&l)) - { - if (tc == cli) -- return; -+ return 0; - } - } - diff --git a/x11-toolkits/xview/files/patch-clients-olwm-slots.c b/x11-toolkits/xview/files/patch-clients-olwm-slots.c deleted file mode 100644 index b192a2aada02..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-slots.c +++ /dev/null @@ -1,20 +0,0 @@ ---- clients/olwm/slots.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/slots.c 2013-09-17 22:57:38.862493883 -0700 -@@ -449,7 +449,7 @@ - - if (winicon->iconslot == NULL) - { -- return; -+ return 0; - } - - incrRegion(iconGrid,winicon->iconslot,-1); -@@ -539,7 +539,7 @@ - for (ima = 0; ima<iconGrid->maslots; ima++) - for (imi = 0; imi<iconGrid->mislots; imi++) - OCCUPANCY(iconGrid,ima,imi)=0; -- return; -+ return 0; - } - - /* partition existing icons */ diff --git a/x11-toolkits/xview/files/patch-clients-olwm-winbutton.c b/x11-toolkits/xview/files/patch-clients-olwm-winbutton.c deleted file mode 100644 index 597590b384f2..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-winbutton.c +++ /dev/null @@ -1,47 +0,0 @@ ---- clients/olwm/winbutton.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winbutton.c 2013-09-17 23:00:34.703056428 -0700 -@@ -89,7 +89,7 @@ - - if (winInfo->ignore) { - FrameAllowEvents(cli, event->xbutton.time); -- return; -+ return 0; - } - - switch (a) { -@@ -117,7 +117,7 @@ - - default: - FrameAllowEvents(cli, event->xbutton.time); -- return; -+ return 0; - } - } - -@@ -141,7 +141,7 @@ - FrameAllowEvents(cli, event->xbutton.time); - - if (!AllButtonsUp(event)) -- return; -+ return 0; - - XUngrabPointer(dpy, CurrentTime); - -@@ -154,7 +154,7 @@ - } - - if (!in_windowmark(winInfo,x,y) || currentAction != ACTION_SELECT) { -- return; -+ return 0; - } - - if (! winInfo->ignore) { -@@ -186,7 +186,7 @@ - Graphics_info *gisNormal = WinGI(winInfo,NORMAL_GINFO); - - if (!event->xmotion.same_screen || currentAction != ACTION_SELECT) -- return; -+ return 0; - - x = event->xmotion.x; - y = event->xmotion.y; diff --git a/x11-toolkits/xview/files/patch-clients-olwm-wingframe.c b/x11-toolkits/xview/files/patch-clients-olwm-wingframe.c deleted file mode 100644 index 610a3b1e7d0d..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-wingframe.c +++ /dev/null @@ -1,31 +0,0 @@ ---- clients/olwm/wingframe.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/wingframe.c 2013-09-17 23:03:37.471110388 -0700 -@@ -270,7 +270,7 @@ - Client *cli = frameInfo->core.client; - - if (!AllButtonsUp(event)) -- return; -+ return 0; - - #define bevent (event->xbutton) - -@@ -337,16 +337,16 @@ - /* We get this only after a Select press */ - if (hadSelect == False) /* watch for erroneous motions */ - { -- return; -+ return 0; - } - - if (!event->xmotion.same_screen) -- return; -+ return 0; - - /* See if we have moved more than the threshold amount. */ - if ((ABS(event->xmotion.x - buttonPressX) < GRV.MoveThreshold) && - (ABS(event->xmotion.y - buttonPressY) < GRV.MoveThreshold)) -- return; -+ return 0; - - (WinFunc(frameInfo,fcore.selectDrag))(dpy, event, frameInfo, &lastSelectPress); - diff --git a/x11-toolkits/xview/files/patch-clients-olwm-winipane.c b/x11-toolkits/xview/files/patch-clients-olwm-winipane.c deleted file mode 100644 index 6279128e091a..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-winipane.c +++ /dev/null @@ -1,11 +0,0 @@ ---- clients/olwm/winipane.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winipane.c 2013-09-17 23:04:46.971315127 -0700 -@@ -70,7 +70,7 @@ - XGCValues gcv; - - if (winInfo->iconClientWindow) -- return; -+ return 0; - - XFillRectangle(dpy, pane, WinGC(winInfo,WORKSPACE_GC), - 0, 0, winInfo->core.width, winInfo->core.height); diff --git a/x11-toolkits/xview/files/patch-clients-olwm-winnofoc.c b/x11-toolkits/xview/files/patch-clients-olwm-winnofoc.c deleted file mode 100644 index b1f324159130..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-winnofoc.c +++ /dev/null @@ -1,11 +0,0 @@ ---- clients/olwm/winnofoc.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winnofoc.c 2013-09-17 23:05:56.531520358 -0700 -@@ -219,7 +219,7 @@ - XEvent dummy; - - if (FindModifierMask(event->xkey.keycode) != 0) -- return; -+ return 0; - - XSync(dpy,0); - /* diff --git a/x11-toolkits/xview/files/patch-clients-olwm-winpane.c b/x11-toolkits/xview/files/patch-clients-olwm-winpane.c deleted file mode 100644 index e1b65e8c197e..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-winpane.c +++ /dev/null @@ -1,11 +0,0 @@ ---- clients/olwm/winpane.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winpane.c 2013-09-17 23:07:20.091766948 -0700 -@@ -162,7 +162,7 @@ - /* it's a ShapeNotify event */ - se = (XShapeEvent *) event; - if (se->kind != ShapeBounding) -- return; -+ return 0; - cli = winInfo->core.client; - cli->isShaped = se->shaped; - diff --git a/x11-toolkits/xview/files/patch-clients-olwm-winpinmenu.c b/x11-toolkits/xview/files/patch-clients-olwm-winpinmenu.c deleted file mode 100644 index 9b7ce416c3ca..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-winpinmenu.c +++ /dev/null @@ -1,20 +0,0 @@ ---- clients/olwm/winpinmenu.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winpinmenu.c 2013-09-17 23:08:47.322025297 -0700 -@@ -87,7 +87,7 @@ - WinPinMenu *winInfo; - { - if (! StartMenuGrabs(dpy, winInfo)) -- return; -+ return 0; - - MenuMakeFirst(winInfo->menuInfo, afterMenuShow, winInfo); - -@@ -105,7 +105,7 @@ - - if (MenuHandleKeyEvent(dpy, event, winInfo, winInfo)) { - if (! StartMenuGrabs(dpy, winInfo)) -- return; -+ return 0; - } - } - diff --git a/x11-toolkits/xview/files/patch-clients-olwm-winpush.c b/x11-toolkits/xview/files/patch-clients-olwm-winpush.c deleted file mode 100644 index 380a17a39eb7..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-winpush.c +++ /dev/null @@ -1,23 +0,0 @@ ---- clients/olwm/winpush.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winpush.c 2013-09-17 23:10:09.212267675 -0700 -@@ -100,7 +100,7 @@ - { - FrameAllowEvents(winInfo->core.client, event->xbutton.time); - if (!AllButtonsUp(event)) -- return; -+ return 0; - - /* - * If pushpinStateAfterPress equals the current pin state, we know -@@ -128,9 +128,9 @@ - Graphics_info *gisNormal = WinGI(winInfo,NORMAL_GINFO); - - if (!event->xmotion.same_screen) -- return; -+ return 0; - if (currentAction != ACTION_SELECT && currentAction != ACTION_ADJUST) -- return; -+ return 0; - - /* When the user moves the cursor off the pushpin - * while s/he has the button down we should pull diff --git a/x11-toolkits/xview/files/patch-clients-olwm-winresize.c b/x11-toolkits/xview/files/patch-clients-olwm-winresize.c deleted file mode 100644 index bc522a20a884..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-winresize.c +++ /dev/null @@ -1,11 +0,0 @@ ---- clients/olwm/winresize.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winresize.c 2013-09-17 23:11:13.342458132 -0700 -@@ -78,7 +78,7 @@ - - if (ResolveMouseBinding(dpy, event, ignoremask) != ACTION_SELECT) { - FrameAllowEvents(winInfo->core.client, event->xbutton.time); -- return; -+ return 0; - } - - /* draw depressed corner */ diff --git a/x11-toolkits/xview/files/patch-clients-olwm-winroot.c b/x11-toolkits/xview/files/patch-clients-olwm-winroot.c deleted file mode 100644 index e6dae4df5cf5..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwm-winroot.c +++ /dev/null @@ -1,59 +0,0 @@ ---- clients/olwm/winroot.c.orig 2005-03-28 06:39:46.000000000 -0800 -+++ clients/olwm/winroot.c 2013-09-17 23:12:58.282771195 -0700 -@@ -189,7 +189,7 @@ - WinRoot *winInfo; - { - if (pEvent->xcrossing.detail == NotifyNonlinearVirtual) -- return; -+ return 0; - - ColorWindowCrossing(dpy, pEvent, winInfo); - -@@ -283,7 +283,7 @@ - int (*selectFunc)(); - - if (!pEvent->xmotion.same_screen) -- return; -+ return 0; - - /* If the user hasn't moved more than the threshold - * amount, break out of here. REMIND Also, if we get a -@@ -296,9 +296,9 @@ - GRV.MoveThreshold) && - (ABS(pEvent->xmotion.y - winInfo->buttonPressEvent.xbutton.y) < - GRV.MoveThreshold)) -- return; -+ return 0; - if (pEvent->xmotion.state == 0) -- return; -+ return 0; - - /* - * On Select: Clear existing selected clients and add new ones -@@ -335,7 +335,7 @@ - WinRoot *winInfo; - { - if (!AllButtonsUp(pEvent)) -- return; -+ return 0; - - /* - * This only happens if we did NOT get a motion notify -@@ -384,7 +384,7 @@ - pEvent->xbutton.time))) - { - PropagatePressEventToChild(dpy, pEvent, child); -- return; -+ return 0; - } - - /* -@@ -453,7 +453,7 @@ - if ((pEvent->xproperty.atom != XA_RESOURCE_MANAGER) - || (pEvent->xproperty.state != PropertyNewValue)) - { -- return; -+ return 0; - } - - UpdateGlobals(dpy); diff --git a/x11-toolkits/xview/files/patch-clients-olwmslave-helpwin.c b/x11-toolkits/xview/files/patch-clients-olwmslave-helpwin.c deleted file mode 100644 index cb875f0d2006..000000000000 --- a/x11-toolkits/xview/files/patch-clients-olwmslave-helpwin.c +++ /dev/null @@ -1,83 +0,0 @@ ---- clients/olwmslave/helpwin.c.orig 2012-02-07 19:18:57.806432096 -0800 -+++ clients/olwmslave/helpwin.c 2012-02-07 19:26:21.863976814 -0800 -@@ -186,7 +186,7 @@ - /* ---------------------------------------------------------------------- - * InitHelpWindow - Inits helpWinList array. - * ----------------------------------------------------------------------*/ --static void -+void - InitHelpWindow() - { - HelpWindow *hw; -@@ -215,7 +215,7 @@ - /* ---------------------------------------------------------------------- - * CreateHelpWindow - Creates the help window frame and etc. - * ----------------------------------------------------------------------*/ --static Bool -+Bool - CreateHelpWindow(hw,helpkey) - HelpWindow *hw; - char *helpkey; -@@ -325,7 +325,7 @@ - /* ---------------------------------------------------------------------- - * ResetHelpWindow - * ---------------------------------------------------------------------*/ --static void -+void - ResetHelpWindow(hw) - HelpWindow *hw; - { -@@ -335,7 +335,7 @@ - /* ---------------------------------------------------------------------- - * DestroyHelpWindow - Destroy the help window - * ---------------------------------------------------------------------*/ --static Notify_value -+Notify_value - DestroyHelpWindow(client,status) - Notify_client client; - Destroy_status status; -@@ -361,7 +361,7 @@ - /* ---------------------------------------------------------------------- - * TextHelpWindow - Inserts the help text. - * ---------------------------------------------------------------------*/ --static Bool -+Bool - TextHelpWindow(hw,helpkey) - HelpWindow *hw; - char *helpkey; -@@ -460,7 +460,7 @@ - /* ---------------------------------------------------------------------- - * ImageHelpWindow - * ---------------------------------------------------------------------*/ --static Bool -+Bool - ImageHelpWindow(hw,mousex,mousey) - HelpWindow *hw; - { -@@ -500,7 +500,7 @@ - /* ---------------------------------------------------------------------- - * ConstrainMousePos - * ---------------------------------------------------------------------*/ --static int -+int - ConstrainMousePos(nscreen,mousex,mousey,imagex,imagey) - int nscreen; - int mousex,mousey; -@@ -528,7 +528,7 @@ - * MoreHelp - * ---------------------------------------------------------------------*/ - /*ARGSUSED*/ --static void -+void - MoreHelp(item,event) - Panel_item item; - Event *event; -@@ -547,7 +547,7 @@ - /* ---------------------------------------------------------------------- - * ErrorNotice - * ---------------------------------------------------------------------*/ --static void -+void - ErrorNotice(nscreen,errmsg,helpkey) - int nscreen; - char *errmsg; diff --git a/x11-toolkits/xview/files/patch-clients-props-l10n_read.c b/x11-toolkits/xview/files/patch-clients-props-l10n_read.c deleted file mode 100644 index 41b7b17e17a3..000000000000 --- a/x11-toolkits/xview/files/patch-clients-props-l10n_read.c +++ /dev/null @@ -1,11 +0,0 @@ ---- clients/props/l10n_read.c.orig 2012-02-07 19:44:47.873072262 -0800 -+++ clients/props/l10n_read.c 2012-02-07 19:54:04.282770082 -0800 -@@ -25,7 +25,7 @@ - #define ITEM_SEPARATOR ';' - - --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) - #ifndef ultrix - extern char *malloc(); - #endif diff --git a/x11-toolkits/xview/files/patch-clients-props-props.c b/x11-toolkits/xview/files/patch-clients-props-props.c deleted file mode 100644 index 0c3a0d93f825..000000000000 --- a/x11-toolkits/xview/files/patch-clients-props-props.c +++ /dev/null @@ -1,20 +0,0 @@ ---- clients/props/props.c.orig 2005-03-28 06:39:19.000000000 -0800 -+++ clients/props/props.c 2013-09-17 23:14:50.153104437 -0700 -@@ -717,7 +717,7 @@ - int factory = !(int) xv_get(panel_item, PANEL_VALUE); - - if (factory == showing_factory) -- return; -+ return 0; - - if (factory) { - if (!saved_defaults[0]) { -@@ -751,7 +751,7 @@ - int width; - - if (panel_group[which_panel] == current_panel) -- return; -+ return 0; - - /* Show requested panel */ - xv_set(current_panel, XV_SHOW, FALSE, NULL); diff --git a/x11-toolkits/xview/files/patch-clients-textedit-textedit.c b/x11-toolkits/xview/files/patch-clients-textedit-textedit.c deleted file mode 100644 index 4c7696f744fb..000000000000 --- a/x11-toolkits/xview/files/patch-clients-textedit-textedit.c +++ /dev/null @@ -1,77 +0,0 @@ ---- clients/textedit/textedit.c.orig 2005-03-28 06:39:35.000000000 -0800 -+++ clients/textedit/textedit.c 2013-09-17 23:16:22.050879918 -0700 -@@ -12,7 +12,7 @@ - */ - - #include <sys/param.h> /* MAXPATHLEN (include types.h if removed) */ --#ifndef __CYGWIN__ -+#if !defined(__CYGWIN__) && !defined(__FreeBSD__) - #include <sys/dir.h> /* MAXNAMLEN */ - #else - #include <dirent.h> -@@ -45,7 +45,7 @@ - long textsw_store_file(); - */ - char *getwd(); --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) - char *sprintf(); - #endif - void frame_cmdline_help(); -@@ -257,7 +257,7 @@ - char *attr_string; - - if (handling_signal) -- return; -+ return 0; - icon_text[0] = '\0'; - ptr = icon_text; - for (attrs = attributes; *attrs; attrs = attr_next(attrs)) { -@@ -824,10 +824,10 @@ - * Setup signal handlers. - */ - (void)notify_set_signal_func(base_frame, mysigproc, SIGINT, NOTIFY_ASYNC); --#if !(defined(__linux__) || defined(__CYGWIN__)) || defined(SIGXCPU) -+#if !(defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__)) || defined(SIGXCPU) - (void)notify_set_signal_func(base_frame, mysigproc, SIGXCPU, NOTIFY_ASYNC); - #endif --#if !(defined(__linux__) || defined(__CYGWIN__)) || defined(SIGBUS) -+#if !(defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__)) || defined(SIGBUS) - (void)notify_set_signal_func(base_frame, mysigproc, SIGBUS, NOTIFY_ASYNC); - #endif - (void)notify_set_signal_func(base_frame, mysigproc, SIGHUP, NOTIFY_ASYNC); -@@ -915,7 +915,7 @@ - char name_to_use[MAXNAMLEN]; - int pid = getpid(); - int was_SIGILL = (sig == SIGILL); --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) - struct sigvec vec; - #else - struct sigaction vec; -@@ -978,7 +978,7 @@ - #ifndef lint - char dummy, *bad_ptr = 0; - /* (void)signal(SIGSEGV, SIG_DFL); /* Make sure 0 deref dumps. */ --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) - vec.sv_handler = SIG_DFL; - vec.sv_mask = vec.sv_onstack = 0; - sigvec(SIGSEGV, &vec, 0); -@@ -1001,7 +1001,7 @@ - #endif - } else { - /* (void)signal(SIGILL, SIG_DFL); /* Make sure abort() dumps. */ --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) - vec.sv_handler = SIG_DFL; - vec.sv_mask = vec.sv_onstack = 0; - sigvec(SIGILL, &vec, 0); -@@ -1029,7 +1029,6 @@ - /* - * Misc. utilities - */ --static - die(msg1, msg2, msg3) - char *msg1, *msg2, *msg3; - { diff --git a/x11-toolkits/xview/files/patch-config+XView.cf b/x11-toolkits/xview/files/patch-config+XView.cf deleted file mode 100644 index f08c3c3f1796..000000000000 --- a/x11-toolkits/xview/files/patch-config+XView.cf +++ /dev/null @@ -1,29 +0,0 @@ ---- config/XView.cf.orig 2005-03-28 06:40:20.000000000 -0800 -+++ config/XView.cf 2012-02-02 15:36:32.989294630 -0800 -@@ -118,7 +118,7 @@ - * the appropriate value. - */ - #ifndef XVDestDir --#define XVDestDir /usr/X11R6 -+#define XVDestDir /usr/local - #endif - /* - * Command to add object modules to the library. -@@ -179,7 +179,7 @@ - * These are unchanged from X.V11R4 and the XView 2 release. - */ - #ifndef InstallOpenLookFonts --#define InstallOpenLookFonts NO -+#define InstallOpenLookFonts YES - #endif - /* - * If you want to install the private header files, set below value to -@@ -223,6 +223,8 @@ - # endif - # elif defined __CYGWIN__ - # define LibXViewDefines -I$(OPENWINHOME)/include -DX11R6 -Di386 -DNO_CAST_VATOAV -+# elif defined __FreeBSD__ -+# define LibXViewDefines -I$(OPENWINHOME)/include -DSUNOS41 -DX11R6 - # else - # define LibXViewDefines -DFULL_R5 -I$(OPENWINHOME)/include -DSUNOS41 -DX11R6 - # endif diff --git a/x11-toolkits/xview/files/patch-config+XView.obj b/x11-toolkits/xview/files/patch-config+XView.obj deleted file mode 100644 index 8ce1408dabef..000000000000 --- a/x11-toolkits/xview/files/patch-config+XView.obj +++ /dev/null @@ -1,40 +0,0 @@ ---- config/XView.obj.orig 2005-03-28 06:40:20.000000000 -0800 -+++ config/XView.obj 2012-02-02 15:45:32.687556002 -0800 -@@ -15,7 +15,7 @@ - STD_DEFINES = StandardDefines LibXViewDefines - #endif - HEADERS= ${HDRSPUBLIC} ${HDRSPRIVATE} --INCLUDES= -I$(BUILDINCDIR)$(INCDIR) -+INCLUDES= -I$(BUILDINCDIR)/$(INCDIR) - OBJS = $(TEXT_OBJS) $(DATA_OBJS) $(SPECIAL_OBJS) - #if !NotLibXView - ALLFILES = $(SRCS) $(HEADERS) -@@ -99,14 +99,14 @@ - - #if SubdirHasPublicHeaders - # if NotLibXView --BuildIncludes($(HDRSPUBLIC),$(PUB_INCDIR),/**/) -+BuildIncludes($(HDRSPUBLIC),$(PUB_INCDIR),.) - - install:: - $(MKDIRHIER) $(DESTDIR)$(PUB_HEADER_DEST) - - InstallMultiple($(HDRSPUBLIC),$(PUB_HEADER_DEST)) - # else --BuildIncludes($(HDRSPUBLIC),$(XVPUB_INCDIR),/**/) -+BuildIncludes($(HDRSPUBLIC),$(XVPUB_INCDIR),.) - - install:: - $(MKDIRHIER) $(DESTDIR)$(XVPUB_HEADER_DEST) -@@ -117,9 +117,9 @@ - - #if SubdirHasPrivateHeaders - # if NotLibXView --BuildIncludes($(HDRSPRIVATE),$(PRI_INCDIR),/**/) -+BuildIncludes($(HDRSPRIVATE),$(PRI_INCDIR),.) - # else --BuildIncludes($(HDRSPRIVATE),$(XVPRI_INCDIR),/**/) -+BuildIncludes($(HDRSPRIVATE),$(XVPRI_INCDIR),.) - # endif - # if InstallPrivateHeaders - # if NotLibXView diff --git a/x11-toolkits/xview/files/patch-config+XView.rules b/x11-toolkits/xview/files/patch-config+XView.rules deleted file mode 100644 index 8bbc4f612506..000000000000 --- a/x11-toolkits/xview/files/patch-config+XView.rules +++ /dev/null @@ -1,33 +0,0 @@ ---- config/XView.rules.orig 2005-03-28 06:40:20.000000000 -0800 -+++ config/XView.rules 2012-02-02 15:51:23.012928640 -0800 -@@ -229,7 +229,7 @@ - $(RM) $@~ sodir/lib/**/libname.so.xs.o @@\ - @if [ -f xstrings ]; then \ @@\ - $(RM) strings; $(CP) xstrings strings; fi @@\ -- (cd sodir; $(LD) -o ../$@~ $(SHLIBLDFLAGS) ?*.o) @@\ -+ (cd sodir; $(CC) -o ../$@~ -Wl,-soname,$@ $(SHLIBLDFLAGS) ?*.o) @@\ - -@if [ -f strings~ ]; then $(RM) strings~; else exit 0; fi @@\ - $(RM) $@ @@\ - $(MV) $@~ $@ @@\ -@@ -265,7 +265,8 @@ - @if [ -f xstrings ]; then \ @@\ - $(RM) strings; $(CP) xstrings strings; fi @@\ - -@if [ ! -x objsort ];then $(CHMOD) 755 objsort;else exit 0;fi @@\ -- $(LD) `objsort objlist sodir` -o $@~ $(SHLIBLDFLAGS) @@\ -+ $(CC) `objsort objlist sodir` -o $@~ -Wl,-soname,$@\ @@\ -+ $(SHLIBLDFLAGS) @@\ - @if [ -f strings~ ]; then $(RM) strings~; else exit 0; fi @@\ - $(RM) $@ @@\ - $(MV) $@~ $@ @@\ -@@ -557,9 +558,9 @@ - #else /* __linux__ */ - #define InstallSharedLibraryNoBuild(libname,rev,dest) @@\ - install:: @@\ -- $(RM) $(DESTDIR)dest/lib/**/libname.so @@\ -+ $(RM) /dest/lib/**/libname.so @@\ - $(INSTALL) -c $(INSTSHAREDLIBFLAGS) lib/**/libname.so.rev $(DESTDIR)dest @@\ -- (cd $(DESTDIR)dest && $(LN) lib/**/libname.so.rev lib/**/libname.so) @@\ -+ (cd dest; $(LN) lib/**/libname.so.rev lib/**/libname.so) - - #endif /* !__linux__ */ - #endif /* InstallSharedLibraryNoBuild */ diff --git a/x11-toolkits/xview/files/patch-config+XView.tmpl b/x11-toolkits/xview/files/patch-config+XView.tmpl deleted file mode 100644 index 8463aa04bdd0..000000000000 --- a/x11-toolkits/xview/files/patch-config+XView.tmpl +++ /dev/null @@ -1,87 +0,0 @@ ---- config/XView.tmpl.orig 2012-02-03 13:15:49.992408249 -0800 -+++ config/XView.tmpl 2012-02-03 13:17:45.694502291 -0800 -@@ -97,12 +97,14 @@ - */ - #if !defined(__linux__) && !defined(__CYGWIN__) - #if UseInstalled -- MKDIRHIER = BourneShell BinDir/mkdirhier -+ MKDIRHIER = mkdirhier - #endif - #endif - - #if OsHasLocale -- LOCALE_DEFINES = -DOS_HAS_LOCALE -+ LOCALE_DEFINES = -DOS_HAS_LOCALE -DCOMPAT_43TTY -+#else -+ LOCALE_DEFINES = -DCOMPAT_43TTY - #endif - - #if OsHasMmap -@@ -194,15 +196,6 @@ - AS = as - */ - /* -- * use the same trick X11R5 does for defining rules for installed libs -- */ --#undef _Use --#ifdef UseInstalled --#define _Use(a,b) a --#else --#define _Use(a,b) b --#endif --/* - * Temporary directory used during build process before the include - * files are installed. This is just a place where symbolic links are - * placed to point back to the actual files in the build hierarchy to -@@ -227,7 +220,7 @@ - * afterwards. - */ - #ifndef XVIncludeDirName --#define XVIncludeDirName /include -+#define XVIncludeDirName include - #endif - INCDIR = XVIncludeDirName - /* -@@ -332,7 +325,7 @@ - #ifdef __CYGWIN__ - DEPXVIEWLIB = -lrpc - #else -- DEPXVIEWLIB = -+ DEPXVIEWLIB = - #endif - XVIEWLIB = -L$(LIBRARY_DEST) -lxview - #else -@@ -393,8 +386,8 @@ - XVCLIENTINCLUDES = -I$(OPENWINHOME)/include - #else - XVCLIENTI18NDEFINES = -DOW_I18N_L3 -- XVCLIENTMISCLIB = -- XVCLIENTINCLUDES = -+ XVCLIENTMISCLIB = -+ XVCLIENTINCLUDES = - #endif - - XVCLIENTDEFINES = $(XVCLIENTSYSDEFINES) $(XVCLIENTI18NDEFINES) -@@ -430,7 +423,7 @@ - #if defined __linux__ || defined __CYGWIN__ - #define SharedXViewRev 3.2.4 - #else --#if SystemV4 -+#if SystemV4 || UseElfFormat - # define SharedXViewRev 3 - #else - # define SharedXViewRev 3.2 -@@ -470,12 +463,8 @@ - * Include the XView specific makefile macros. - */ - --/* This is just needed here because X11 is installed with gcc as -- a default compiler. -- lumpi@dobag.in-berlin.de -- - #undef CcCmd - #define CcCmd cc --#define LibraryCcCmd cc */ -+#define LibraryCcCmd cc - #include <XView.rules> - #endif diff --git a/x11-toolkits/xview/files/patch-doc+Imakefile b/x11-toolkits/xview/files/patch-doc+Imakefile deleted file mode 100644 index 91ae6d4f5fbf..000000000000 --- a/x11-toolkits/xview/files/patch-doc+Imakefile +++ /dev/null @@ -1,11 +0,0 @@ ---- doc/Imakefile.orig 2005-03-28 06:39:49.000000000 -0800 -+++ doc/Imakefile 2012-02-02 16:01:48.522525809 -0800 -@@ -17,7 +17,7 @@ - ALLFILES = $(DOCFILES) - - install:: -- $(MKDIRHIER) $(DESTDIR)$(DOC_DEST) -+ $(MKDIRHIER) $(DOC_DEST) - - InstallNonExecList($(DOCFILES),$(DOC_DEST)) - PopulateSCCSTree(h,$(ALLFILES) README) diff --git a/x11-toolkits/xview/files/patch-images+Imakefile b/x11-toolkits/xview/files/patch-images+Imakefile deleted file mode 100644 index 63d83bf11abc..000000000000 --- a/x11-toolkits/xview/files/patch-images+Imakefile +++ /dev/null @@ -1,11 +0,0 @@ ---- images/Imakefile.orig 2005-03-28 06:40:19.000000000 -0800 -+++ images/Imakefile 2012-02-02 16:03:14.473867390 -0800 -@@ -101,7 +101,7 @@ - - all:: $(SRCS) - --BuildIncludes($(INCLUDES_SRCS),$(IMAGE_INCDIR),/**/) -+BuildIncludes($(INCLUDES_SRCS),$(IMAGE_INCDIR),.) - - install:: $(SRCS) - $(MKDIRHIER) $(DESTDIR)$(HEADER_DEST)/$(IMAGEINC) diff --git a/x11-toolkits/xview/files/patch-lib+libolgx+ol_sb.c b/x11-toolkits/xview/files/patch-lib+libolgx+ol_sb.c deleted file mode 100644 index 3fb7c3127382..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libolgx+ol_sb.c +++ /dev/null @@ -1,15 +0,0 @@ ---- lib/libolgx/ol_sb.c.orig Mon Sep 29 00:02:40 2003 -+++ lib/libolgx/ol_sb.c Mon Sep 29 00:02:39 2003 -@@ -11,7 +11,12 @@ - */ - - #include <stdio.h> -+#include <sys/param.h> -+#ifdef __STDC__ -+#include <stdlib.h> -+#else - #include <malloc.h> -+#endif - #include <X11/Xlib.h> - #include <X11/Xutil.h> - #include "olgx_impl.h" diff --git a/x11-toolkits/xview/files/patch-lib+libxview+attr+attr.c b/x11-toolkits/xview/files/patch-lib+libxview+attr+attr.c deleted file mode 100644 index 788550bc519a..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+attr+attr.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/attr/attr.c.orig 2005-03-28 06:41:03.000000000 -0800 -+++ lib/libxview/attr/attr.c 2012-02-02 16:15:04.864763999 -0800 -@@ -91,7 +91,7 @@ - /* These two variables are used instead of the paramters so that the - position in the lists is maintained after a recursive call. - */ --#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) -+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || __amd64__ - __va_copy(valist, valist1); - #else - valist = valist1; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+attr+attr_copy.c b/x11-toolkits/xview/files/patch-lib+libxview+attr+attr_copy.c deleted file mode 100644 index 1aaec6cfa8fc..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+attr+attr_copy.c +++ /dev/null @@ -1,14 +0,0 @@ ---- ./lib/libxview/attr/attr_copy.c.orig Tue Jun 29 07:14:35 1993 -+++ ./lib/libxview/attr/attr_copy.c Sat Apr 1 18:25:23 2000 -@@ -12,6 +12,11 @@ static char sccsid[] = "@(#)attr_cop - - #include <xview/attr.h> - -+static int copy_1_attr(); -+static int copy_counted_list(); -+static int copy_singleton(); -+static int copy_null_list(); -+ - /* - * attr_copy: copy an attribute list, returning the size in bytes - */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+base+base.h b/x11-toolkits/xview/files/patch-lib+libxview+base+base.h deleted file mode 100644 index fb1b4459c326..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+base+base.h +++ /dev/null @@ -1,32 +0,0 @@ ---- lib/libxview/base/base.h.orig 2005-03-28 06:41:49.000000000 -0800 -+++ lib/libxview/base/base.h 2012-02-02 16:19:48.679145715 -0800 -@@ -6,10 +6,15 @@ - * file for terms of the license. - */ - -+#include <sys/param.h> - #ifndef xview_base_DEFINED - #define xview_base_DEFINED - #include <string.h> -+#ifdef __STDC__ -+#include <stdlib.h> -+#else - #include <malloc.h> -+#endif - - #include <xview/xv_c_types.h> - -@@ -54,10 +59,12 @@ - * non-SVR4 systems. - */ - #if !defined(SUNOS41) && !defined(__linux__) && !defined(__CYGWIN__) -+#if !(defined(BSD) && (BSD >= 199103)) - #define XV_OS_SVR4 --#define XV_USE_TTCOMPAT - #define SYSV_WAIT - #define SYSV_UCONTEXT -+#endif -+#define XV_USE_TTCOMPAT - #define XV_USE_XVFCNTL - #elif defined(__linux__) - #define XV_OS_SVR4 diff --git a/x11-toolkits/xview/files/patch-lib+libxview+base+xv.c b/x11-toolkits/xview/files/patch-lib+libxview+base+xv.c deleted file mode 100644 index 5fd1e7e3c68b..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+base+xv.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/base/xv.c.orig 2005-03-28 06:41:49.000000000 -0800 -+++ lib/libxview/base/xv.c 2012-02-02 16:22:12.711340868 -0800 -@@ -556,7 +556,7 @@ - case XV_KEY_DATA: - case XV_IS_SUBTYPE_OF: - status = XV_OK; --#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) -+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || __amd64__ - __va_copy(args, args_save); - #else - args = args_save; -@@ -579,7 +579,7 @@ - * Go to the beginning of the varargs list every time to insure each - * pkg gets the start of the varargs. - */ --#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) -+#if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || __amd64__ - __va_copy(args, args_save); - #else - args = args_save; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+base+xv_debug.h b/x11-toolkits/xview/files/patch-lib+libxview+base+xv_debug.h deleted file mode 100644 index f0a4c760d18e..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+base+xv_debug.h +++ /dev/null @@ -1,17 +0,0 @@ ---- lib/libxview/base/xv_debug.h.orig 2005-03-28 06:41:49.000000000 -0800 -+++ lib/libxview/base/xv_debug.h 2012-02-02 16:34:28.232644833 -0800 -@@ -11,9 +11,14 @@ - - #ifndef FILE - #if !defined(SVR4) && !defined(__linux__) -+#ifdef NULL - #undef NULL -+#endif - #endif /* SVR4 */ - #include <stdio.h> -+#ifndef NULL -+#define NULL 0 -+#endif - #endif /* FILE */ - #include <xview/pkg.h> /* needed to get definition of Xv_private */ - /* diff --git a/x11-toolkits/xview/files/patch-lib+libxview+base+xv_error.c b/x11-toolkits/xview/files/patch-lib+libxview+base+xv_error.c deleted file mode 100644 index 3ba0d008b4c2..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+base+xv_error.c +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/libxview/base/xv_error.c.orig 2005-03-28 06:41:48.000000000 -0800 -+++ lib/libxview/base/xv_error.c 2012-02-02 16:41:03.978724572 -0800 -@@ -11,6 +11,7 @@ - */ - - #include <stdio.h> -+#include <sys/param.h> - #include <xview/pkg_public.h> - #include <X11/Xlib.h> - #include <xview_private/i18n_impl.h> -@@ -21,12 +22,15 @@ - #include <errno.h> - #else - /* Unix system error variables */ --extern int sys_nerr; -+#if (defined(BSD) && (BSD >= 199306)) -+extern const char *const sys_errlist[]; -+#else - extern char *sys_errlist[]; -+#endif - extern int errno; - #endif - --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) - /* Global already defined in xv_init.c */ - Xv_private_data char *xv_app_name; - #else diff --git a/x11-toolkits/xview/files/patch-lib+libxview+color+cms_pblc.c b/x11-toolkits/xview/files/patch-lib+libxview+color+cms_pblc.c deleted file mode 100644 index d6ac5606d69a..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+color+cms_pblc.c +++ /dev/null @@ -1,15 +0,0 @@ ---- lib/libxview/color/cms_pblc.c.orig 2005-03-28 06:41:05.000000000 -0800 -+++ lib/libxview/color/cms_pblc.c 2012-02-02 16:47:45.624915917 -0800 -@@ -319,9 +319,12 @@ - /* Alpha compatibility, mbuck@debian.org */ - #if 0 - Attr_avlist avlist = (Attr_avlist) args; -+#else -+ Attr_avlist avlist; - #endif - int cms_status = 0; - -+ MAKE_AVLIST(args, avlist); - switch (attr) { - case CMS_PIXEL: { - unsigned long index; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+defaults+defaults.c b/x11-toolkits/xview/files/patch-lib+libxview+defaults+defaults.c deleted file mode 100644 index 94d18fd41964..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+defaults+defaults.c +++ /dev/null @@ -1,12 +0,0 @@ ---- lib/libxview/defaults/defaults.c.orig 2005-03-28 06:41:45.000000000 -0800 -+++ lib/libxview/defaults/defaults.c 2012-02-02 16:50:29.447421571 -0800 -@@ -24,8 +24,7 @@ - #include <xview/server.h> - #endif - #include <xview/xv_error.h> --/* mbuck@debian.org */ --#if 1 -+#ifdef X11R6 - #include <X11/Xlibint.h> - #else - #include <X11/Xlib.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+dnd+dnd.c b/x11-toolkits/xview/files/patch-lib+libxview+dnd+dnd.c deleted file mode 100644 index ca8e9bd8390d..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+dnd+dnd.c +++ /dev/null @@ -1,13 +0,0 @@ ---- ./lib/libxview/dnd/dnd.c.orig Tue Jun 29 07:15:57 1993 -+++ ./lib/libxview/dnd/dnd.c Sat Apr 1 18:25:23 2000 -@@ -38,6 +38,10 @@ static void UpdateGrabCursor(); - extern int DndContactDSDM(); - extern int DndFindSite(); - extern XID DndGetCursor(); -+static int SendTrigger(); -+static int SendOldDndEvent(); -+static int WaitForAck(); -+static int IsV2App(); - - Xv_public int - dnd_send_drop(dnd_public) diff --git a/x11-toolkits/xview/files/patch-lib+libxview+dnd+dnd_dsdm.c b/x11-toolkits/xview/files/patch-lib+libxview+dnd+dnd_dsdm.c deleted file mode 100644 index db645e5dc3be..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+dnd+dnd_dsdm.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/dnd/dnd_dsdm.c.orig Thu Oct 5 18:16:17 2006 -+++ lib/libxview/dnd/dnd_dsdm.c Thu Oct 5 18:17:26 2006 -@@ -40,7 +40,7 @@ - if (!dnd->sel) { - Xv_object owner, - server; -- static void ReplyProc(); -+ void ReplyProc(); - - owner = (Xv_object)xv_get(DND_PUBLIC(dnd), XV_OWNER); - -@@ -95,7 +95,7 @@ - } - - /* ARGSUSED */ --static void -+void - ReplyProc(sel, target, type, buffer, length, format) - Selection_requestor sel; - Atom target, type; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+dnd+site.c b/x11-toolkits/xview/files/patch-lib+libxview+dnd+site.c deleted file mode 100644 index 9af267dbb60b..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+dnd+site.c +++ /dev/null @@ -1,19 +0,0 @@ ---- lib/libxview/dnd/site.c.orig 2005-03-28 06:41:43.000000000 -0800 -+++ lib/libxview/dnd/site.c 2012-02-02 16:53:57.650628403 -0800 -@@ -19,6 +19,7 @@ - #ifdef SVR4 - #include <stdlib.h> - #endif /* SVR4 */ -+#include <sys/param.h> - - static void TransCoords(); - Xv_private Xv_Window win_get_top_level(); -@@ -245,6 +246,8 @@ - /* This will probably not work right, but it compiles. */ - /* (rectNode->rect) is of the wrong type. */ - memmove(rect, &(rectNode->rect), sizeof(Rect)); -+#elif (defined(BSD) && (BSD >= 199103)) -+ bcopy(&(rectNode->rect), rect, sizeof(Rect)); - #else - bcopy(rectNode->rect, rect, sizeof(Rect)); - #endif /* SVR4 */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+file_chooser+file_list.c b/x11-toolkits/xview/files/patch-lib+libxview+file_chooser+file_list.c deleted file mode 100644 index 1e422eb6f76e..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+file_chooser+file_list.c +++ /dev/null @@ -1,78 +0,0 @@ ---- lib/libxview/file_chooser/file_list.c.orig 2005-03-28 06:40:42.000000000 -0800 -+++ lib/libxview/file_chooser/file_list.c 2012-02-02 17:05:39.791400764 -0800 -@@ -23,6 +23,9 @@ - #include <xview_private/flist_impl.h> - #include <xview_private/portable.h> - -+#ifdef __FreeBSD__ -+#include <regex.h> -+#endif - - - /* X bitmaps for default glyphs */ -@@ -41,6 +44,7 @@ - static int flist_list_notify(); - static int validate_new_directory(); - static void flist_new_dir(); -+static int flist_match_regex(); - - #if defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus) - static void flist_error(File_list_private *private, char *format, ...); -@@ -530,7 +534,11 @@ - if (private->regex_compile != NULL && private->regex_compile->allocated) - xv_free_ref( private->regex_compile->buffer); - #endif -+#ifdef __FreeBSD__ -+ xv_free_regex_t( private->regex_compile ); -+#else - xv_free_ref( private->regex_compile ); -+#endif - xv_free_ref( private->dotdot_string ); - if ( private->dir_ptr ) - (void) closedir( private->dir_ptr ); -@@ -1184,12 +1192,15 @@ - static int step(); - #endif /* SVR4 */ - -+#ifndef __FreeBSD__ - #include <regexp.h> -+#endif - - static void - flist_compile_regex( private ) - File_list_private *private; - { -+#ifndef __FreeBSD__ - char compile_buf[MAXPATHLEN+1]; - char *end_ptr; - size_t num_bytes; -@@ -1205,6 +1216,17 @@ - xv_free_ref( private->regex_compile ); - private->regex_compile = xv_alloc_n(char, num_bytes); - (void) XV_BCOPY(compile_buf, private->regex_compile, num_bytes); -+#else -+ regex_t *compile_buf = malloc(sizeof(regex_t)); -+ if (compile_buf == NULL){ -+ fprintf(stderr, "Couldn't allocate compile buffer\n"); -+ exit(-1); -+ } -+ regcomp(compile_buf, private->regex_pattern, 0); -+ xv_free_regex_t(private->regex_compile); -+ private->regex_compile = (char *)compile_buf; -+#endif -+ - } - - -@@ -1213,7 +1235,11 @@ - char *s; - File_list_private *private; - { -+#ifndef __FreeBSD__ - return step(s, private->regex_compile); -+#else -+ return !regexec((regex_t *)private->regex_compile, s, 0, NULL, 0); -+#endif - } - - #else /* __linux__ */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+file_chooser+xv_path_util.h b/x11-toolkits/xview/files/patch-lib+libxview+file_chooser+xv_path_util.h deleted file mode 100644 index 685401fd3c73..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+file_chooser+xv_path_util.h +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/libxview/file_chooser/xv_path_util.h.orig Wed Oct 1 23:53:54 2003 -+++ lib/libxview/file_chooser/xv_path_util.h Wed Oct 1 23:53:54 2003 -@@ -41,6 +41,7 @@ - - - #define xv_free_ref(str) {if((str)) {xv_free((str)); (str) = NULL;}} -+#define xv_free_regex_t(str) {if((str)) {regfree((str)); free ((str)); (str) = NULL;}} - - - EXTERN_FUNCTION(void xv_error_sprintf, (Frame frame, int use_footer, char *format, DOTDOTDOT) ); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+font+font.c b/x11-toolkits/xview/files/patch-lib+libxview+font+font.c deleted file mode 100644 index 4875b05b34bc..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+font+font.c +++ /dev/null @@ -1,13 +0,0 @@ ---- ./lib/libxview/font/font.c.orig Tue Jun 29 07:15:01 1993 -+++ ./lib/libxview/font/font.c Sat Apr 1 18:25:24 2000 -@@ -67,6 +67,10 @@ Xv_private char *xv_font_regular_cmdline - Xv_private char *xv_font_scale_cmdline(); - Xv_private char *xv_font_scale(); - -+static int font_setup_defaults(); -+static int font_construct_name(); -+static int font_init_create_attrs(); -+ - /* - * delimiters - */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+font+font_get.c b/x11-toolkits/xview/files/patch-lib+libxview+font+font_get.c deleted file mode 100644 index e5e8bd08390a..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+font+font_get.c +++ /dev/null @@ -1,14 +0,0 @@ ---- lib/libxview/font/font_get.c.orig 2005-03-28 06:41:44.000000000 -0800 -+++ lib/libxview/font/font_get.c 2012-02-02 17:10:02.725435117 -0800 -@@ -47,6 +47,11 @@ - #if 0 - Attr_avlist avlist = (Attr_avlist) args; - #endif -+#ifdef __FreeBSD__ -+ Attr_avlist avlist; -+ -+ MAKE_AVLIST(args, avlist); -+#endif - - #ifdef OW_I18N - if (font->type == FONT_TYPE_TEXT) { diff --git a/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_get.c b/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_get.c deleted file mode 100644 index 0367c185e512..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_get.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./lib/libxview/frame/fm_get.c.orig Tue Jun 29 07:16:10 1993 -+++ ./lib/libxview/frame/fm_get.c Sat Apr 1 18:25:24 2000 -@@ -10,6 +10,7 @@ static char sccsid[] = "@(#)fm_get.c - * file for terms of the license. - */ - -+#include <ctype.h> - #include <xview_private/fm_impl.h> - #include <xview_private/draw_impl.h> - #include <xview/server.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_impl.h b/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_impl.h deleted file mode 100644 index ecad58598829..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_impl.h +++ /dev/null @@ -1,17 +0,0 @@ ---- lib/libxview/frame/fm_impl.h.orig 2005-03-28 06:41:27.000000000 -0800 -+++ lib/libxview/frame/fm_impl.h 2012-02-02 17:15:19.460301420 -0800 -@@ -19,9 +19,14 @@ - /* standard includes */ - #ifndef FILE - #if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__) -+#ifdef NULL - #undef NULL -+#endif - #endif /* SVR4 */ - #include <stdio.h> -+#ifndef NULL -+#define NULL 0 -+#endif - #endif /* FILE */ - #include <sys/time.h> - #ifdef OW_I18N diff --git a/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_props.h b/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_props.h deleted file mode 100644 index c42999a16af9..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_props.h +++ /dev/null @@ -1,17 +0,0 @@ ---- lib/libxview/frame/fm_props.h.orig 2005-03-28 06:41:27.000000000 -0800 -+++ lib/libxview/frame/fm_props.h 2012-02-02 17:18:57.633679042 -0800 -@@ -15,9 +15,14 @@ - /* standard includes */ - #ifndef FILE - #if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__) -+#ifdef NULL - #undef NULL -+#endif - #endif /* SVR4 */ - #include <stdio.h> -+#ifndef NULL -+#define NULL 0 -+#endif - #endif /* FILE */ - #include <sys/time.h> - #include <xview/notify.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_rescale.c b/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_rescale.c deleted file mode 100644 index 0721f17c7213..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+frame+fm_rescale.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/frame/fm_rescale.c.orig 2005-03-28 06:41:27.000000000 -0800 -+++ lib/libxview/frame/fm_rescale.c 2012-02-02 17:20:51.135422700 -0800 -@@ -43,7 +43,7 @@ - */ - window_default_event_func(frame_public, (Event *) 0, scale, (Notify_event_type) 0); - window_calculate_new_size(frame_public, frame_public, &frame_height, &frame_width); --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) - xv_set(frame_public, WIN_RECT, 0); /* This looks like a XView bug to me */ - #endif - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+frame+fmcmd_set.c b/x11-toolkits/xview/files/patch-lib+libxview+frame+fmcmd_set.c deleted file mode 100644 index 7780fd0f93a7..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+frame+fmcmd_set.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/libxview/frame/fmcmd_set.c.orig Tue Jun 29 07:16:07 1993 -+++ ./lib/libxview/frame/fmcmd_set.c Sat Apr 1 18:25:24 2000 -@@ -18,6 +18,8 @@ static char sccsid[] = "@(#)fmcmd_se - #include <xview/panel.h> - #include <xview/server.h> - -+static int update_default_pin_state(); -+ - Pkg_private Xv_opaque - frame_cmd_set_avlist(frame_public, avlist) - Frame frame_public; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_base.h b/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_base.h deleted file mode 100644 index 93f62ad77882..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_base.h +++ /dev/null @@ -1,17 +0,0 @@ ---- lib/libxview/frame/frame_base.h.orig 2005-03-28 06:41:27.000000000 -0800 -+++ lib/libxview/frame/frame_base.h 2012-02-03 13:42:33.820547288 -0800 -@@ -19,9 +19,14 @@ - /* standard includes */ - #ifndef FILE - #if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__) -+#ifdef NULL - #undef NULL -+#endif - #endif /* SVR4 */ - #include <stdio.h> -+#ifndef NULL -+#define NULL 0 -+#endif - #endif /* FILE */ - #include <sys/time.h> - #include <xview/notify.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_cmd.h b/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_cmd.h deleted file mode 100644 index f291e028cf83..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_cmd.h +++ /dev/null @@ -1,17 +0,0 @@ ---- lib/libxview/frame/frame_cmd.h.orig 2005-03-28 06:41:27.000000000 -0800 -+++ lib/libxview/frame/frame_cmd.h 2012-02-02 17:25:53.470077244 -0800 -@@ -19,9 +19,14 @@ - /* standard includes */ - #ifndef FILE - #if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__) -+#ifdef NULL - #undef NULL -+#endif - #endif /* SVR4 */ - #include <stdio.h> -+#ifndef NULL -+#define NULL 0 -+#endif - #endif /* FILE */ - #include <sys/time.h> - #include <xview/notify.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_help.h b/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_help.h deleted file mode 100644 index 3f306feda748..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+frame+frame_help.h +++ /dev/null @@ -1,17 +0,0 @@ ---- lib/libxview/frame/frame_help.h.orig 2005-03-28 06:41:27.000000000 -0800 -+++ lib/libxview/frame/frame_help.h 2012-02-02 17:27:52.211890239 -0800 -@@ -19,9 +19,14 @@ - /* standard includes */ - #ifndef FILE - #if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__) -+#ifdef NULL - #undef NULL -+#endif - #endif /* SVR4 */ - #include <stdio.h> -+#ifndef NULL -+#define NULL 0 -+#endif - #endif /* FILE */ - #include <sys/time.h> - #include <xview/notify.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+io_stream+file_strms.c b/x11-toolkits/xview/files/patch-lib+libxview+io_stream+file_strms.c deleted file mode 100644 index ea38b7748475..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+io_stream+file_strms.c +++ /dev/null @@ -1,26 +0,0 @@ ---- ./lib/libxview/io_stream/file_strms.c.orig Tue Jun 29 07:15:07 1993 -+++ ./lib/libxview/io_stream/file_strms.c Sat Apr 1 18:25:24 2000 -@@ -17,7 +17,11 @@ static char sccsid[] = "@(#)file_str - - #define GetFISData struct xv_file_input_stream_data *data = (struct xv_file_input_stream_data*) in->client_data - -+#ifndef __FreeBSD__ - static struct xv_file_input_stream_data { -+#else -+struct xv_file_input_stream_data { -+#endif - FILE *fp; - int lineno; - }; -@@ -156,7 +160,11 @@ xv_file_input_stream(s, fp) - - #define GetFOSData struct xv_file_output_stream_data *data = (struct xv_file_output_stream_data*) out->client_data - -+#ifndef __FreeBSD__ - static struct xv_file_output_stream_data { -+#else -+struct xv_file_output_stream_data { -+#endif - FILE *fp; - int lineno; - }; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+io_stream+input.c b/x11-toolkits/xview/files/patch-lib+libxview+io_stream+input.c deleted file mode 100644 index 2633c92172f4..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+io_stream+input.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/io_stream/input.c.orig Sat Mar 25 23:13:46 2006 -+++ lib/libxview/io_stream/input.c Sat Mar 25 23:14:17 2006 -@@ -22,7 +22,7 @@ - XV_MSG("input stream not of type input"), 0); \ - ops = in->ops.input_ops - --char *stream_getstring(); -+static char *stream_getstring(); - - /* GENERIC INPUT FUNCTIONS */ - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+io_stream+othr_strms.c b/x11-toolkits/xview/files/patch-lib+libxview+io_stream+othr_strms.c deleted file mode 100644 index 9411667e503a..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+io_stream+othr_strms.c +++ /dev/null @@ -1,14 +0,0 @@ ---- ./lib/libxview/io_stream/othr_strms.c.orig Tue Jun 29 07:15:05 1993 -+++ ./lib/libxview/io_stream/othr_strms.c Sat Apr 1 18:25:24 2000 -@@ -17,7 +17,11 @@ static char sccsid[] = "@(#)othr_str - - #define GetFCSData struct xv_filter_comments_stream_data *data = (struct xv_filter_comments_stream_data*) in->client_data - -+#ifndef __FreeBSD__ - static struct xv_filter_comments_stream_data { -+#else -+struct xv_filter_comments_stream_data { -+#endif - Bool backed_up; - char backup, lastchar; - }; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+io_stream+str_strms.c b/x11-toolkits/xview/files/patch-lib+libxview+io_stream+str_strms.c deleted file mode 100644 index 39e39aecc8ab..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+io_stream+str_strms.c +++ /dev/null @@ -1,26 +0,0 @@ ---- ./lib/libxview/io_stream/str_strms.c.orig Tue Jun 29 07:15:06 1993 -+++ ./lib/libxview/io_stream/str_strms.c Sat Apr 1 18:25:24 2000 -@@ -17,7 +17,11 @@ static char sccsid[] = "@(#)str_strm - - #define GetSISData struct string_input_stream_data *data = (struct string_input_stream_data*) in->client_data - -+#ifndef __FreeBSD__ - static struct string_input_stream_data { -+#else -+struct string_input_stream_data { -+#endif - char *string; - int charpos; - }; -@@ -148,7 +152,11 @@ string_input_stream(s, in) - - #define GetSOSData struct string_output_stream_data *data = (struct string_output_stream_data*) out->client_data - -+#ifndef __FreeBSD__ - static struct string_output_stream_data { -+#else -+struct string_output_stream_data { -+#endif - char *string; - int charpos; - }; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+menu+om_set.c b/x11-toolkits/xview/files/patch-lib+libxview+menu+om_set.c deleted file mode 100644 index 407c1c6ffc3f..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+menu+om_set.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./lib/libxview/menu/om_set.c.orig Tue Jun 29 07:16:24 1993 -+++ ./lib/libxview/menu/om_set.c Sat Apr 1 18:25:25 2000 -@@ -12,6 +12,7 @@ static char sccsid[] = "@(#)om_set.c - - /* --------------------------------------------------------------------- */ - #include <sys/types.h> -+#include <ctype.h> - #include <xview_private/om_impl.h> - #include <xview_private/draw_impl.h> - #include <xview_private/fm_impl.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c b/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c deleted file mode 100644 index 98efb48cdc55..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+misc+expandname.c +++ /dev/null @@ -1,12 +0,0 @@ ---- lib/libxview/misc/expandname.c.orig 2005-03-28 06:41:36.000000000 -0800 -+++ lib/libxview/misc/expandname.c 2012-02-02 20:25:52.508626867 -0800 -@@ -122,7 +122,9 @@ - } - (void) close(pivec[0]); - #ifndef SVR4 -+#if !(defined(BSD) && (BSD >= 199103)) - while (wait((union wait *) & status) != pid); -+#endif - #else /* SVR4 */ - while (wait( & status) != pid); - #endif /* SVR4 */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+misc+getlogindr.c b/x11-toolkits/xview/files/patch-lib+libxview+misc+getlogindr.c deleted file mode 100644 index d773e611ea5a..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+misc+getlogindr.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./lib/libxview/misc/getlogindr.c.orig Tue Jun 29 07:16:30 1993 -+++ ./lib/libxview/misc/getlogindr.c Sat Apr 1 18:25:25 2000 -@@ -17,6 +17,7 @@ static char sccsid[] = "@(#)getlogin - - #include <stdio.h> - #include <pwd.h> -+#include <sys/param.h> - #include <xview_private/i18n_impl.h> - #include <xview/xv_error.h> - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+misc+gettext.c b/x11-toolkits/xview/files/patch-lib+libxview+misc+gettext.c deleted file mode 100644 index 3158431b9e13..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+misc+gettext.c +++ /dev/null @@ -1,16 +0,0 @@ ---- lib/libxview/misc/gettext.c.orig 2012-02-03 16:44:26.083038397 -0800 -+++ lib/libxview/misc/gettext.c 2012-02-03 16:47:10.335612397 -0800 -@@ -10,10 +10,10 @@ - #include <string.h> - #include <xview_private/gettext.h> - --char * dgettext(char *, char *), *bindtextdomain(); --char *_gettext(); -+char * dgettext(char* domain_nane, char* msg_id), *bindtextdomain(); -+static char *_gettext(); - char *fgets(), *getenv(); --#if (!defined(__linux__) || !defined(__GLIBC__)) && !defined(__CYGWIN__) -+#if (!defined(__linux__) || !defined(__GLIBC__)) && !defined(__CYGWIN__) && !defined(OS_HAS_MMAP) || !defined(__FreeBSD__) - caddr_t mmap(); - #endif - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+misc+gettext.h b/x11-toolkits/xview/files/patch-lib+libxview+misc+gettext.h deleted file mode 100644 index d23f49cafdc1..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+misc+gettext.h +++ /dev/null @@ -1,14 +0,0 @@ ---- lib/libxview/misc/gettext.h.orig 2005-03-28 06:41:36.000000000 -0800 -+++ lib/libxview/misc/gettext.h 2012-02-02 20:37:56.819985942 -0800 -@@ -2,7 +2,11 @@ - - #define DEFAULT_DOMAIN "default" - #if !defined(__linux__) && !defined(__CYGWIN__) -+#ifdef __FreeBSD__ -+#define DEFAULT_BINDING "/usr/local/lib/X11//locale\n" -+#else - #define DEFAULT_BINDING "/usr/lib/locale\n" -+#endif - #else - #define DEFAULT_BINDING "/usr/openwin/lib/locale\n" - #endif diff --git a/x11-toolkits/xview/files/patch-lib+libxview+misc+portable.h b/x11-toolkits/xview/files/patch-lib+libxview+misc+portable.h deleted file mode 100644 index c74d7d1e9e51..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+misc+portable.h +++ /dev/null @@ -1,33 +0,0 @@ ---- lib/libxview/misc/portable.h.orig 2005-03-28 06:41:36.000000000 -0800 -+++ lib/libxview/misc/portable.h 2012-02-02 20:41:11.043182949 -0800 -@@ -10,6 +10,7 @@ - #ifndef xview_portable_h_DEFINED - #define xview_portable_h_DEFINED - -+#include <sys/param.h> - #include <xview/attr.h> - - #if defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus) -@@ -24,6 +25,10 @@ - - EXTERN_FUNCTION (Attr_avlist copy_va_to_av, (va_list valist, Attr_avlist avlist, Attr_attribute attr1)); - -+#ifdef __alpha__ -+#define NO_CAST_VATOAV -+#endif -+ - #ifdef NO_CAST_VATOAV - #define AVLIST_DECL Attr_attribute avarray[ATTR_STANDARD_SIZE]; \ - Attr_avlist avlist = avarray -@@ -74,7 +79,11 @@ - #define XV_USE_TERMIOS - #define XV_USE_SVR4_PTYS - #else /* SVR4 */ -+#if (defined(BSD) && (BSD >= 199103)) -+#define XV_USE_TERMIOS -+#else - #undef XV_USE_TERMIOS -+#endif - #undef XV_USE_SVR4_PTYS - #endif /* SVR4 */ - #endif /* __linux__ */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+misc+quark.c b/x11-toolkits/xview/files/patch-lib+libxview+misc+quark.c deleted file mode 100644 index 737cf9a110c9..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+misc+quark.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/misc/quark.c.orig Thu Oct 5 18:57:21 2006 -+++ lib/libxview/misc/quark.c Thu Oct 5 18:57:45 2006 -@@ -16,7 +16,7 @@ - #include <xview/xview.h> - #include <xview/pkg.h> - --Xv_opaque resource_type_conv(); -+static Xv_opaque resource_type_conv(); - - /* - * Utilities to deal with quark lists and such. diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notice+notice_get.c b/x11-toolkits/xview/files/patch-lib+libxview+notice+notice_get.c deleted file mode 100644 index 356856b8b642..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notice+notice_get.c +++ /dev/null @@ -1,15 +0,0 @@ ---- lib/libxview/notice/notice_get.c.orig 2005-03-28 06:41:08.000000000 -0800 -+++ lib/libxview/notice/notice_get.c 2012-02-02 20:44:18.306259052 -0800 -@@ -32,9 +32,12 @@ - /* Alpha compatibility, mbuck@debian.org */ - #if 0 - Attr_avlist avlist = (Attr_avlist) valist; -+#else -+ Attr_avlist avlist; - #endif - Xv_opaque v = (Xv_opaque)NULL; - -+ MAKE_AVLIST(valist, avlist); - switch (attr) { - case NOTICE_LOCK_SCREEN: - v = (Xv_opaque)notice->lock_screen; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notice+notice_pt.c b/x11-toolkits/xview/files/patch-lib+libxview+notice+notice_pt.c deleted file mode 100644 index 6682d30db82d..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notice+notice_pt.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./lib/libxview/notice/notice_pt.c.orig Tue Jun 29 07:16:40 1993 -+++ ./lib/libxview/notice/notice_pt.c Sat Apr 1 18:25:25 2000 -@@ -58,6 +58,7 @@ static notice_buttons_handle notice_butt - static void notice_copy_event(); - static Xv_window notice_get_focus_win(); - static int notice_show_focus_win(); -+static int notice_quadrant(); - - /* - * --------------------------- STATICS ------------------------------ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet.h b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet.h deleted file mode 100644 index 46a6600bf238..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet.h +++ /dev/null @@ -1,14 +0,0 @@ ---- lib/libxview/notify/ndet.h.orig Tue Jun 29 00:18:12 1993 -+++ lib/libxview/notify/ndet.h Sun Oct 12 19:47:56 2003 -@@ -17,6 +17,11 @@ - #ifndef NDET_DEFINED - #define NDET_DEFINED - -+#include <sys/param.h> -+#if (defined(BSD) && (BSD >= 199103)) -+#include <signal.h> -+#endif -+ - /* - ********************** Detector Loop Notes **************************** - Here is some notes on the detector loop: diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_auto.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_auto.c deleted file mode 100644 index 5660b3c7b266..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_auto.c +++ /dev/null @@ -1,12 +0,0 @@ ---- lib/libxview/notify/ndet_auto.c.orig Sun Oct 12 19:37:15 2003 -+++ lib/libxview/notify/ndet_auto.c Sun Oct 12 19:39:34 2003 -@@ -21,7 +21,8 @@ - #include <xview_private/ndis.h> /* For ndis_enqueue */ - #include <errno.h> - #include <signal.h> --#ifdef SVR4 -+#include <sys/param.h> -+#if defined(SVR4) || defined(BSD4_4) - #include <stdlib.h> - #endif SVR4 - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_fcntl.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_fcntl.c deleted file mode 100644 index 9c029f0b7dbc..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_fcntl.c +++ /dev/null @@ -1,44 +0,0 @@ ---- lib/libxview/notify/ndet_fcntl.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/ndet_fcntl.c 2012-02-02 20:54:21.876186252 -0800 -@@ -17,12 +17,13 @@ - - #include <xview_private/ntfy.h> - #include <xview_private/ndet.h> -+#include <sys/param.h> - #include <signal.h> - #include <fcntl.h> - #if defined SVR4 || __CYGWIN__ - #include <sys/file.h> - #endif /* SVR4 */ --#ifdef __linux__ -+#if defined(__linux__) || (defined(BSD) && (BSD >= 199103)) - #include <stdarg.h> - #endif - -@@ -31,12 +32,26 @@ - #if defined SVR4 || __CYGWIN__ - xv_fcntl(fd, cmd, arg) - #else -+#if (defined(BSD) && (BSD >= 199103)) -+fcntl(int fd, int cmd, ...) -+#else - fcntl(fd, cmd, arg) -+#endif - #endif /* SVR4 */ -+#if !(defined(BSD) && (BSD >= 199103)) - int fd, cmd, arg; -+#endif - { - fd_set bit; - int res; -+ -+#if (defined(BSD) && (BSD >= 199103)) -+ int arg; -+ va_list valist; -+ va_start(valist, cmd); -+ arg = va_arg(valist, int); -+ va_end(valist); -+#endif - #else /* __linux__ */ - /* fcntl() is declared using variable args in linux */ - fcntl(int fd, int cmd, ...) { diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_fd.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_fd.c deleted file mode 100644 index 3c30ca6362f6..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_fd.c +++ /dev/null @@ -1,14 +0,0 @@ ---- lib/libxview/notify/ndet_fd.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/ndet_fd.c 2012-02-02 20:58:01.499747999 -0800 -@@ -27,8 +27,9 @@ - #define GETDTABLESIZE() \ - (dtablesize_cache?dtablesize_cache:(dtablesize_cache=(int)sysconf(_SC_OPEN_MAX))) - #else --#define GETDTABLESIZE() \ -- (dtablesize_cache?dtablesize_cache:(dtablesize_cache=getdtablesize())) -+#define GETDTABLESIZE() \ -+ (dtablesize_cache ? dtablesize_cache : \ -+ (dtablesize_cache = MIN(getdtablesize(), FD_SETSIZE))) - #endif /* SVR4 */ - - static int ndet_fd_table_size; /* Number of descriptor slots diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c deleted file mode 100644 index bb851c9a55f8..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_loop.c +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/libxview/notify/ndet_loop.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/ndet_loop.c 2012-02-02 21:04:53.576391986 -0800 -@@ -14,6 +14,7 @@ - * Ndet_loop.c - Notification loop. - */ - -+#include <sys/param.h> - #include <xview_private/i18n_impl.h> - #include <xview_private/ntfy.h> - #include <xview_private/ndet.h> -@@ -21,7 +22,7 @@ - #include <xview_private/ndis.h> /* For ndis_dispatch */ - #if !defined(__linux__) && !defined(__CYGWIN__) - #ifndef SVR4 --#include <syscall.h> -+#include <sys/syscall.h> - #else /* SVR4 */ - #include <sys/syscall.h> - #include <sys/poll.h> -@@ -232,7 +233,7 @@ - * will return with an EINTR when a signal arrives while IN - * select, not ON THE WAY into select). - */ --#ifndef SVR4 -+#if !defined(SVR4) && !(defined(BSD) && (BSD >= 199103)) - #if !defined(__linux__) && !defined(__CYGWIN__) - nfds = syscall(SYS_select, - FD_SETSIZE, &ibits, &obits, &ebits, diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_read.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_read.c deleted file mode 100644 index 6ea050bccd32..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_read.c +++ /dev/null @@ -1,27 +0,0 @@ ---- lib/libxview/notify/ndet_read.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/ndet_read.c 2012-02-02 21:11:37.972925839 -0800 -@@ -15,6 +15,7 @@ - * not already in the middle of it. - */ - -+#include <sys/param.h> - #include <xview_private/ntfy.h> - #include <xview_private/ndet.h> - #include <xview_private/ndis.h> /* For ndis_client == NTFY_CLIENT_NULL check */ -@@ -29,11 +30,16 @@ - - static Notify_client ndet_read_nclient = (Notify_client) & ndet_read_done; - -+#if !(defined(BSD) && (BSD >= 199103)) - extern int - ndet_read(fd, buf, nbytes) - register int fd; - char *buf; - int nbytes; -+#else -+extern int -+ndet_read(int fd, void *buf, size_t nbytes) -+#endif - { - int ndelay; - Notify_error return_code; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_wait.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_wait.c deleted file mode 100644 index 110f6141cbbf..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndet_wait.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/notify/ndet_wait.c.orig 2006-01-04 11:52:12.000000000 +0000 -+++ lib/libxview/notify/ndet_wait.c -@@ -18,8 +18,6 @@ static char sccsid[] = "@(#)ndet_wai - #include <xview_private/ndet.h> - #include <errno.h> - --extern errno; -- - pkg_private int - ndet_check_pid(pid) - int pid; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndetselect.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndetselect.c deleted file mode 100644 index 6fca857388f5..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndetselect.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/libxview/notify/ndetselect.c.orig 2006-01-04 11:53:02.000000000 +0000 -+++ lib/libxview/notify/ndetselect.c -@@ -28,7 +28,6 @@ static int ndet_select_nfds, ndet_s - - static Notify_client ndet_select_nclient = (Notify_client) & ndet_select_ibits; - --extern errno; - extern int notify_exclude_fd; - - extern int diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndisd_wait.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndisd_wait.c deleted file mode 100644 index 23be47b33091..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndisd_wait.c +++ /dev/null @@ -1,18 +0,0 @@ ---- lib/libxview/notify/ndisd_wait.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/ndisd_wait.c 2012-02-02 21:15:25.836613036 -0800 -@@ -16,13 +16,14 @@ - #include <xview_private/ntfy.h> - #include <xview_private/ndis.h> - #include <signal.h> -+#include <sys/param.h> - - /* ARGSUSED */ - extern Notify_value - notify_default_wait3(client, pid, status, rusage) - Notify_client client; - int pid; --#if !defined SVR4 && !defined __CYGWIN__ -+#if !defined SVR4 && !defined __CYGWIN__ && !defined BSD4_4 - union wait *status; - #else /* SVR4 */ - int *status; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndisdispch.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ndisdispch.c deleted file mode 100644 index 8abc92311bbc..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ndisdispch.c +++ /dev/null @@ -1,14 +0,0 @@ ---- lib/libxview/notify/ndisdispch.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/ndisdispch.c 2012-02-02 21:19:12.920272396 -0800 -@@ -30,8 +30,9 @@ - #define GETDTABLESIZE() \ - (dtablesize_cache?dtablesize_cache:(dtablesize_cache=(int)sysconf(_SC_OPEN_MAX))) - #else --#define GETDTABLESIZE() \ -- (dtablesize_cache?dtablesize_cache:(dtablesize_cache=getdtablesize())) -+#define GETDTABLESIZE() \ -+ (dtablesize_cache ? dtablesize_cache : \ -+ (dtablesize_cache = MIN(getdtablesize(), FD_SETSIZE))) - #endif /* SVR4 */ - - pkg_private_data u_int ndis_flags = 0; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+nintn_wait.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+nintn_wait.c deleted file mode 100644 index 2e63061b57d4..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+nintn_wait.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/notify/nintn_wait.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/nintn_wait.c 2012-02-02 21:22:32.283495742 -0800 -@@ -22,7 +22,7 @@ - notify_next_wait3_func(nclient, pid, status, rusage) - Notify_client nclient; - int pid; --#if !defined SVR4 && !defined __CYGWIN__ -+#if !defined SVR4 && !defined __CYGWIN__ && !defined BSD4_4 - union wait *status; - #else /* SVR4 */ - int *status; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+notify.h b/x11-toolkits/xview/files/patch-lib+libxview+notify+notify.h deleted file mode 100644 index bd6b378ab816..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+notify.h +++ /dev/null @@ -1,15 +0,0 @@ ---- lib/libxview/notify/notify.h.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/notify.h 2012-02-02 21:25:57.386812073 -0800 -@@ -26,9 +26,11 @@ - #if !defined(__linux__) && !defined(__CYGWIN__) - # ifdef SYSV_WAIT - # include <sys/rusage.h> -+# elif (__FreeBSD__>=4) -+# define SYSV_WAIT - # endif - #endif --#ifdef SYSV_UCONTEXT -+#if defined(SYSV_UCONTEXT) || (__FreeBSD__>=4) - # include <sys/ucontext.h> - #else - typedef int ucontext_t; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfy.h b/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfy.h deleted file mode 100644 index fa91af5ecb50..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfy.h +++ /dev/null @@ -1,36 +0,0 @@ ---- lib/libxview/notify/ntfy.h.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/ntfy.h 2012-02-02 22:53:44.551883626 -0800 -@@ -35,6 +35,10 @@ - #include <sys/rusage.h> - #endif - #include <sys/resource.h> -+#if (defined(BSD) && (BSD >= 199103)) -+#include <sys/wait.h> -+#include <sys/signal.h> -+#endif - #include <xview/notify.h> - - /* -@@ -167,7 +171,7 @@ - */ - typedef struct ntfy_wait3_data { - int pid; /* Process waiting for */ --#if !defined(SVR4) && !(defined(__linux__) || defined(__CYGWIN__)) -+#if !defined(SVR4) && !(defined(__linux__) || defined(__CYGWIN__) || defined(BSD4_4)) - union wait status; /* Return value from wait3 */ - #else /* SVR4 */ - int status; /* Return value from wait3 */ -@@ -210,7 +214,12 @@ - #define sigisempty(s) (!(((s)->__sigbits[0]) | ((s)->__sigbits[1]) \ - | ((s)->__sigbits[2]) | ((s)->__sigbits[3]))) - #else --#define sigisempty(s) (!(*(s))) -+static int -+sigisempty (sigset_t *s) { -+ sigset_t n; -+ bzero(&n, sizeof(sigset_t)); -+ return (! memcmp(&n, s, sizeof(sigset_t))); -+} - #endif - #endif - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfy_test.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfy_test.c deleted file mode 100644 index 58e80a1c293b..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfy_test.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./lib/libxview/notify/ntfy_test.c.orig Tue Jun 29 07:18:12 1993 -+++ ./lib/libxview/notify/ntfy_test.c Sat Apr 1 18:25:26 2000 -@@ -989,7 +989,7 @@ nt_try_send_event(client, cond) - fprintf(stderr, "%s in unknown destroy status\n", arg1); - goto Error; - } -- if ((ne = notify_post_destroy(client, status)) != NOTIFY_OK) { -+ if ((ne = notify_post_destroy(client, status), NOTIFY_IMMEDIATE) != NOTIFY_OK) { - if (!(status == DESTROY_CHECKING && - ne == NOTIFY_DESTROY_VETOED)) { - notify_perror("notify_destroy"); -@@ -1781,7 +1781,7 @@ nt_prioritizer(nclient, nfd, ibits_ptr, - } - /* Send only last client event */ - if (*event_count_ptr > 0) { -- (void) notify_event(nclient, *(events + (*event_count_ptr) - 1)); -+ (void) notify_event(nclient, *(events + (*event_count_ptr) - 1), 0); - *event_count_ptr--; - } - /* Send fd 1 input */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfyclient.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfyclient.c deleted file mode 100644 index 4f206ce2ac11..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ntfyclient.c +++ /dev/null @@ -1,26 +0,0 @@ ---- lib/libxview/notify/ntfyclient.c.orig 2012-02-03 16:47:24.025771621 -0800 -+++ lib/libxview/notify/ntfyclient.c 2012-02-03 16:57:20.624935481 -0800 -@@ -23,7 +23,15 @@ - /* Newsflash: As of libc-5.0.9, Linux has tsearch() & friends, so we define - * HAVE_TSEARCH here. <martin-2.buck@student.uni-ulm.de> - */ -+ -+/* XXX -+ XXX Previous version of the FreeBSD patch assumed FreeBSD had no -+ XXX tsearch() support or that it didn't work. -+ XXX -+ XXX */ -+#ifdef __FreeBSD__ - #define HAVE_TSEARCH -+#endif - - #include <xview_private/ntfy.h> - #include <xview_private/ndis.h> /* For ndis_default_prioritizer */ -@@ -103,7 +111,6 @@ - return (client); - } - } -- - else - #endif - /* Search entire list */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_fcntl.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_fcntl.c deleted file mode 100644 index d97c5364e981..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_fcntl.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/notify/sys_fcntl.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/sys_fcntl.c 2012-02-03 08:15:30.766090164 -0800 -@@ -14,7 +14,7 @@ - * Sys_fcntl.c - Real system call to fcntl. - */ - --#ifndef SVR4 -+#if !defined(SVR4) && !defined(__FreeBSD__) - #if !defined(__linux__) && !defined(__CYGWIN__) - #include <syscall.h> - #else diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_read.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_read.c deleted file mode 100644 index b9935e7c55df..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_read.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/notify/sys_read.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/sys_read.c 2012-02-03 08:17:27.427881537 -0800 -@@ -14,7 +14,7 @@ - * Sys_read.c - Real system call to read. - */ - --#ifndef SVR4 -+#if !defined(SVR4) && !defined(__FreeBSD__) - #if !defined(__linux__) && !defined(__CYGWIN__) - #include <syscall.h> - #else diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_select.c b/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_select.c deleted file mode 100644 index 859533810b9c..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+sys_select.c +++ /dev/null @@ -1,18 +0,0 @@ ---- lib/libxview/notify/sys_select.c.orig 2005-03-28 06:41:00.000000000 -0800 -+++ lib/libxview/notify/sys_select.c 2012-02-03 08:22:42.752727013 -0800 -@@ -15,11 +15,15 @@ - */ - - #ifndef SVR4 -+#ifdef __FreeBSD__ -+#include <sys/syscall.h> -+#else - #if !defined __linux__ && !defined __CYGWIN__ - #include <syscall.h> - #else - #include "linux_select.h" - #endif -+#endif /* __FreeBSD__ */ - #else /* SVR4 */ - #include <values.h> - #include <sys/time.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+notify+ultrix_cpt.h b/x11-toolkits/xview/files/patch-lib+libxview+notify+ultrix_cpt.h deleted file mode 100644 index 432e82b63b3d..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+notify+ultrix_cpt.h +++ /dev/null @@ -1,14 +0,0 @@ ---- lib/libxview/notify/ultrix_cpt.h.orig Fri Oct 17 00:27:24 2003 -+++ lib/libxview/notify/ultrix_cpt.h Fri Oct 17 00:43:03 2003 -@@ -14,7 +14,10 @@ - #ifndef xview_ultrix_compat_DEFINED - #define xview_ultrix_compat_DEFINED - --#ifdef OLD_BSD_FDSETS -+#ifdef __FreeBSD__ -+#include <sys/param.h> -+#include <sys/select.h> -+#elif defined(OLD_BSD_FDSETS) - - #ifndef NBBY - #define NBBY 8 /* number of bits in a byte */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+openwin+ow_view.c b/x11-toolkits/xview/files/patch-lib+libxview+openwin+ow_view.c deleted file mode 100644 index 3be563b92075..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+openwin+ow_view.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./lib/libxview/openwin/ow_view.c.orig Tue Jun 29 07:16:43 1993 -+++ ./lib/libxview/openwin/ow_view.c Sat Apr 1 18:25:26 2000 -@@ -48,6 +48,7 @@ void openwin_remove_split(); - static openwin_init_view(); - static openwin_free_view(); - static openwin_remove_scrollbars(); -+static int openwin_check_view(); - static openwin_create_viewwindow(); - static openwin_test_for_sb(); - static openwin_link_view(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+item_set.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+item_set.c deleted file mode 100644 index 6150392acc41..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+item_set.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/panel/item_set.c.orig Thu Oct 5 19:03:02 2006 -+++ lib/libxview/panel/item_set.c Thu Oct 5 19:04:55 2006 -@@ -26,6 +26,8 @@ - - static void item_adjust_label_size(); - -+static fix_positions(); -+ - extern Notify_value panel_base_event_handler(); - - Pkg_private Xv_opaque diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_btn.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_btn.c deleted file mode 100644 index 73436d312cf6..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_btn.c +++ /dev/null @@ -1,19 +0,0 @@ ---- lib/libxview/panel/p_btn.c.orig 2005-03-28 06:40:39.000000000 -0800 -+++ lib/libxview/panel/p_btn.c 2012-02-03 08:25:38.585429214 -0800 -@@ -203,12 +203,16 @@ - if (pin_is_default) { - image.im_type = PIT_STRING; - image_string(&image) = NULL; -+#ifdef __FreeBSD__ -+ label = (Xv_opaque) ""; -+#else - /* Alpha compatibility, mbuck@debian.org */ - #if 1 - label = (char *)""; - #else - label = ""; - #endif -+#endif - } else if (!(image_string(&image) = (char *) xv_get(default_menu_item, - MENU_STRING))) { - olgx_state |= OLGX_LABEL_IS_PIXMAP; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_choice.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_choice.c deleted file mode 100644 index 56ed1d88b079..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_choice.c +++ /dev/null @@ -1,21 +0,0 @@ ---- ./lib/libxview/panel/p_choice.c.orig Tue Jun 29 07:16:57 1993 -+++ ./lib/libxview/panel/p_choice.c Sat Apr 1 18:25:26 2000 -@@ -106,6 +106,10 @@ static void choice_begin_preview(), - static int choice_number(); - static int choice_x_gap(); - static int choice_y_gap(); -+static int find_choice(); -+static int modify_choice(); -+static int move_specified(); -+static int re_alloc_choices(); - static unsigned int choice_value(); - static void choice_create_menu(); - static void choice_images_to_menu_items(); -@@ -120,7 +124,6 @@ static void update_display(); - static void update_item_rect(); - static void update_value_rect(); - static Xv_opaque choice_do_menu_item(); -- - - static Panel_ops ops = { - panel_default_handle_event, /* handle_event() */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_drop.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_drop.c deleted file mode 100644 index 2e064dfca041..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_drop.c +++ /dev/null @@ -1,15 +0,0 @@ ---- ./lib/libxview/panel/p_drop.c.orig Tue Jun 29 07:17:04 1993 -+++ ./lib/libxview/panel/p_drop.c Sat Apr 1 18:25:26 2000 -@@ -10,7 +10,12 @@ static char sccsid[] = "@(#)p_drop.c - * file for terms of the license. - */ - -+#include <sys/param.h> -+#if (defined(BSD) && (BSD >= 199103)) -+#include <stdlib.h> -+#else - #include <malloc.h> -+#endif - #include <xview_private/draw_impl.h> - #include <xview_private/i18n_impl.h> - #include <xview_private/panel_impl.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_gauge.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_gauge.c deleted file mode 100644 index 344400782984..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_gauge.c +++ /dev/null @@ -1,19 +0,0 @@ ---- lib/libxview/panel/p_gauge.c.orig 2012-02-03 17:06:18.363199423 -0800 -+++ lib/libxview/panel/p_gauge.c 2012-02-03 17:08:58.565678508 -0800 -@@ -47,6 +47,7 @@ - /* Local functions */ - static void paint_gauge(); - static void update_rects(); -+static int etoi(); - - static Panel_ops ops = { - panel_default_handle_event, /* handle_event() */ -@@ -535,7 +536,7 @@ - /* - * Convert external value (client units) to internal value (pixels). - */ --static int -+int - etoi_gauge(dp, value) - Gauge_info *dp; - int value; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_get.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_get.c deleted file mode 100644 index f7f9ea1ec23f..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_get.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./lib/libxview/panel/p_get.c.orig Tue Jun 29 07:16:49 1993 -+++ ./lib/libxview/panel/p_get.c Sat Apr 1 18:25:26 2000 -@@ -16,6 +16,7 @@ static char sccsid[] = "@(#)p_get.c - #include <xview/scrollbar.h> - - static int shrink_to_fit(); -+static panel_shrink_margin(); - - #define MAX_NEGATIVE_SHRINK 2000 - #define SHRINK_MARGIN 4 diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_set.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_set.c deleted file mode 100644 index 48bb5bd03b48..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_set.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/libxview/panel/p_set.c.orig Tue Jun 29 07:16:59 1993 -+++ ./lib/libxview/panel/p_set.c Sat Apr 1 18:25:27 2000 -@@ -25,6 +25,8 @@ Xv_private char *xv_font_regular_cmd - - static void panel_set_fonts(); - -+static int column_from_absolute_x(); -+static int row_from_absolute_y(); - - Pkg_private Xv_opaque - panel_set_avlist(panel_public, avlist) diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_slider.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_slider.c deleted file mode 100644 index 3535b7abf3c6..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_slider.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/panel/p_slider.c.orig 2012-02-03 17:01:53.259129212 -0800 -+++ lib/libxview/panel/p_slider.c 2012-02-03 17:05:37.912629308 -0800 -@@ -54,6 +54,8 @@ - static Panel_setting get_value(); - static void paint_slider(); - static void update_rects(); -+static int etoi(); -+static int itoe(); - - static Panel_ops ops = { - panel_default_handle_event, /* handle_event() */ -@@ -1377,7 +1379,7 @@ - /* - * Convert external value (client units) to internal value (pixels). - */ --static int -+int - etoi_slider(dp, value) - Slider_info *dp; - int value; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_txt.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_txt.c deleted file mode 100644 index 7905b8756e9c..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_txt.c +++ /dev/null @@ -1,15 +0,0 @@ ---- ./lib/libxview/panel/p_txt.c.orig Tue Jun 29 07:16:55 1993 -+++ ./lib/libxview/panel/p_txt.c Sat Apr 1 18:25:27 2000 -@@ -10,7 +10,12 @@ static char sccsid[] = "@(#)p_txt.c - * file for terms of the license. - */ - -+#include <sys/param.h> -+#if (defined(BSD) && (BSD >= 199103)) -+#include <stdlib.h> -+#else - #include <malloc.h> -+#endif - #include <string.h> - #include <ctype.h> - #include <X11/X.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_utl.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+p_utl.c deleted file mode 100644 index b9d6977a1c2a..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+p_utl.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/panel/p_utl.c.orig 2005-03-28 06:40:39.000000000 -0800 -+++ lib/libxview/panel/p_utl.c 2012-02-03 08:39:12.397932758 -0800 -@@ -169,7 +169,7 @@ - xv_free(image_string_wc(dest)); - } - #else --#if !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) - { - if (image_string(dest)) - xv_free(image_string(dest)); -@@ -197,7 +197,7 @@ - value_str = ""; - if (!(str = (char *) panel_strsave((u_char *) value_str))) - return (size); --#if defined(__linux__) || defined(__CYGWIN__) -+#if defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) - /* XView bug: This routine sometimes used a value that was already freed, - * leading to clobbered menu items. The problem is the - * 'xv_free(image_string(dest))' above. In some cases the new 'value' diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+panel.c b/x11-toolkits/xview/files/patch-lib+libxview+panel+panel.c deleted file mode 100644 index 9271c4804c39..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+panel.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/libxview/panel/panel.c.orig Sat Mar 25 23:52:08 2006 -+++ lib/libxview/panel/panel.c Sun Mar 26 00:19:28 2006 -@@ -27,6 +27,7 @@ - Pkg_private int panel_destroy(); - - static int panel_layout(); -+static int panel_unregister_view(Panel_info *panel, Xv_Window view); - - Xv_private_data Defaults_pairs xv_kbd_cmds_value_pairs[4]; - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+panel+panel_impl.h b/x11-toolkits/xview/files/patch-lib+libxview+panel+panel_impl.h deleted file mode 100644 index a11b46f398fb..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+panel+panel_impl.h +++ /dev/null @@ -1,17 +0,0 @@ ---- lib/libxview/panel/panel_impl.h.orig 2005-03-28 06:40:39.000000000 -0800 -+++ lib/libxview/panel/panel_impl.h 2012-02-03 09:20:21.855877273 -0800 -@@ -11,9 +11,14 @@ - - #ifndef FILE - #if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__) -+#ifdef NULL - #undef NULL -+#endif - #endif /* SVR4 */ - #include <stdio.h> -+#ifndef NULL -+#define NULL 0 -+#endif - #endif /* FILE */ - #include <sys/types.h> - #include <X11/Xlib.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+rect+rect_util.c b/x11-toolkits/xview/files/patch-lib+libxview+rect+rect_util.c deleted file mode 100644 index 71a04d60b487..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+rect+rect_util.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/libxview/rect/rect_util.c.orig Tue Jun 29 07:15:17 1993 -+++ ./lib/libxview/rect/rect_util.c Sat Apr 1 18:25:27 2000 -@@ -16,6 +16,8 @@ static char sccsid[] = "@(#)rect_uti - - #include <xview/rect.h> - -+static int rect_nearest_edge(); -+ - /* - * Compute the distance from rect to (x, y). If (x, y) is in rect, zero is - * returned. If x_used or y_used are non-zero, the projection point is diff --git a/x11-toolkits/xview/files/patch-lib+libxview+sel+sel_agent.c b/x11-toolkits/xview/files/patch-lib+libxview+sel+sel_agent.c deleted file mode 100644 index 2d4edf3709ec..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+sel+sel_agent.c +++ /dev/null @@ -1,35 +0,0 @@ ---- lib/libxview/sel/sel_agent.c.orig 2005-03-28 06:41:13.000000000 -0800 -+++ lib/libxview/sel/sel_agent.c 2012-02-03 09:06:12.722830476 -0800 -@@ -33,10 +33,10 @@ - #include <stdio.h> - /* - * The following header file provides fd_set compatibility with SunOS for -- * Ultrix -+ * Ultrix and provides howmany() for newer BSDs - */ - #include <xview_private/ultrix_cpt.h> --#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) -+#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) || (defined(BSD4_4) || defined(SVR4)) - #include <stdlib.h> - #include <unistd.h> - #endif /* SVR4 */ -@@ -68,7 +68,7 @@ - static void selection_agent_do_function(); - static Atom get_atom(); - static Seln_attribute save_atom(); -- -+static int waitforReadableTimeout(); - - Xv_private Seln_result seln_convert_request_to_property(); - /* called by seln_svc.c -@@ -314,7 +314,9 @@ - struct stat stat_buf; - int count, size; - char *destp; --#ifndef __CYGWIN__ -+#if (defined(BSD) && (BSD >= 199306)) -+ extern off_t lseek(); -+#elif !defined __CYGWIN__) - extern long lseek(); - #endif - if (fstat(fd, &stat_buf) != 0) { diff --git a/x11-toolkits/xview/files/patch-lib+libxview+sel+seln.c b/x11-toolkits/xview/files/patch-lib+libxview+sel+seln.c deleted file mode 100644 index 85bb781298c7..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+sel+seln.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/libxview/sel/seln.c.orig 2006-01-04 10:33:29.000000000 +0000 -+++ lib/libxview/sel/seln.c -@@ -69,7 +69,6 @@ selection_get(sel_read, window) - FILE *file; - int c; - int n; -- extern errno; - - *sel = selnull; - (void) win_lockdata(window); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+sel+seln_impl.h b/x11-toolkits/xview/files/patch-lib+libxview+sel+seln_impl.h deleted file mode 100644 index 9427b29da8c2..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+sel+seln_impl.h +++ /dev/null @@ -1,19 +0,0 @@ ---- lib/libxview/sel/seln_impl.h.orig 2005-03-28 06:41:13.000000000 -0800 -+++ lib/libxview/sel/seln_impl.h 2012-02-03 09:22:34.447913971 -0800 -@@ -11,10 +11,15 @@ - - #include <errno.h> - #ifndef FILE --#if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__) -+#if !defined(SVR4) && !defined(__linux__) && !defined(__CYGWIN__) -+#ifdef NULL - #undef NULL -+#endif - #endif /* SVR4 */ - #include <stdio.h> -+#ifndef NULL -+#define NULL 0 -+#endif - #endif /* FILE */ - #include <sys/time.h> - #include <sys/types.h> diff --git a/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_own.c b/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_own.c deleted file mode 100644 index b4d1929649d4..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_own.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./lib/libxview/selection/sel_own.c.orig Sun Jun 26 03:05:22 1994 -+++ ./lib/libxview/selection/sel_own.c Sat Apr 1 18:25:28 2000 -@@ -35,6 +35,7 @@ static int SelLoseOwnership(); - static int sel_set_ownership(/* sel_owner */); - static int (*OldErrorHandler)(); - static int SelOwnerErrorHandler(); -+static int SendIncr(); - static int ValidatePropertyEvent(); - - static void SelClean(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_req.c b/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_req.c deleted file mode 100644 index b9578084db4c..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_req.c +++ /dev/null @@ -1,23 +0,0 @@ ---- ./lib/libxview/selection/sel_req.c.orig Sun Jun 26 03:05:21 1994 -+++ ./lib/libxview/selection/sel_req.c Sat Apr 1 18:25:28 2000 -@@ -55,7 +55,10 @@ static int ProcessMultiple(); - static int GetSelection(); - static int ProcessReply(); - static Requestor *SelGetReq(); -- -+static int XvGetRequestedValue(); -+static int ProcessNonBlkIncr(); -+static int ProcessReq(); -+static int OldPkgIsOwner(); - - /*ARGSUSED*/ - Pkg_private int -@@ -1226,7 +1229,7 @@ Selection_requestor sel; - } - - --static XID -+Pkg_private XID - SelGetOwnerXID( selReq ) - Sel_req_info *selReq; - { diff --git a/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_util.c b/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_util.c deleted file mode 100644 index badb7f1bef13..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+selection+sel_util.c +++ /dev/null @@ -1,19 +0,0 @@ ---- ./lib/libxview/selection/sel_util.c.orig Tue Jun 29 07:16:03 1993 -+++ ./lib/libxview/selection/sel_util.c Sat Apr 1 18:25:28 2000 -@@ -23,6 +23,7 @@ static void tvdiff(); - static void FreeMultiProp(); - static int SelMatchReply(); - static Sel_req_tbl *SelMatchReqTbl(); -+static int SelFindReply(); - - Pkg_private struct timeval * - xv_sel_cvt_xtime_to_timeval( XTime ) -@@ -601,7 +602,7 @@ Sel_reply_info *reply; - reqTbl->reply = reply; - reqTbl->next = NULL; - (void)XSaveContext( dpy, DefaultRootWindow(dpy),replyCtx, -- (caddr_t *)reqTbl); -+ (XPointer)reqTbl); - return reqTbl; - } - return (Sel_req_tbl *) xv_sel_add_new_req( reqTbl, reply ); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+server+server.c b/x11-toolkits/xview/files/patch-lib+libxview+server+server.c deleted file mode 100644 index 77d54192fe40..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+server+server.c +++ /dev/null @@ -1,40 +0,0 @@ ---- lib/libxview/server/server.c.orig 2012-02-04 10:06:21.849338608 -0800 -+++ lib/libxview/server/server.c 2012-02-04 10:10:13.953502758 -0800 -@@ -70,6 +70,7 @@ - static unsigned int string_to_modmask(); - static Server_atom_type save_atom(); - static void server_yield_modifiers(); -+static int xv_set_scheduler(); - - Xv_private char *xv_strtok(); - -@@ -451,14 +452,14 @@ - /* See if defaults have been loaded on server */ - #ifdef X11R6 - /* lumpi@dobag.in-berlin.de */ --#if 1 -+#ifndef __FreeBSD__ - /* martin-2.buck@student.uni-ulm.de */ - if ((xrmstr = XResourceManagerString((Display *)server->xdisplay))) { - server->db = XrmGetStringDatabase(xrmstr); - #else - if (XrmGetDatabase((Display *)server->xdisplay)) { - server->db = XrmGetStringDatabase( -- (XrmGetDatabase((Display *)server->xdisplay))); -+ (char *) (XrmGetDatabase((Display *)server->xdisplay))); - #endif - #else - if (((Display *)server->xdisplay)->xdefaults) { -@@ -778,10 +779,8 @@ - */ - - /* Used by atom mgr */ -- server->atom_mgr[ATOM] = (XID) XAllocID((Display *)server->xdisplay); -- server->atom_mgr[NAME] = (XID) XAllocID((Display *)server->xdisplay); -- server->atom_mgr[TYPE] = (XID) XAllocID((Display *)server->xdisplay); -- server->atom_mgr[DATA] = (XID) XAllocID((Display *)server->xdisplay); -+ /* XXX Fixed by Ubuntu bug 89166 */ -+ XAllocIDs((Display *)server->xdisplay, server->atom_mgr, 4); - - /* Key for XV_KEY_DATA. Used in local dnd ops. */ - server->dnd_ack_key = xv_unique_key(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ei_text.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+ei_text.c deleted file mode 100644 index e98865af907c..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ei_text.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./lib/libxview/textsw/ei_text.c.orig Tue Jun 29 07:17:37 1993 -+++ ./lib/libxview/textsw/ei_text.c Sat Apr 1 18:25:28 2000 -@@ -121,6 +121,7 @@ static void ei_plain_text_set_dummy_char - #endif - static struct ei_span_result ei_plain_text_span_of_group(); - static struct ei_process_result ei_plain_text_expand(); -+static paint_batch(); - - struct ei_ops ei_plain_text_ops = { - ei_plain_text_destroy, diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+es.h b/x11-toolkits/xview/files/patch-lib+libxview+textsw+es.h deleted file mode 100644 index f64e7b912f78..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+es.h +++ /dev/null @@ -1,13 +0,0 @@ ---- lib/libxview/textsw/es.h.orig Thu Oct 5 19:15:38 2006 -+++ lib/libxview/textsw/es.h Thu Oct 5 19:15:44 2006 -@@ -182,8 +182,8 @@ - } Es_buf_object; - typedef Es_buf_object *Es_buf_handle; - --EXTERN_FUNCTION( caddr_t es_file_get, (Es_handle esh, Es_attribute attribute, DOTDOTDOT )); --EXTERN_FUNCTION( caddr_t es_mem_get, (Es_handle esh, Es_attribute attribute, DOTDOTDOT )); -+EXTERN_FUNCTION( static caddr_t es_file_get, (Es_handle esh, Es_attribute attribute, DOTDOTDOT )); -+EXTERN_FUNCTION( static caddr_t es_mem_get, (Es_handle esh, Es_attribute attribute, DOTDOTDOT )); - - #define ES_READ_BUF_LEN 2047 - #define ES_WRITE_BUF_LEN 2047 diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+es_attr.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+es_attr.c deleted file mode 100644 index 04a15f1ddac0..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+es_attr.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/libxview/textsw/es_attr.c.orig Tue Jun 29 07:17:31 1993 -+++ ./lib/libxview/textsw/es_attr.c Sat Apr 1 18:25:28 2000 -@@ -22,7 +22,7 @@ static char sccsid[] = "@(#)es_attr. - - Pkg_private int - #ifdef ANSI_FUNC_PROTO --es_set(register Es_handle esh, ...) -+es_set(Es_handle esh, ...) - #else - es_set(esh, va_alist) - register Es_handle esh; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+es_file.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+es_file.c deleted file mode 100644 index ead2a2a99442..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+es_file.c +++ /dev/null @@ -1,37 +0,0 @@ ---- lib/libxview/textsw/es_file.c.orig 2005-03-28 06:40:33.000000000 -0800 -+++ lib/libxview/textsw/es_file.c 2012-02-03 09:41:57.345780320 -0800 -@@ -85,14 +85,14 @@ - - #include <string.h> - #include <fcntl.h> --#if defined SVR4 || defined __CYGWIN__ -+#include <sys/param.h> -+#if defined SVR4 || defined __CYGWIN__ || defined(BSD4_4) - #include <stdlib.h> - #include <dirent.h> - #else - #include <sys/dir.h> - #endif /* SVR4 */ - #include <sys/errno.h> --#include <sys/param.h> - #include <sys/types.h> - #include <sys/stat.h> - #include <sys/file.h> -@@ -115,11 +115,16 @@ - #if (defined(__linux__) && defined(__GLIBC__)) || defined(__CYGWIN__) - /* martin.buck@bigfoot.com */ - #include <errno.h> -+#elif defined(__FreeBSD__) -+extern int errno; -+extern const sys_nerr; -+extern const char *const sys_err_list[]; -+extern off_t lseek(); - #else - extern int errno, sys_nerr; - extern char *sys_errlist[]; - #endif --#ifndef __CYGWIN__ -+#if !defined(__CYGWIN__) && !defined(__FreeBSD__) - extern long lseek(); - #endif - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ev_display.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+ev_display.c deleted file mode 100644 index 6ed9fc271615..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ev_display.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/textsw/ev_display.c.orig Thu Oct 5 19:30:17 2006 -+++ lib/libxview/textsw/ev_display.c Thu Oct 5 19:32:21 2006 -@@ -940,7 +940,7 @@ - register int i; - Es_index pos, pos_to_remember; - Pkg_private void ev_lt_format(); -- static void ev_swap_line_table(); -+ void ev_swap_line_table(); - - esbuf.esh = chain->esh; - esbuf.buf = buf; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ev_op_bdry.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+ev_op_bdry.c deleted file mode 100644 index 79c1f3260c27..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ev_op_bdry.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ./lib/libxview/textsw/ev_op_bdry.c.orig Tue Jun 29 07:17:30 1993 -+++ ./lib/libxview/textsw/ev_op_bdry.c Sat Apr 1 18:25:28 2000 -@@ -28,6 +28,9 @@ Pkg_private void ev_clear_from_margins() - static Ev_finger_handle ev_insert_finger(); - static Ev_mark_object last_generated_id; - -+static int ev_find_finger_internal(); -+static ev_remove_finger_internal(); -+ - #define FORALL(index_var) \ - for (index_var = 0; index_var < fingers->last_plus_one; index_var++) - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ps_impl.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+ps_impl.c deleted file mode 100644 index 0bc125fe02b0..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ps_impl.c +++ /dev/null @@ -1,13 +0,0 @@ ---- ./lib/libxview/textsw/ps_impl.c.orig Tue Jun 29 07:17:39 1993 -+++ ./lib/libxview/textsw/ps_impl.c Sat Apr 1 18:25:29 2000 -@@ -62,6 +62,10 @@ static Es_index ps_read(), ps_scratch_re - static Es_index ps_replace(), ps_scratch_replace(); - static int ps_set(); - -+static int get_current_offset(); -+ -+static copy_pieces(); -+ - static Es_index write_header_etc(); - - static struct es_ops ps_ops = { diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ps_impl.h b/x11-toolkits/xview/files/patch-lib+libxview+textsw+ps_impl.h deleted file mode 100644 index 7681156364ef..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+ps_impl.h +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/textsw/ps_impl.h.orig Thu Oct 5 19:26:54 2006 -+++ lib/libxview/textsw/ps_impl.h Thu Oct 5 19:27:04 2006 -@@ -134,7 +134,7 @@ - #define SCRATCH_HAS_WRAPPED(_private) \ - ((_private)->scratch_length > (_private)->scratch_max_len) - --EXTERN_FUNCTION( caddr_t ps_get, (Es_handle esh, Es_attribute attribute, DOTDOTDOT )); -+EXTERN_FUNCTION( static caddr_t ps_get, (Es_handle esh, Es_attribute attribute, DOTDOTDOT )); - - #endif - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_again.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_again.c deleted file mode 100644 index 816be9d038c3..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_again.c +++ /dev/null @@ -1,99 +0,0 @@ ---- lib/libxview/textsw/txt_again.c.orig 2012-02-03 13:46:41.014675944 -0800 -+++ lib/libxview/textsw/txt_again.c 2012-02-03 16:26:22.136396016 -0800 -@@ -27,6 +27,8 @@ - Pkg_private Es_index textsw_do_input(); - Pkg_private Es_index textsw_do_pending_delete(); - -+static int textsw_string_min_free(); -+ - string_t null_string = {0, 0, 0}; - - #define TEXT_DELIMITER "\\" -@@ -211,6 +213,7 @@ - * Following is stolen from 3.2ALPHA sprintf(str, fmt, va_alist) SIDE_EFFECT: - * TXTSW_STRING_FREE(ptr_to_string) is modified by this routine. - */ -+#ifndef __FreeBSD__ - #ifndef SVR4 - - /* VARARGS2 */ -@@ -353,6 +356,30 @@ - } - - #endif /* SVR4 */ -+#else /* __FreeBSD__ */ -+/*inspiration taken from sprintf.c */ -+ -+static int -+textsw_printf(register string_t *ptr_to_string, char *fmt, ...) -+{ -+ FILE _strbuf; -+ int result; -+ va_list args; -+ _strbuf._flags = __SWR | __SSTR; -+ _strbuf._bf._base = _strbuf._p = (char *) TXTSW_STRING_FREE(ptr_to_string); -+ _strbuf._bf._size = _strbuf._w = ptr_to_string->max_length - TXTSW_STRING_LENGTH(ptr_to_string); -+ VA_START(args, fmt); -+ result = vfprintf (&_strbuf, fmt, args); -+ va_end(args); -+ TXTSW_STRING_FREE(ptr_to_string) = (char *) _strbuf._p; -+#ifndef lint -+ if (result >= 0) -+ putc('\0', &_strbuf); -+#endif -+ return (result); -+} -+ -+#endif /* __FreeBSD__ */ - #endif /* __linux__ */ - - static void -@@ -728,6 +755,8 @@ - */ - /* VARARGS2 */ - -+#ifndef __FreeBSD__ -+ - static int - #ifdef ANSI_FUNC_PROTO - textsw_scanf(register string_t *ptr_to_string, register char *fmt, ...) -@@ -814,6 +843,39 @@ - - #endif /* OW_I18N */ - } -+#else /* __FreeBSD__ */ -+/*inspiration/code taken from sscanf.c */ -+ -+static int -+eofread(cookie, buf, len) -+ void *cookie; -+ char *buf; -+ int len; -+{ -+ -+ return (0); -+} -+ -+static int -+textsw_scanf(register string_t *ptr_to_string, char *fmt, ...) -+{ -+ FILE _strbuf; -+ int result; -+ va_list args; -+ -+ _strbuf._flags = __SRD; -+ _strbuf._bf._base = _strbuf._p = (char *) TXTSW_STRING_BASE(ptr_to_string); -+ _strbuf._bf._size = _strbuf._r = TXTSW_STRING_LENGTH(ptr_to_string); -+ _strbuf._read = eofread; -+ _strbuf._ub._base = NULL; -+ _strbuf._lb._base = NULL; -+ VA_START(args, fmt); -+ result = vfscanf(&_strbuf, fmt, args); -+ va_end(args); -+ TXTSW_STRING_BASE(ptr_to_string) = (char *) _strbuf._p; -+ return (result); -+} -+#endif /* __FreeBSD__ */ - #endif /* __linux__ */ - - static int diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_attr.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_attr.c deleted file mode 100644 index ba8852c52c8f..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_attr.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/textsw/txt_attr.c.orig 2005-03-28 06:40:33.000000000 -0800 -+++ lib/libxview/textsw/txt_attr.c 2012-02-03 09:51:40.604742562 -0800 -@@ -19,7 +19,7 @@ - #include <xview_private/primal.h> - #include <xview_private/txt_impl.h> - #include <xview_private/txt_18impl.h> --#if defined SVR4 || defined __CYGWIN__ -+#if defined SVR4 || defined __CYGWIN__ || defined(__FreeBSD__) - #include <dirent.h> - #include <string.h> - #else diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_e_menu.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_e_menu.c deleted file mode 100644 index 763c05d29d1e..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_e_menu.c +++ /dev/null @@ -1,55 +0,0 @@ ---- lib/libxview/textsw/txt_e_menu.c.orig 2012-02-04 10:33:31.397319914 -0800 -+++ lib/libxview/textsw/txt_e_menu.c 2012-02-04 10:37:28.681263979 -0800 -@@ -19,7 +19,7 @@ - * 3. $(HOME)/.text_extras_menu{.<locale>} (home dir), - * 4. locale sensitive system default - * ("$OPENWINHOME/lib/locale/<locale>/XView/.text_extras_menu") -- * 4. fall back to SunView1 ("/usr/lib/.text_extras_menu") -+ * 4. fall back to SunView1 ("/usr/local/lib/.text_extras_menu") - * - * Always try locale specific name first, if not there, try without - * locale name. In the #4, we will fall back to the "C" locale. -@@ -76,6 +76,8 @@ - static int Nargs; - static char *check_filename_locale(); - -+static any_shell_meta(); -+ - extern int EXTRASMENU_FILENAME_KEY; - - Pkg_private char * -@@ -145,17 +147,25 @@ - - /*#ifdef notdef*/ - /* Gee, still?... We will try the old fashioned way */ -+ /* If it is never defined, EXTRASMENU is set to text_extras_menu -+ see top of this file ... */ - (void) sprintf(tmp, "%s/lib/.%s", - filename, EXTRASMENU); - if ((result = check_filename_locale(NULL, tmp, 1)) != NULL) - goto found; -+ /* EXTRASMENU is absolute specified as normally done -+ during compile time option -DEXTRASMENU="\"$(TEXT_EXTRAS_MENU)\" */ -+ (void) sprintf(tmp, "%s", EXTRASMENU); -+ if ((result = check_filename_locale(NULL, tmp, 1)) != NULL) -+ goto found; -+ - /*#endif*/ - #ifndef OPENWINHOME_DEFAULT - } - #endif - - /* Giving up, try with ancient way (SunView1) */ -- (void) sprintf(tmp, "/usr/lib/.%s", EXTRASMENU); -+ (void) sprintf(tmp, "/usr/local/lib/.%s", EXTRASMENU); - result = xv_strsave(tmp); - - found: -@@ -639,7 +649,6 @@ - /* - * Are there any shell meta-characters in string s? - */ --static - any_shell_meta_e_menu(s) - register char *s; - { diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_event.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_event.c deleted file mode 100644 index 9b30678f5d4c..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_event.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/libxview/textsw/txt_event.c.orig 2006-01-04 11:15:27.000000000 +0000 -+++ lib/libxview/textsw/txt_event.c -@@ -22,7 +22,6 @@ static char sccsid[] = "@(#)txt_even - #include <xview_private/win_keymap.h> - - --extern int errno; - Pkg_private Notify_error win_post_event(); - Pkg_private void ev_blink_caret(); - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_field.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_field.c deleted file mode 100644 index 9922fca49a81..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_field.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/textsw/txt_field.c.orig Sun Mar 26 01:09:21 2006 -+++ lib/libxview/textsw/txt_field.c Sun Mar 26 01:10:42 2006 -@@ -121,8 +121,6 @@ - CHAR marker2[3]; - int marker2_len; - unsigned direction; -- static void textsw_get_match_symbol(); -- - buf = buf + (buf_len - marker1_len); - (void) textsw_get_match_symbol(marker1, marker1_len, - marker2, &marker2_len, &direction); -@@ -152,8 +150,6 @@ - CHAR marker2[3]; - int marker2_len; - unsigned direction; -- static void textsw_get_match_symbol(); -- - (void) textsw_get_match_symbol(marker1, marker1_len, - marker2, &marker2_len, &direction); - if (STRNCMP(buf, marker2, marker2_len) == 0) { diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_file.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_file.c deleted file mode 100644 index 7e3a5f92578d..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_file.c +++ /dev/null @@ -1,81 +0,0 @@ ---- lib/libxview/textsw/txt_file.c.orig 2005-03-28 06:40:33.000000000 -0800 -+++ lib/libxview/textsw/txt_file.c 2012-02-03 10:12:40.144095469 -0800 -@@ -18,10 +18,13 @@ - #include <xview_private/txt_impl.h> - #include <xview_private/ev_impl.h> - #include <xview_private/txt_18impl.h> --#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) -+#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) - #include <dirent.h> - #include <string.h> - #include <unistd.h> -+#ifdef __FreeBSD__ -+#include <sys/file.h> -+#endif - #if defined(__linux__) || defined(__CYGWIN__) - #include <sys/types.h> - #include <fcntl.h> -@@ -37,7 +40,6 @@ - */ - #undef MIN - #undef MAX --#include <sys/param.h> - #include <xview/notice.h> - #include <xview/frame.h> - #include <errno.h> -@@ -47,7 +49,7 @@ - if ((unsigned)(to_test) != 0) (flags) |= (flag); \ - else (flags) &= ~(flag) - --#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) -+#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) - extern char *getcwd(); - #else - extern char *getwd(); -@@ -56,6 +58,10 @@ - #if (defined(__linux__) && defined(__GLIBC__)) || defined(__CYGWIN__) - /* martin.buck@bigfoot.com */ - #include <errno.h> -+#elif defined(__FreeBSD__) -+extern int errno; -+extern const int sys_nerr; -+extern const char *const sys_errlist[]; - #else - extern int errno, sys_nerr; - extern char *sys_errlist[]; -@@ -368,7 +374,7 @@ - } - - #ifdef OW_I18N --#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) -+#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) - if (getcwd(pathname_mb, MAXPATHLEN) == 0) - #else - if (getwd(pathname_mb) == 0) -@@ -378,7 +384,7 @@ - - #else /* OW_I18N */ - --#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) -+#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) - if (getcwd(pathname, MAXPATHLEN) == 0) - #else - if (getwd(pathname) == 0) -@@ -1552,7 +1558,7 @@ - int cmd_is_undo_all_edit; /* This is for doing an "Undo - * All edit" */ - { --#ifndef SVR4 -+#if !(defined(BSD4_4) && defined(SVR4)) - pkg_private Es_status textsw_checkpoint_internal(); - #else /* SVR4 */ - static Es_status textsw_checkpoint_internal(); -@@ -2400,7 +2406,7 @@ - return (result); - } - --#ifndef SVR4 -+#if !(defined(BSD4_4) && defined(SVR4)) - Pkg_private Es_status - #else /* SVR4 */ - static Es_status diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_filter.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_filter.c deleted file mode 100644 index ac1bec3ac778..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_filter.c +++ /dev/null @@ -1,30 +0,0 @@ ---- lib/libxview/textsw/txt_filter.c.orig 2005-03-28 06:40:33.000000000 -0800 -+++ lib/libxview/textsw/txt_filter.c 2012-02-03 10:15:09.976397060 -0800 -@@ -17,7 +17,7 @@ - #include <sys/types.h> - #include <sys/file.h> - #include <unistd.h> --#if defined SVR4 || defined __CYGWIN__ -+#if defined SVR4 || defined __CYGWIN__ || defined __FreeBSD__ - #include <dirent.h> - #else - #include <sys/dir.h> -@@ -38,7 +38,7 @@ - #include <vfork.h> - #endif /* SVR4 */ - #endif --#if defined(__linux__) || defined(__CYGWIN__) -+#if defined(__linux__) || defined(__CYGWIN__) || defined __FreeBSD__ - #include <unistd.h> - #endif - #include <sys/errno.h> -@@ -58,6 +58,9 @@ - #define REPLY_OKAY 0 - #define REPLY_SEND 1 - -+static int talk_to_filter(); -+static int start_filter(); -+ - /* performance: global cache of getdtablesize() */ - extern int dtablesize_cache; - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_getkey.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_getkey.c deleted file mode 100644 index fe31eefe991a..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_getkey.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/textsw/txt_getkey.c.orig 2006-01-04 11:41:31.000000000 +0000 -+++ lib/libxview/textsw/txt_getkey.c -@@ -21,8 +21,6 @@ static char sccsid[] = "@(#)txt_getk - #include <xview_private/ev_impl.h> /* For declaration of ev_add_finder */ - #include <errno.h> - --extern int errno; -- - static void textsw_do_get(); - Pkg_private Es_index textsw_find_mark_internal(); - Pkg_private Es_index textsw_insert_pieces(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_input.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_input.c deleted file mode 100644 index 3a203fbd2ff0..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_input.c +++ /dev/null @@ -1,43 +0,0 @@ ---- lib/libxview/textsw/txt_input.c.orig Thu Oct 5 19:18:11 2006 -+++ lib/libxview/textsw/txt_input.c Thu Oct 5 19:59:29 2006 -@@ -57,6 +57,17 @@ - Pkg_private void textsw_implicit_commit_doit(); - #endif - -+static int textsw_do_newline(); -+ -+static int textsw_scroll_event(); -+static int textsw_function_key_event(); -+static int textsw_mouse_event(); -+static int textsw_edit_function_key_event(); -+static int textsw_caret_motion_event(); -+static int textsw_field_event(); -+static int textsw_file_operation(); -+static int textsw_erase_action(); -+ - #define SPACE_CHAR 0x20 - - Pkg_private int -@@ -200,14 +211,14 @@ - Notify_arg arg; - { - Pkg_private void textsw_update_scrollbars(); -- static int textsw_scroll_event(); -- static int textsw_function_key_event(); -- static int textsw_mouse_event(); -- static int textsw_edit_function_key_event(); -- static int textsw_caret_motion_event(); -- static int textsw_field_event(); -- static int textsw_file_operation(); -- static int textsw_erase_action(); -+ int textsw_scroll_event(); -+ int textsw_function_key_event(); -+ int textsw_mouse_event(); -+ int textsw_edit_function_key_event(); -+ int textsw_caret_motion_event(); -+ int textsw_field_event(); -+ int textsw_file_operation(); -+ int textsw_erase_action(); - - int caret_was_up; - int result = TEXTSW_PE_USED; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_menu.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_menu.c deleted file mode 100644 index 5fdc125a5bee..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_menu.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/textsw/txt_menu.c.orig Sun Mar 26 01:01:17 2006 -+++ lib/libxview/textsw/txt_menu.c Sun Mar 26 01:02:52 2006 -@@ -129,6 +129,8 @@ - - - /* VARARGS0 */ -+static int textsw_edit_do_menu_action(), textsw_view_do_menu_action(), -+ textsw_find_do_menu_action(); - static void - textsw_new_menu(folio) - Textsw_folio folio; -@@ -140,8 +142,6 @@ - Frame frame = xv_get(textsw, WIN_FRAME); - Menu_item break_mode_item, undo_cmds_item, find_sel_cmds_item, - select_field_cmds_item; -- static int textsw_edit_do_menu_action(), textsw_view_do_menu_action(), -- textsw_find_do_menu_action(); - int index; - Pkg_private char *textsw_get_extras_filename(); - Pkg_private int textsw_build_extras_menu_items(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_move.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_move.c deleted file mode 100644 index 14b4d37eb1c0..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_move.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./lib/libxview/textsw/txt_move.c.orig Tue Jun 29 07:17:47 1993 -+++ ./lib/libxview/textsw/txt_move.c Sat Apr 1 18:25:29 2000 -@@ -55,7 +55,7 @@ static char sccsid[] = "@(#)txt_move - - static int dnd_data_key = 0; /* XXX: Don't do this at home kids. */ - static int dnd_view_key = 0; --static int DndConvertProc(); -+int DndConvertProc(); - - Pkg_private Es_handle textsw_esh_for_span(); - Pkg_private Es_index ev_resolve_xy(); -@@ -688,7 +688,7 @@ textsw_do_drag_copy_move(view, ie, is_co - xv_destroy(dnd_accept_cursor); - } - --static int -+int - DndConvertProc(dnd, type, data, length, format) - Dnd dnd; - Atom *type; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_once.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_once.c deleted file mode 100644 index f6b265885b8b..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_once.c +++ /dev/null @@ -1,31 +0,0 @@ ---- lib/libxview/textsw/txt_once.c.orig 2012-02-04 10:11:25.924750298 -0800 -+++ lib/libxview/textsw/txt_once.c 2012-02-04 10:26:43.570466001 -0800 -@@ -44,7 +44,7 @@ - #ifdef OW_I18N - #include <xview_private/draw_impl.h> - #endif --#if defined SVR4 || __CYGWIN__ -+#if defined SVR4 || __CYGWIN__ || defined __FreeBSD__ - #include <dirent.h> - #else - #include <sys/dir.h> -@@ -1091,6 +1091,7 @@ - /* Remove from the list. */ - textsw_unlink_view(folio, view); - /* Destroy all of the view's auxillary objects and any back links */ -+ textsw_unlink_view(folio,view); - ev_destroy(view->e_view); - free((char *) view); - } -@@ -1357,7 +1358,11 @@ - - xv_destroy(view->drop_site); - textsw_view_cleanup(view); -+#ifdef __FreeBSD__ -+ ((Xv_textsw_view *) (view_public))->private_data = NULL; -+#else - VIEW_PRIVATE(view_public) = NULL; /* WG Mar '95 */ -+#endif - break; - - default: /* Conservative in face of new cases. */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_popup.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_popup.c deleted file mode 100644 index aafafd53aada..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_popup.c +++ /dev/null @@ -1,30 +0,0 @@ ---- ./lib/libxview/textsw/txt_popup.c.orig Tue Jun 29 07:17:38 1993 -+++ ./lib/libxview/textsw/txt_popup.c Sat Apr 1 18:25:29 2000 -@@ -95,6 +95,10 @@ Pkg_private int FC_PARENT_KEY; - static int TEXTSW_POPUP_KEY; /* key data holding one of the above - key names */ - -+static void add_exten_item(); -+static int fc_exten_func(); -+static void show_dot_files_proc(); -+ - Panel_item store_panel_items[MAX_FILE_PANEL_ITEMS]; - Panel_item load_panel_items[MAX_FILE_PANEL_ITEMS]; - Panel_item include_panel_items[MAX_FILE_PANEL_ITEMS]; -@@ -135,7 +139,6 @@ textsw_create_popup_frame(view, popup_ty - Frame popup_frame, base_frame; - Panel panel = NULL; - char *label; -- void add_exten_item(); - #ifdef OW_I18N - int win_use_im = ((popup_type != TEXTSW_MENU_SEL_MARK_TEXT) && - (popup_type != TEXTSW_MENU_NORMALIZE_LINE)); -@@ -502,8 +505,6 @@ add_exten_item( fc ) - int frame_width; - int frame_height; - Panel_item item; -- void show_dot_files_proc(); -- int fc_exten_func(); - - - panel = xv_get(fc, FRAME_CMD_PANEL); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_putkey.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_putkey.c deleted file mode 100644 index b5b7896cb500..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_putkey.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/libxview/textsw/txt_putkey.c.orig Tue Jun 29 07:17:41 1993 -+++ ./lib/libxview/textsw/txt_putkey.c Sat Apr 1 18:25:29 2000 -@@ -21,6 +21,8 @@ static char sccsid[] = "@(#)txt_putk - - extern int errno; - -+static int textsw_do_put(); -+ - Pkg_private Ev_finger_handle ev_add_finger(); - Pkg_private int ev_get_selection(); - Pkg_private Es_handle textsw_esh_for_span(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_selsvc.c b/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_selsvc.c deleted file mode 100644 index 6079f7f5dba0..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+textsw+txt_selsvc.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/libxview/textsw/txt_selsvc.c.orig Sun Jun 26 03:05:23 1994 -+++ ./lib/libxview/textsw/txt_selsvc.c Sat Apr 1 18:25:29 2000 -@@ -24,6 +24,8 @@ static char sccsid[] = "@(#)txt_sels - #include <stdlib.h> - #endif /* SVR4 */ - -+static int textsw_should_ask_seln_svc(); -+ - extern int errno; - - Pkg_private Es_status es_copy(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+cim_change.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+cim_change.c deleted file mode 100644 index a575e8c63260..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+cim_change.c +++ /dev/null @@ -1,14 +0,0 @@ ---- ./lib/libxview/ttysw/cim_change.c.orig Tue Jun 29 07:17:12 1993 -+++ ./lib/libxview/ttysw/cim_change.c Sat Apr 1 18:25:29 2000 -@@ -17,10 +17,10 @@ static char sccsid[] = "@(#)cim_chan - #include <xview_private/i18n_impl.h> - #include <sys/types.h> - #include <pixrect/pixrect.h> --#include <xview_private/ttyansi.h> - #include <xview_private/charimage.h> - #include <xview_private/charscreen.h> - #include <xview_private/tty_impl.h> -+#include <xview_private/ttyansi.h> - - char boldify; - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+cim_size.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+cim_size.c deleted file mode 100644 index bdcd28865eb0..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+cim_size.c +++ /dev/null @@ -1,38 +0,0 @@ ---- lib/libxview/ttysw/cim_size.c.orig 2005-03-28 06:41:31.000000000 -0800 -+++ lib/libxview/ttysw/cim_size.c 2012-02-03 11:32:42.637883645 -0800 -@@ -156,7 +156,7 @@ - { - - if (lines_ptr) { --#ifndef __CYGWIN__ -+#if !defined(__CYGWIN__) && !defined(__FreeBSD__) - cfree((CHAR *) (lines_ptr)); - #else - free((CHAR *) (lines_ptr)); -@@ -164,7 +164,7 @@ - lines_ptr = NULL; - } - if (image) { --#ifndef __CYGWIN__ -+#if !defined(__CYGWIN__) && !defined(__FreeBSD__) - cfree((CHAR **) image); - #else - free((CHAR **) image); -@@ -172,7 +172,7 @@ - image = NULL; - } - if (mode_ptr) { --#ifndef __CYGWIN__ -+#if !defined(__CYGWIN__) && !defined(__FreeBSD__) - cfree((char *) (mode_ptr)); - #else - free((char *) (mode_ptr)); -@@ -180,7 +180,7 @@ - mode_ptr = NULL; - } - if (screenmode) { --#ifndef __CYGWIN__ -+#if !defined(__CYGWIN__) && !defined(__FreeBSD__) - cfree((char **) screenmode); - #else - free((char **) screenmode); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+term_ntfy.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+term_ntfy.c deleted file mode 100644 index 95874c4c87dd..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+term_ntfy.c +++ /dev/null @@ -1,29 +0,0 @@ ---- lib/libxview/ttysw/term_ntfy.c.orig 2012-02-07 17:28:16.554359417 -0800 -+++ lib/libxview/ttysw/term_ntfy.c 2012-02-07 17:34:31.010651930 -0800 -@@ -22,7 +22,7 @@ - #include <stdio.h> - #include <ctype.h> - #include <string.h> --#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) -+#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) - #include <unistd.h> - #endif - -@@ -63,7 +63,7 @@ - /* performance: global cache of getdtablesize() */ - extern int dtablesize_cache; - --#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) -+#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) - #define GETDTABLESIZE() \ - (dtablesize_cache?dtablesize_cache:(dtablesize_cache=(int)sysconf(_SC_OPEN_MAX))) - #else -@@ -173,7 +173,7 @@ - * again, this is the place to start looking. - */ - if (ttysw->pending_remote != ttysw->remote) { --#if !(defined(__linux__) || defined(__CYGWIN__)) || defined(TIOCREMOTE) -+#if !(defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__)) || defined(TIOCREMOTE) - if (ioctl(ttysw->ttysw_pty, TIOCREMOTE, &ttysw->pending_remote) < 0) - perror("ioctl: TIOCREMOTE"); - else diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty.c deleted file mode 100644 index 328016347a80..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/ttysw/tty.c.orig 2005-03-28 06:41:31.000000000 -0800 -+++ lib/libxview/ttysw/tty.c 2012-02-03 11:42:08.176574457 -0800 -@@ -534,7 +534,7 @@ - tty_quit_on_death(client, pid, status, rusage) - caddr_t client; - int pid; --#if !defined SVR4 && !defined __CYGWIN__ -+#if !defined SVR4 && !defined __CYGWIN__ && !defined __FreeBSD__ - union wait *status; - #else - int *status; -@@ -592,7 +592,7 @@ - tty_handle_death(tty_folio_private, pid, status, rusage) - Ttysw_folio tty_folio_private; - int pid; --#if !defined SVR4 && !defined __CYGWIN__ -+#if !defined SVR4 && !defined __CYGWIN__ && !defined __FreeBSD__ - union wait *status; - #else - int *status; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_gtty.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_gtty.c deleted file mode 100644 index 8daf9ddadbb3..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_gtty.c +++ /dev/null @@ -1,32 +0,0 @@ ---- lib/libxview/ttysw/tty_gtty.c.orig 2005-03-28 06:41:31.000000000 -0800 -+++ lib/libxview/ttysw/tty_gtty.c 2012-02-04 10:05:24.248305867 -0800 -@@ -14,6 +14,7 @@ - * Ttysw parameter retrieval mechanism to get original tty settings to pty. - */ - -+#include <sys/param.h> - #include <sys/types.h> - #include <stdio.h> - #include <xview_private/portable.h> /* for tty_mode_t and XV* defines */ -@@ -93,7 +94,20 @@ - CREPRINT, CDISCARD, CWERASE, CLNEXT, - CEOL2 - }; -- -+ -+#elif defined(BSD) && (BSD >= 199103) -+#include <sys/ttydefaults.h> -+static struct termios default_modes = { -+ TTYDEF_IFLAG, /* input modes */ -+ TTYDEF_OFLAG, /* output modes */ -+ TTYDEF_CFLAG, /* control modes */ -+ TTYDEF_LFLAG, /* local modes */ -+ /* control characters */ -+ { CEOF, CEOL, CEOL, CERASE, CWERASE, CKILL, CREPRINT, -+ _POSIX_VDISABLE, CINTR, CQUIT, CSUSP, CDSUSP, CSTART, CSTOP, CLNEXT, -+ CDISCARD, CMIN, CTIME, CSTATUS, _POSIX_VDISABLE }, -+ TTYDEF_SPEED, TTYDEF_SPEED /* input and output speeds */ -+}; - #else /* __linux__ */ - static struct termios default_modes = { - BRKINT|ICRNL|IXON|IGNPAR|IMAXBEL, /* input modes */ diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_impl.h b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_impl.h deleted file mode 100644 index c7f117be83a6..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_impl.h +++ /dev/null @@ -1,24 +0,0 @@ ---- lib/libxview/ttysw/tty_impl.h.orig 2005-03-28 06:41:31.000000000 -0800 -+++ lib/libxview/ttysw/tty_impl.h 2012-02-03 11:51:09.464890989 -0800 -@@ -14,6 +14,7 @@ - * terminal emulation for teletype based programs. - */ - -+#include <sys/param.h> - #include <xview_private/portable.h> /* tty and pty configuration info */ - - #ifdef XV_USE_TERMIOS -@@ -210,7 +211,13 @@ - * Access functions for tty characteristics. - */ - #ifdef XV_USE_TERMIOS -+#if (defined(BSD) && (BSD >= 199103)) -+#include <sys/ioctl.h> -+#include <sys/ioctl_compat.h> -+#define tty_gettabs(t) ((t)->termios.c_oflag & OXTABS) -+#else - #define tty_gettabs(t) ((t)->termios.c_oflag & XTABS) -+#endif - #if !(defined(__linux__)||defined(__CYGWIN__)) || defined(VDSUSP) - #define tty_getdsuspc(t) ((int) ((t)->termios.c_cc[VDSUSP])) - #else diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_init.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_init.c deleted file mode 100644 index ecd46446f33b..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_init.c +++ /dev/null @@ -1,257 +0,0 @@ ---- lib/libxview/ttysw/tty_init.c.orig 2012-02-07 17:09:17.565198180 -0800 -+++ lib/libxview/ttysw/tty_init.c 2012-02-07 17:16:27.392427537 -0800 -@@ -14,6 +14,7 @@ - * Ttysw initialization, destruction and error procedures - */ - -+#include <sys/param.h> - #include <sys/time.h> - #include <sys/types.h> - #include <sys/stat.h> -@@ -36,7 +37,11 @@ - #endif - - #ifndef SVR4 -+#if defined(__FreeBSD_version) && __FreeBSD_version > 900007 -+#include <utmpx.h> -+#else - #include <utmp.h> -+#endif - #else - /* #include <sys/sigaction.h> */ /* vmh - 7/16/90 The compiler chokes - * on the redefinition of sigaction, and on siginfo_t. Removing this -@@ -94,7 +99,9 @@ - #define jcsetpgrp(p) setpgrp((p),(p)) - #endif - --#ifndef __CYGWIN__ -+#if (defined(BSD) && (BSD >= 199306)) -+extern off_t lseek(); -+#elif !defined(__CYGWIN__) - extern long lseek(); - #endif - char *textsw_checkpoint_undo(); -@@ -120,6 +127,7 @@ - - extern int ttysel_use_seln_service; - -+static int ttyinit(); - - struct ttysw_createoptions { - int becomeconsole; /* be the console */ -@@ -574,6 +582,9 @@ - (void) dup2(ttysw->ttysw_tty, 2); - (void) close(ttysw->ttysw_tty); - -+#if (defined(BSD) && (BSD >= 199103)) -+ (void) ioctl(0, TIOCSCTTY, NULL); -+#endif - if (*argv == (char *) NULL || strcmp("-c", *argv) == 0) { - /* Process arg list */ - int argc; -@@ -600,17 +611,27 @@ - * ttcompat seems to leave things in a funny state and assumes - * (seemingly) that login will fix things up. Do it here. - */ -+#if defined(__FreeBSD_version) && __FreeBSD_version > 900007 -+ if (tcgetattr (0, &tp) == -1) -+ perror("tcgetattr"); -+#else - if (ioctl (0, TCGETS, &tp) == -1) - perror("ioctl TCGETS"); -+#endif - else { - tp.c_lflag |= ECHO; - tp.c_oflag |= ONLCR; - tp.c_iflag |= ICRNL; - } -+#if defined(__FreeBSD_version) && __FreeBSD_version > 900007 -+ if (tcsetattr (0, TCSANOW, &tp) == -1) -+ perror("tcsetattr"); -+#else - if (ioctl (0, TCSETS, &tp) == -1) - perror("ioctl TCSETS"); -+#endif - #endif /* BSD_TTY_COMPAT */ - #endif /* SVR4 */ - - /* restore various signals to their defaults */ - signal (SIGINT, SIG_DFL); -@@ -801,7 +822,9 @@ - - #ifdef SB_NO_DROPS /* defined as result of including new bufmod.h */ - -+#if !defined(__FreeBSD_version) - if(ioctl(pty, I_PUSH, "bufmod") == -1) { /* some buffering ... */ -+#endif - - /* we can't push bufmod... this means we're probably - running on a generic SVR4 system - we can ignore this -@@ -925,13 +948,16 @@ - - #endif - -+#ifndef __FreeBSD_version - if (ioctl(pty, I_PUSH, "pckt") == -1) { /* must use getmsg for read */ - perror("push pckt"); - return XV_ERROR; - } -+#endif - - if ((tty = open(ptsname(pty),O_RDWR))<0) - return XV_ERROR; -+#ifndef __FreeBSD_version - if (ioctl(tty, I_PUSH, "ptem") == -1) { - perror("push ptem"); - return XV_ERROR; -@@ -940,12 +966,15 @@ - perror("push ldterm"); - return XV_ERROR; - } -+#endif - #ifdef BSD_TTY_COMPAT -+#ifndef __FreeBSD_version - if (ioctl(tty, I_PUSH, "ttcompat") == -1) { /* for csh */ - perror("push ttcompat"); - return XV_ERROR; - } - #endif -+#endif - - #endif - #endif -@@ -998,7 +1027,7 @@ - */ - - #ifndef SVR4 --#if !defined __linux__ && !defined __CYGWIN__ -+#if !defined __linux__ && !defined __CYGWIN__ && !(defined(__FreeBSD_version) && __FreeBSD_version > 900007) - /* - * Make entry in /etc/utmp for ttyfd. Note: this is dubious usage of - * /etc/utmp but many programs (e.g. sccs) look there when determining who is -@@ -1013,13 +1042,17 @@ - /* - * Update /etc/utmp - */ --#ifndef SVR4 -+#if !defined(SVR4) && !(defined(__FreeBSD_version) && __FreeBSD_version > 900007) - struct utmp utmp; - #else - struct utmpx utmp; - #endif - struct passwd *passwdent; -+#if !(defined(BSD) && (BSD >= 199103)) - extern struct passwd *getpwuid(); -+#else -+ struct passwd *getpwuid __P((uid_t)); -+#endif - int f; - char *ttyn; - extern char *ttyname(); -@@ -1035,8 +1068,13 @@ - } - username = passwdent->pw_name; - } -+#if defined(__FreeBSD_version) && __FreeBSD_version > 900007 -+ utmp.ut_user[0] = '\0'; /* Set incase *username is 0 */ -+ (void) strncpy(utmp.ut_user, username, sizeof(utmp.ut_user)); -+#else - utmp.ut_name[0] = '\0'; /* Set incase *username is 0 */ - (void) strncpy(utmp.ut_name, username, sizeof(utmp.ut_name)); -+#endif - /* - * Get line (tty) name - */ -@@ -1051,7 +1089,7 @@ - /* - * Get start time - */ --#ifndef SVR4 -+#if !defined(SVR4) && !(defined(__FreeBSD_version) && __FreeBSD_version > 900007) - (void) time((time_t *) (&utmp.ut_time)); - #else - (void) time((time_t *) (&utmp.ut_tv)); -@@ -1071,13 +1109,24 @@ - XV_MSG("Add tty[qrs][0-f] to /etc/ttys file.\n")); - return (0); - } -+#if !(defined(BSD) && (BSD >= 199103)) - if ((f = open("/etc/utmp", 1)) >= 0) { -+#else -+#if defined(__FreeBSD_version) && __FreeBSD_version < 900007 -+ if ((f = open(_PATH_UTMP, 1)) >= 0) { -+#endif -+#endif - (void) lseek(f, (long) (ttyslotuse * sizeof(utmp)), 0); - (void) write(f, (char *) &utmp, sizeof(utmp)); - (void) close(f); - } else { - (void) fprintf(stderr, -+#if !(defined(BSD) && (BSD >= 199103)) - XV_MSG("make sure that you can write /etc/utmp!\n")); -+#else -+ XV_MSG("make sure that you can write ")); -+ (void) fprintf(stderr, "%s!\n", _PATH_UTMP); -+#endif - return (0); - } - return (ttyslotuse); -@@ -1093,7 +1142,11 @@ - /* - * Update /etc/utmp - */ -+#if defined(__FreeBSD_version) && __FreeBSD_version >= 900007 -+ struct utmpx utmp; -+#else - struct utmp utmp; -+#endif - struct passwd *passwdent; - int f; - char *ttyn; -@@ -1117,8 +1170,13 @@ - if (!(*username)) - utmp.ut_type = DEAD_PROCESS; /* "" as username, logging out */ - -+#if defined(__FreeBSD_version) && __FreeBSD_version >= 900007 -+ utmp.ut_id[0] = '\0'; /* Set incase *username is 0 */ -+ (void) strncpy(utmp.ut_id, username, sizeof(utmp.ut_id)); -+#else - utmp.ut_name[0] = '\0'; /* Set incase *username is 0 */ - (void) strncpy(utmp.ut_name, username, sizeof(utmp.ut_name)); -+#endif - /* - * Get line (tty) name - */ -@@ -1135,14 +1193,32 @@ - /* - * Get start time - */ -+#if defined(__FreeBSD_version) && __FreeBSD_version >= 900007 -+ { -+ struct timeval tv; -+ -+ if (gettimeofday(&tv, NULL)) -+ return errno; -+ utmp.ut_tv.tv_sec = tv.tv_sec; -+ utmp.ut_tv.tv_usec = tv.tv_usec; -+ } -+#else - (void) time((time_t *) (&utmp.ut_time)); -+#endif - /* - * Put utmp in /etc/utmp - */ -+#if defined(__FreeBSD_version) && __FreeBSD_version >= 900007 -+ setutxent(); -+ (void)getutxline(&utmp); -+ pututxline(&utmp); -+ endutxent(); -+#else - setutent(); - (void)getutline(&utmp); - pututline(&utmp); - endutent(); -+#endif - return 1; /* Return dummy value for ttyslot number */ - } - #endif diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_main.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_main.c deleted file mode 100644 index 04fc5349de32..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_main.c +++ /dev/null @@ -1,31 +0,0 @@ ---- lib/libxview/ttysw/tty_main.c.orig 2005-03-28 06:41:31.000000000 -0800 -+++ lib/libxview/ttysw/tty_main.c 2012-02-03 12:15:40.077487003 -0800 -@@ -60,12 +60,14 @@ - #include <wctype.h> - #include <stdlib.h> - #include <xview_private/charimage.h> --#ifdef FULL_R5 -+#if defined(FULL_R5) || defined(X11R6) - #include <X11/Xlib.h> - #endif /* FULL_R5 */ - #endif - --#if (defined(__linux__) && defined(__GLIBC__)) || defined(__CYGWIN__) -+#include <sys/param.h> -+ -+#if (defined(__linux__) && defined(__GLIBC__)) || defined(__CYGWIN__) || (defined(__FreeBSD__) && defined(__FreeBSD_version) && __FreeBSD_version > 900007) - /* martin.buck@bigfoot.com */ - #include <sys/ioctl.h> - #endif -@@ -80,6 +82,11 @@ - int committed_left = 0; - #endif - -+static int ttysw_process_point(); -+static int ttysw_process_adjust(); -+static int ttysw_process_motion(); -+static int ttysw_process_keyboard(); -+ - extern Textsw_index textsw_insert(); - #ifdef OW_I18N - extern Textsw_index textsw_insert_wcs(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_mapkey.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_mapkey.c deleted file mode 100644 index 8761d41f4574..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_mapkey.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/ttysw/tty_mapkey.c.orig 2005-03-28 06:41:31.000000000 -0800 -+++ lib/libxview/ttysw/tty_mapkey.c 2012-02-03 12:18:01.439658731 -0800 -@@ -12,7 +12,7 @@ - - #include <stdio.h> - #include <ctype.h> --#if defined SVR4 || defined __linux__ || defined __CYGWIN__ -+#if defined SVR4 || defined __linux__ || defined __CYGWIN__ || defined __FreeBSD__ - #include <string.h> - #endif - #include <sys/types.h> -@@ -507,7 +507,7 @@ - * have more time. - */ - --#if defined(i386) && !defined(__linux__) && !defined(__CYGWIN__) -+#if defined(i386) && !defined(__linux__) && !defined(__CYGWIN__) && !defined (__FreeBSD__) - static void - ttysw_arrow_keys_to_string(xv_id, str) - unsigned xv_id; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_ntfy.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_ntfy.c deleted file mode 100644 index 5a13408a12dc..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+tty_ntfy.c +++ /dev/null @@ -1,34 +0,0 @@ ---- lib/libxview/ttysw/tty_ntfy.c.orig 2005-03-28 06:41:31.000000000 -0800 -+++ lib/libxview/ttysw/tty_ntfy.c 2012-02-03 12:33:30.543933995 -0800 -@@ -186,6 +186,8 @@ - * group nevertheless. - */ - if (ioctl(ttysw->ttysw_pty, TIOCGPGRP, &pgrp) == -1) { -+#elif (defined(BSD) && (BSD >= 199103)) -+ if (pgrp = tcgetpgrp(ttysw->ttysw_pty) == -1 ) { - #elif defined(__CYGWIN__) - if (tcgetpgrp(ttysw->ttysw_pty) == -1 ) { - #else -@@ -198,10 +200,12 @@ - * Only killpg when pgrp is not tool's. This is the case of haven't - * completed ttysw_fork yet (or even tried to do it yet). - */ -+#if !(defined(BSD) && (BSD >= 199103)) - #if !defined __linux__ - if (getpgrp(0) != pgrp) - #else -- if (getpgrp() != pgrp) -+ if (pgrp = getpgrp() != pgrp) -+#endif - #endif - /* - * killpg could return -1 with errno == ESRCH but this is OK. -@@ -230,7 +234,7 @@ - #if defined __linux__ - /* See the comment in ttysw_sigwinch */ - if (ioctl(ttysw->ttysw_pty, TIOCGPGRP, &control_pg) >= 0) { --#elif defined(__CYGWIN__) -+#elif defined(__CYGWIN__) || defined(BSD) && (BSD >= 199103) - control_pg = tcgetpgrp(ttysw->ttysw_pty); - if ( control_pg >= 0 ) { - #else diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+ttyansi.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+ttyansi.c deleted file mode 100644 index a9566176e572..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+ttyansi.c +++ /dev/null @@ -1,12 +0,0 @@ ---- lib/libxview/ttysw/ttyansi.c.orig 2005-03-28 06:41:31.000000000 -0800 -+++ lib/libxview/ttysw/ttyansi.c 2012-02-03 12:45:50.351507890 -0800 -@@ -31,6 +31,9 @@ - #include <xview_private/ttyansi.h> - - #include <xview/sel_attrs.h> -+static int send_input_to_textsw(); -+static int ansi_lf(); -+static int ansi_char(); - - char *textsw_checkpoint_undo(); - Textsw_index textsw_replace_i18n(), textsw_erase_i18n(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+ttyselect.c b/x11-toolkits/xview/files/patch-lib+libxview+ttysw+ttyselect.c deleted file mode 100644 index de8b31fded93..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+ttysw+ttyselect.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./lib/libxview/ttysw/ttyselect.c.orig Sun Jun 26 03:05:23 1994 -+++ ./lib/libxview/ttysw/ttyselect.c Sat Apr 1 18:25:30 2000 -@@ -75,6 +75,8 @@ static Seln_result ttysel_copy_in(), - #endif - ttysel_reply(); - -+static ttysel_resynch(); -+ - static struct ttyselection * - ttysel_from_rank(); - diff --git a/x11-toolkits/xview/files/patch-lib+libxview+win+win_cntral.c b/x11-toolkits/xview/files/patch-lib+libxview+win+win_cntral.c deleted file mode 100644 index 4c3eef0ad980..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+win+win_cntral.c +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/libxview/win/win_cntral.c.orig 2006-01-04 10:38:51.000000000 +0000 -+++ lib/libxview/win/win_cntral.c -@@ -25,7 +25,6 @@ static char sccsid[] = "@(#)win_cntr - - static Notify_error win_send(); - --extern int errno; - extern Event xv_last_event; - - void notify_perror(); diff --git a/x11-toolkits/xview/files/patch-lib+libxview+win+win_input.c b/x11-toolkits/xview/files/patch-lib+libxview+win+win_input.c deleted file mode 100644 index d95c305c823c..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+win+win_input.c +++ /dev/null @@ -1,74 +0,0 @@ ---- lib/libxview/win/win_input.c.orig Thu Oct 5 19:18:09 2006 -+++ lib/libxview/win/win_input.c Thu Oct 5 20:10:42 2006 -@@ -87,6 +87,8 @@ - static int process_wm_pushpin_state(); - Pkg_private int win_handle_compose(); - -+static int xevent_to_event(); -+ - struct _XKeytrans { - struct _XKeytrans *next;/* next on list */ - char *string; /* string to return when the time comes */ -@@ -853,7 +855,9 @@ - #ifdef X11R6 - /* lumpi@dobag.in-berlin.de */ - int ksym_pcc; -- XGetKeyboardMapping(display,NoSymbol,0,&ksym_pcc); -+ int tc_min_keycode, tc_max_keycode; -+ XDisplayKeycodes(display, &tc_min_keycode, &tc_max_keycode); -+ XGetKeyboardMapping(display,tc_min_keycode,tc_max_keycode-tc_min_keycode-1,&ksym_pcc); - for (index = 0; index < ksym_pcc; index++) { - #else - for (index = 0; index < display->keysyms_per_keycode; index++) { -@@ -861,7 +865,7 @@ - if ((ksym = XLookupKeysym(ek, index)) != NoSymbol) - if (IsKeypadKey(ksym)) { - /* See if key has been rebound. */ -- if (!translate_key(display, ksym, ek->state, -+ if (translate_key(display, ksym, ek->state, - buffer, BUFFERSIZE)) { - (void)win_translate_KP_keysym(ksym, buffer); - } -@@ -2311,7 +2315,7 @@ - XButtonEvent *bEvent; - int timeout; - { -- XEvent xevent; -+ XEvent *xevent; - - /* XView does a passive grab on the SELECT button! */ - window_x_allow_events(display); -@@ -2720,8 +2724,10 @@ - * Xlib's. - */ - --#ifdef X11R6 --/* lumpi@dobag.in-berlin.de */ -+#ifdef X11R6 -+/* lumpi@dobag.in-berlin.de -+ tom@sees.bangor.ac.uk this replacement for X11R6 doesn't work. At least -+ it should now return sensible values though. */ - static int - translate_key(dpy, symbol, modifiers, buffer, nbytes) - Display *dpy; -@@ -2731,11 +2737,18 @@ - int nbytes; - { - /* This is _very_ rude ! */ -- strcpy(buffer,XKeysymToString(symbol)); -+ char *string; -+ string = XKeysymToString(symbol); -+ if (string) { -+ strncpy(buffer,XKeysymToString(symbol),nbytes); -+ return(strlen(buffer)); -+ } -+ else -+ return 0; - } - --#else - -+#else - static int - translate_key(dpy, symbol, modifiers, buffer, nbytes) - Display *dpy; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+window+window_set.c b/x11-toolkits/xview/files/patch-lib+libxview+window+window_set.c deleted file mode 100644 index bf70eec98b27..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+window+window_set.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/window/window_set.c.orig Thu Oct 5 20:15:03 2006 -+++ lib/libxview/window/window_set.c Thu Oct 5 20:16:04 2006 -@@ -53,6 +53,8 @@ - static Xv_opaque window_set_avlist_tier2(); - static Xv_opaque window_set_avlist_tier3(); - -+static void window_set_softkey_labels(); -+ - static Defaults_pairs setinput_pairs[] = { - "select", FALSE, - "followmouse", TRUE, -@@ -1072,7 +1074,7 @@ - - case WIN_SOFT_FNKEY_LABELS: { - register Xv_Drawable_info *info; -- static void window_set_softkey_labels(); -+ void window_set_softkey_labels(); - - DRAWABLE_INFO_MACRO(win_public, info); - win->softkey_flag = TRUE; diff --git a/x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c b/x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c deleted file mode 100644 index 1964f2992285..000000000000 --- a/x11-toolkits/xview/files/patch-lib+libxview+wmgr+wmgr_menu.c +++ /dev/null @@ -1,13 +0,0 @@ ---- lib/libxview/wmgr/wmgr_menu.c.orig 2005-03-28 06:41:51.000000000 -0800 -+++ lib/libxview/wmgr/wmgr_menu.c 2012-02-03 12:56:34.963007532 -0800 -@@ -14,8 +14,8 @@ - #include <stdio.h> - #include <ctype.h> - #include <string.h> --#if defined(sparc) || defined(__linux__) || defined(__CYGWIN__) --#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) -+#if defined(sparc) || defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) -+#if defined(SVR4) || defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) - #include <unistd.h> - #else - #include <vfork.h> diff --git a/x11-toolkits/xview/files/patch-lib+pixrect+Imakefile b/x11-toolkits/xview/files/patch-lib+pixrect+Imakefile deleted file mode 100644 index c368882ad38f..000000000000 --- a/x11-toolkits/xview/files/patch-lib+pixrect+Imakefile +++ /dev/null @@ -1,13 +0,0 @@ ---- lib/pixrect/Imakefile.orig Mon Sep 29 00:02:40 2003 -+++ lib/pixrect/Imakefile Mon Sep 29 00:02:40 2003 -@@ -41,8 +41,8 @@ - all:: - - #if InstallPixrectHeaders --BuildIncludes($(HEADERS),$(PIXRECT_INCDIR),/**/) --BuildIncludes($(HEADERS2),$(INCDIR),/**/) -+BuildIncludes($(HEADERS),$(PIXRECT_INCDIR),.) -+BuildIncludes($(HEADERS2),$(INCDIR),.) - - install:: - $(MKDIRHIER) $(PIXRECT_HEADER_DEST) diff --git a/x11-toolkits/xview/files/patch-lib-libolgx-ol_init.c b/x11-toolkits/xview/files/patch-lib-libolgx-ol_init.c deleted file mode 100644 index 20e1e3ac08ce..000000000000 --- a/x11-toolkits/xview/files/patch-lib-libolgx-ol_init.c +++ /dev/null @@ -1,12 +0,0 @@ ---- lib/libolgx/ol_init.c.orig 2012-02-03 13:24:25.181587269 -0800 -+++ lib/libolgx/ol_init.c 2012-02-03 13:26:13.093464170 -0800 -@@ -9,7 +9,9 @@ - - #include <stdio.h> - #include <stdlib.h> -+#ifndef __FreeBSD__ - #include <malloc.h> -+#endif - #include <X11/Xlib.h> - #include "olgx_impl.h" - #include "busy.h" diff --git a/x11-toolkits/xview/files/patch-lib-libxview-filter-filter.c b/x11-toolkits/xview/files/patch-lib-libxview-filter-filter.c deleted file mode 100644 index c658d6faa130..000000000000 --- a/x11-toolkits/xview/files/patch-lib-libxview-filter-filter.c +++ /dev/null @@ -1,28 +0,0 @@ ---- lib/libxview/filter/filter.c.orig 2012-02-03 13:34:17.201860917 -0800 -+++ lib/libxview/filter/filter.c 2012-02-03 13:37:57.245727053 -0800 -@@ -209,7 +209,7 @@ - free((char *) table); - } - --static struct CharAction -+struct CharAction - digits(c) - char c; - { -@@ -226,7 +226,7 @@ - } - - --static enum CharClass -+enum CharClass - breakProc(c) - char c; - { -@@ -246,7 +246,6 @@ - /* - * Are there any shell meta-characters in string s? - */ --static - any_shell_meta_filter(s) - register char *s; - { diff --git a/x11-toolkits/xview/files/patch-lib-libxview-ttysw-termsw.c b/x11-toolkits/xview/files/patch-lib-libxview-ttysw-termsw.c deleted file mode 100644 index 2d838a17e87b..000000000000 --- a/x11-toolkits/xview/files/patch-lib-libxview-ttysw-termsw.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/ttysw/termsw.c.orig 2012-02-07 17:35:21.611504567 -0800 -+++ lib/libxview/ttysw/termsw.c 2012-02-07 17:41:35.657788530 -0800 -@@ -418,7 +418,7 @@ - - /* Set the PTY to operate as a "remote terminal". */ - fd = (int) xv_get(termsw_public, TTY_PTY_FD); --#if !(defined(__linux__) || defined(__CYGWIN__)) || defined(TIOCREMOTE) -+#if !(defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__)) || defined(TIOCREMOTE) - (void) ioctl(fd, TIOCREMOTE, &on); - #endif - ttysw_folio->remote = ttysw_folio->pending_remote = on; diff --git a/x11-toolkits/xview/files/patch-lib-libxview-ttysw-tty_modes.c b/x11-toolkits/xview/files/patch-lib-libxview-ttysw-tty_modes.c deleted file mode 100644 index 90503d45441a..000000000000 --- a/x11-toolkits/xview/files/patch-lib-libxview-ttysw-tty_modes.c +++ /dev/null @@ -1,20 +0,0 @@ ---- lib/libxview/ttysw/tty_modes.c.orig 2012-02-07 17:18:34.004531277 -0800 -+++ lib/libxview/ttysw/tty_modes.c 2012-02-07 17:25:54.661975084 -0800 -@@ -125,7 +125,7 @@ - /* - * Switch the pty out of remote mode. - */ --#if !(defined(__linux__) || defined(__CYGWIN__)) || defined(TIOCREMOTE) -+#if !(defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__)) || defined(TIOCREMOTE) - if (ioctl(ttysw->ttysw_pty, TIOCREMOTE, &off) < 0) - perror("ioctl: TIOCREMOTE"); - else -@@ -278,7 +278,7 @@ - */ - ttysw_getp((Ttysw_view_handle) ttysw_view); - ttysw->pending_remote = termsw->cooked_echo; --#if !(defined(__linux__) || defined(__CYGWIN__)) || defined(TIOCREMOTE) -+#if !(defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__)) || defined(TIOCREMOTE) - if (ioctl(ttysw->ttysw_pty, TIOCREMOTE, &ttysw->pending_remote) < 0) - perror("ioctl: TIOCREMOTE"); - else diff --git a/x11-toolkits/xview/files/patch-lib-libxview-window-windowutil.c b/x11-toolkits/xview/files/patch-lib-libxview-window-windowutil.c deleted file mode 100644 index 06b2c518c131..000000000000 --- a/x11-toolkits/xview/files/patch-lib-libxview-window-windowutil.c +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/libxview/window/windowutil.c.orig 2013-09-17 22:36:32.330750964 -0700 -+++ lib/libxview/window/windowutil.c 2013-09-17 22:38:48.691209544 -0700 -@@ -767,7 +767,7 @@ - - adjust_rect_obj(num_elems, this_sw, rect_obj_list, parent_width, parent_height); - window_outer_to_innerrect(&(rect_obj_list[this_sw]), -- rect_obj_list[this_sw].new_rect); -+ &(rect_obj_list[this_sw].new_rect)); - } - } - diff --git a/x11-toolkits/xview/files/patch-util+xgettext+xgettext.h b/x11-toolkits/xview/files/patch-util+xgettext+xgettext.h deleted file mode 100644 index 2943168d1a0e..000000000000 --- a/x11-toolkits/xview/files/patch-util+xgettext+xgettext.h +++ /dev/null @@ -1,11 +0,0 @@ ---- util/xgettext/xgettext.h.orig 2005-03-28 06:41:59.000000000 -0800 -+++ util/xgettext/xgettext.h 2012-02-03 13:13:01.859402717 -0800 -@@ -8,7 +8,7 @@ - #include <signal.h> - #include <sys/types.h> - --#if defined SVR4 || defined __CYGWIN__ -+#if defined SVR4 || defined __CYGWIN__ || defined __FreeBSD__ - #include <dirent.h> - #else - #include <sys/dir.h> diff --git a/x11-toolkits/xview/files/patch-util-conversion-Imakefile b/x11-toolkits/xview/files/patch-util-conversion-Imakefile deleted file mode 100644 index 4b46af74d9ea..000000000000 --- a/x11-toolkits/xview/files/patch-util-conversion-Imakefile +++ /dev/null @@ -1,10 +0,0 @@ ---- util/conversion/Imakefile.orig 2005-03-28 06:41:58.000000000 -0800 -+++ util/conversion/Imakefile 2012-02-03 13:02:07.758136242 -0800 -@@ -3,6 +3,7 @@ - XCOMM ########################################################################## - XCOMM # @(#)Imakefile 1.3 89/12/29 SMI - XCOMM # Imakefile for util/conversion -+INCLUDES= -I../../build/include - - SEDFILES= full1.sed \ - full2.sed \ diff --git a/x11-toolkits/xview/files/patch-util-cpp-Imakefile b/x11-toolkits/xview/files/patch-util-cpp-Imakefile deleted file mode 100644 index f3c2c80a6583..000000000000 --- a/x11-toolkits/xview/files/patch-util-cpp-Imakefile +++ /dev/null @@ -1,10 +0,0 @@ ---- util/cpp/Imakefile.orig 2005-03-28 06:41:57.000000000 -0800 -+++ util/cpp/Imakefile 2012-02-03 13:05:40.311621530 -0800 -@@ -5,6 +5,7 @@ - XCOMM # generate cpp.... But, for systems on which that isn't a problem, here - XCOMM # is the proper Imakefile. - XCOMM # -+INCLUDES= -I../../build/include - - #if defined(SystemV) - STRINGDEFS = diff --git a/x11-toolkits/xview/files/patch-util-msgfmt-Imakefile b/x11-toolkits/xview/files/patch-util-msgfmt-Imakefile deleted file mode 100644 index 333e65897267..000000000000 --- a/x11-toolkits/xview/files/patch-util-msgfmt-Imakefile +++ /dev/null @@ -1,9 +0,0 @@ ---- util/msgfmt/Imakefile.orig 2005-03-28 06:41:59.000000000 -0800 -+++ util/msgfmt/Imakefile 2012-02-03 13:01:00.097079040 -0800 -@@ -1,5 +1,6 @@ - XCOMM # @(#)Imakefile 1.5 28 Jun 1993 SMI - XCOMM # Imakefile for util/msgfmt -+INCLUDES= -I../../build/include - - #include <XView.tmpl> - diff --git a/x11-toolkits/xview/files/patch-util-soelim-Imakefile b/x11-toolkits/xview/files/patch-util-soelim-Imakefile deleted file mode 100644 index 1306d804dae3..000000000000 --- a/x11-toolkits/xview/files/patch-util-soelim-Imakefile +++ /dev/null @@ -1,8 +0,0 @@ ---- util/soelim/Imakefile.orig 2005-03-28 06:41:58.000000000 -0800 -+++ util/soelim/Imakefile 2012-02-03 13:01:00.097079040 -0800 -@@ -1,4 +1,5 @@ - #include <XView.tmpl> -+INCLUDES= -I../../build/include - - SRCS = soelim.c - OBJS = soelim.o diff --git a/x11-toolkits/xview/files/pkg-message.in b/x11-toolkits/xview/files/pkg-message.in deleted file mode 100644 index 7958f4060021..000000000000 --- a/x11-toolkits/xview/files/pkg-message.in +++ /dev/null @@ -1,16 +0,0 @@ -[ -{ type: install - message: <<EOM -Please add the following paths to your X11 font path: - -%%PREFIX%%/lib/X11/fonts/ol100dpi -%%PREFIX%%/lib/X11/fonts/ol75dpi - -Otherwise you will get the following error: - -XView warning: Cannot load font '-b&h-lucida-medium-r-*-*-*-120-*-*-*-*-*-*' (Font package) -XView warning: Cannot load font '-b&h-lucida-medium-r-normal-sans-*-120-*-*-*-*-*-*' (Font package) -XView error: Cannot open connection to window server: :0.0 (Server package) -EOM -} -] diff --git a/x11-toolkits/xview/pkg-descr b/x11-toolkits/xview/pkg-descr deleted file mode 100644 index f37b990215d8..000000000000 --- a/x11-toolkits/xview/pkg-descr +++ /dev/null @@ -1,22 +0,0 @@ -XView (X Window-System-based Visual/Integrated Environment for Workstations) -is a user-interface toolkit to support interactive, graphics-based -applications running under the X Window System. XView provides a set of -pre-built, user-interface objects such as canvases, scrollbars, menus, and -control panels. The appearance and functionality of these objects follow -the OPEN LOOK Graphical User Interface (GUI) specification. XView features -an object-oriented style Application Programmer's Interface (API) that is -straightforward and easy to learn. -This package contains all the configurations files needed for use of -the XView libraries and applications. - -This package contains the libraries, headers and support files -necessary to build XView applications. - -WWW: https://physionet.org/physiotools/xview/ - -Source Notes ------------- -This version of the XView source corresponds to that provided with -OpenWindows Version 3.2 from SunSoft Inc. Libraries generated with this -source should be interchangeable with those from the OpenWindows Version 3.2 -release. diff --git a/x11-toolkits/xview/pkg-plist b/x11-toolkits/xview/pkg-plist deleted file mode 100644 index 8704f4c3d1db..000000000000 --- a/x11-toolkits/xview/pkg-plist +++ /dev/null @@ -1,697 +0,0 @@ -include/bitmaps/1x1 -include/bitmaps/2x2 -include/bitmaps/black -include/bitmaps/boxes -include/bitmaps/calculator -include/bitmaps/cntr_ptr -include/bitmaps/cntr_ptrmsk -include/bitmaps/cross_weave -include/bitmaps/dimple1 -include/bitmaps/dimple3 -include/bitmaps/dot -include/bitmaps/dropbar7 -include/bitmaps/dropbar8 -include/bitmaps/escherknot -include/bitmaps/flagdown -include/bitmaps/flagup -include/bitmaps/flipped_gray -include/bitmaps/gray -include/bitmaps/gray1 -include/bitmaps/gray3 -include/bitmaps/hlines2 -include/bitmaps/hlines3 -include/bitmaps/icon -include/bitmaps/keyboard16 -include/bitmaps/left_ptr -include/bitmaps/left_ptrmsk -include/bitmaps/letters -include/bitmaps/light_gray -include/bitmaps/mailempty -include/bitmaps/mailemptymsk -include/bitmaps/mailfull -include/bitmaps/mailfullmsk -include/bitmaps/mensetmanus -include/bitmaps/menu10 -include/bitmaps/menu12 -include/bitmaps/menu16 -include/bitmaps/menu8 -include/bitmaps/noletters -include/bitmaps/opendot -include/bitmaps/opendotMask -include/bitmaps/plaid -include/bitmaps/right_ptr -include/bitmaps/right_ptrmsk -include/bitmaps/root_weave -include/bitmaps/scales -include/bitmaps/sipb -include/bitmaps/star -include/bitmaps/starMask -include/bitmaps/stipple -include/bitmaps/target -include/bitmaps/terminal -include/bitmaps/tie_fighter -include/bitmaps/txtdup -include/bitmaps/txtdupmask -include/bitmaps/txtdupmore -include/bitmaps/txtdupok -include/bitmaps/txtdupokmask -include/bitmaps/txtdupokmore -include/bitmaps/txtmv -include/bitmaps/txtmvmask -include/bitmaps/txtmvmore -include/bitmaps/txtmvok -include/bitmaps/txtmvokmask -include/bitmaps/txtmvokmore -include/bitmaps/vlines2 -include/bitmaps/vlines3 -include/bitmaps/weird_size -include/bitmaps/wide_weave -include/bitmaps/wierd_size -include/bitmaps/wingdogs -include/bitmaps/woman -include/bitmaps/xfd_icon -include/bitmaps/xlogo11 -include/bitmaps/xlogo16 -include/bitmaps/xlogo32 -include/bitmaps/xlogo64 -include/images/PSdoc.icon -include/images/abc.pr -include/images/abstk.pr -include/images/abstk_up.pr -include/images/alert_bang32.pr -include/images/alert_qmark32.pr -include/images/basic_cursor.pr -include/images/basic_text_cursor.pr -include/images/bg1.xbm -include/images/bg2.xbm -include/images/bg3.xbm -include/images/bind.icon -include/images/black.cursor -include/images/black.icon -include/images/blank.pr -include/images/boggle.icon -include/images/box.pr -include/images/bullseye.cursor -include/images/busy.cursor -include/images/button_stack.pr -include/images/calctool.icon -include/images/canfield.icon -include/images/canvas_demo.icon -include/images/cardback.icon -include/images/chess.clock.icon -include/images/chesstool.icon -include/images/choice_12_off.pr -include/images/choice_12_on.pr -include/images/choice_14_off.pr -include/images/choice_14_on.pr -include/images/choice_16_off.pr -include/images/choice_16_on.pr -include/images/choice_19_off.pr -include/images/choice_19_on.pr -include/images/choice_24_off.pr -include/images/choice_24_on.pr -include/images/choice_32_off.pr -include/images/choice_32_on.pr -include/images/choice_stack.pr -include/images/circle.pr -include/images/circle_0.pr -include/images/circle_25.pr -include/images/circle_50.pr -include/images/circle_75.pr -include/images/circle_black.pr -include/images/circle_root.pr -include/images/clock.icon -include/images/clock.rom.icon -include/images/cmdtool.icon -include/images/cmdtool_mask.icon -include/images/cmrb14.pr -include/images/cmrr14.pr -include/images/compose.icon -include/images/compress.icon -include/images/confirm.cursor -include/images/confirm.pr -include/images/confirm_left.pr -include/images/confirm_middle.pr -include/images/confirm_right.pr -include/images/console.icon -include/images/console_mask.icon -include/images/copy.cursor -include/images/copy_cursor.pr -include/images/copyletter.cursor -include/images/copyletter.pr -include/images/copyletters.cursor -include/images/copyletters.pr -include/images/core_eye.icon -include/images/coredoc.icon -include/images/cursor_demo.icon -include/images/cycle.pr -include/images/dbxtool.icon -include/images/dead.icon -include/images/default.icon -include/images/default_pin_out.pr -include/images/defaultsedit.icon -include/images/dos.icon -include/images/down_arrow.pr -include/images/down_button_10.pr -include/images/down_button_12.pr -include/images/down_button_14.pr -include/images/down_button_19.pr -include/images/draw.icon -include/images/drawdoc.icon -include/images/dup.cursor -include/images/dup_cursor.pr -include/images/empty_letter.icon -include/images/equal.icon -include/images/filemgr.icon -include/images/fl_arrow.xbm -include/images/fl_doc.xbm -include/images/fl_folder.xbm -include/images/fm_clock.icon -include/images/fm_cmdtool.icon -include/images/fm_dbxtool.icon -include/images/fm_fontedit.icon -include/images/fm_iconedit.icon -include/images/fm_mailtool.icon -include/images/fm_textedit.icon -include/images/fm_traffic.icon -include/images/focus_right.cursor -include/images/focus_up.cursor -include/images/folder.pr -include/images/fontdoc.icon -include/images/fontedit.icon -include/images/framedoc.icon -include/images/fv.icon -include/images/gallant19.pr -include/images/gallantr19.pr -include/images/gammon.icon -include/images/gfxtool.icon -include/images/glass.cursor -include/images/gr_25.cursor -include/images/gr_50.cursor -include/images/gr_75.cursor -include/images/gr_root.cursor -include/images/grey_stencil_50.pr -include/images/grid.pr -include/images/hello_world.icon -include/images/hglass.cursor -include/images/ibeam.cursor -include/images/icondoc.icon -include/images/iconedit.icon -include/images/indentdefaults.icon -include/images/jump1.icon -include/images/jump2.icon -include/images/jump3.icon -include/images/jump4.icon -include/images/jump5.icon -include/images/jump6.icon -include/images/k1.pr -include/images/k2.pr -include/images/k3.pr -include/images/k4.pr -include/images/k5.pr -include/images/letter.pr -include/images/letters.pr -include/images/life.icon -include/images/line.pr -include/images/lockscreen.icon -include/images/mail.icon -include/images/maildoc.icon -include/images/mailseen.icon -include/images/maze.icon -include/images/mglass.icon -include/images/mglass_mask.icon -include/images/mouse_left_hand.pr -include/images/mouse_left_hand_grey.pr -include/images/mouse_mid_hand.pr -include/images/mouse_mid_hand_grey.pr -include/images/move.cursor -include/images/move_cursor.pr -include/images/move_h.cursor -include/images/move_v.cursor -include/images/moveletter.cursor -include/images/moveletter.pr -include/images/moveletters.cursor -include/images/moveletters.pr -include/images/nautilus.icon -include/images/nomail.icon -include/images/none.cursor -include/images/off.pr -include/images/on.pr -include/images/overview.icon -include/images/paintdoc.icon -include/images/painting_hand.pr -include/images/panel_button.pr -include/images/panel_button_arrow.pr -include/images/panel_check_choice.pr -include/images/panel_check_off.pr -include/images/panel_check_on.pr -include/images/panel_choice_off.pr -include/images/panel_choice_on.pr -include/images/panel_choose_many.pr -include/images/panel_choose_one.pr -include/images/panel_default_button.pr -include/images/panel_flush.pr -include/images/panel_left_arrow.pr -include/images/panel_menu_on.pr -include/images/panel_pulldown.pr -include/images/panel_pullright.pr -include/images/panel_right_arrow.pr -include/images/panel_switch.pr -include/images/panel_text.pr -include/images/perfmeter.icon -include/images/pin_in.pr -include/images/pin_out.pr -include/images/plus.icon -include/images/point.pr -include/images/printer.icon -include/images/puzzle.icon -include/images/qmark.cursor -include/images/quick_move_cursor.pr -include/images/reply.icon -include/images/rolo.icon -include/images/rspeedometer.icon -include/images/sched.icon -include/images/screenb12.pr -include/images/screenb14.pr -include/images/screenr11.pr -include/images/screenr12.pr -include/images/screenr14.pr -include/images/screenr7.pr -include/images/scrollbar_demo.icon -include/images/shine.pr -include/images/size_pointer.pr -include/images/snapshot.icon -include/images/speedometer.icon -include/images/spreadsheet.icon -include/images/square_0.pr -include/images/square_17.pr -include/images/square_25.pr -include/images/square_50.pr -include/images/square_75.pr -include/images/square_80.pr -include/images/square_black.pr -include/images/square_root.pr -include/images/stretchNE.cursor -include/images/stretchNW.cursor -include/images/stretchSE.cursor -include/images/stretchSW.cursor -include/images/stretch_h.cursor -include/images/stretch_v.cursor -include/images/sun30.icon -include/images/sundraw.icon -include/images/sunpaint.icon -include/images/sunview_manual.icon -include/images/sunwrite.icon -include/images/switcher.icon -include/images/tapetool.icon -include/images/tektool.icon -include/images/template.icon -include/images/terminal.icon -include/images/terminal_mask.icon -include/images/text_move_cursor.pr -include/images/textedit.icon -include/images/toggle_12_off.pr -include/images/toggle_12_on.pr -include/images/toggle_14_off.pr -include/images/toggle_14_on.pr -include/images/toggle_16_off.pr -include/images/toggle_16_on.pr -include/images/toggle_19_off.pr -include/images/toggle_19_on.pr -include/images/toggle_24_off.pr -include/images/toggle_24_on.pr -include/images/toggle_32_off.pr -include/images/toggle_32_on.pr -include/images/traffic.icon -include/images/tri_down.pr -include/images/tri_left.pr -include/images/tri_right.pr -include/images/tri_up.pr -include/images/undelete.image -include/images/up_button_10.pr -include/images/up_button_12.pr -include/images/up_button_14.pr -include/images/up_button_19.pr -include/images/vitool.icon -include/images/white.icon -include/images/white.pr -include/images/writedoc.icon -include/images/xsol.icon -include/olgx/olgx.h -include/olgx_private/busy.h -include/olgx_private/grey.h -include/olgx_private/olgx_impl.h -include/pixrect/bw2var.h -include/pixrect/cg12_var.h -include/pixrect/cg2reg.h -include/pixrect/cg2var.h -include/pixrect/cg3var.h -include/pixrect/cg4var.h -include/pixrect/cg8var.h -include/pixrect/cg9var.h -include/pixrect/gp1cmds.h -include/pixrect/gp1reg.h -include/pixrect/mem32_var.h -include/pixrect/mem_rop_impl_ops.h -include/pixrect/mem_rop_impl_util.h -include/pixrect/memreg.h -include/pixrect/memvar.h -include/pixrect/pixfont.h -include/pixrect/pixrect.h -include/pixrect/pixrect_hs.h -include/pixrect/pr_dblbuf.h -include/pixrect/pr_impl_make.h -include/pixrect/pr_impl_util.h -include/pixrect/pr_io.h -include/pixrect/pr_line.h -include/pixrect/pr_planegroups.h -include/pixrect/pr_util.h -include/pixrect/rasterfile.h -include/pixrect/traprop.h -include/pixrect/tv1var.h -include/xview/alert.h -include/xview/attr.h -include/xview/attrol.h -include/xview/base.h -include/xview/canvas.h -include/xview/cms.h -include/xview/cms_grays.h -include/xview/cms_mono.h -include/xview/cms_rgb.h -include/xview/cmsrainbow.h -include/xview/cursor.h -include/xview/db.h -include/xview/defaults.h -include/xview/dragdrop.h -include/xview/drawable.h -include/xview/expandname.h -include/xview/file_chsr.h -include/xview/file_list.h -include/xview/font.h -include/xview/frame.h -include/xview/fullscreen.h -include/xview/generic.h -include/xview/hist.h -include/xview/icon.h -include/xview/icon_load.h -include/xview/notice.h -include/xview/notify.h -include/xview/openmenu.h -include/xview/openwin.h -include/xview/panel.h -include/xview/path.h -include/xview/pixwin.h -include/xview/pkg.h -include/xview/pkg_public.h -include/xview/rect.h -include/xview/rectlist.h -include/xview/screen.h -include/xview/scrollbar.h -include/xview/sel_attrs.h -include/xview/sel_compat.h -include/xview/sel_pkg.h -include/xview/sel_svc.h -include/xview/selection.h -include/xview/seln.h -include/xview/server.h -include/xview/str_utils.h -include/xview/sun.h -include/xview/svrimage.h -include/xview/termsw.h -include/xview/text.h -include/xview/textsw.h -include/xview/tty.h -include/xview/ttysw.h -include/xview/win_enum.h -include/xview/win_env.h -include/xview/win_event.h -include/xview/win_input.h -include/xview/win_notify.h -include/xview/win_screen.h -include/xview/win_struct.h -include/xview/window.h -include/xview/window_hs.h -include/xview/wmgr.h -include/xview/xv_c_types.h -include/xview/xv_error.h -include/xview/xv_i18n.h -include/xview/xv_version.h -include/xview/xv_xrect.h -include/xview/xview.h -include/xview/xview_xvin.h -include/xview_private/attr_impl.h -include/xview_private/bitmask.h -include/xview_private/charimage.h -include/xview_private/charscreen.h -include/xview_private/cms_impl.h -include/xview_private/cnvs_impl.h -include/xview_private/curs_impl.h -include/xview_private/dndimpl.h -include/xview_private/draw_impl.h -include/xview_private/ei.h -include/xview_private/es.h -include/xview_private/ev.h -include/xview_private/ev_impl.h -include/xview_private/fchsr_impl.h -include/xview_private/filter.h -include/xview_private/finger_tbl.h -include/xview_private/flist_impl.h -include/xview_private/fm_impl.h -include/xview_private/font_impl.h -include/xview_private/frame_base.h -include/xview_private/frame_cmd.h -include/xview_private/frame_help.h -include/xview_private/fs_impl.h -include/xview_private/gen_impl.h -include/xview_private/gettext.h -include/xview_private/hashfn.h -include/xview_private/hist_impl.h -include/xview_private/i18n_impl.h -include/xview_private/icon_impl.h -include/xview_private/io_stream.h -include/xview_private/item_impl.h -include/xview_private/ndet.h -include/xview_private/ndis.h -include/xview_private/nint.h -include/xview_private/noticeimpl.h -include/xview_private/ntfy.h -include/xview_private/ntfy_ctbl.h -include/xview_private/om_impl.h -include/xview_private/omi_impl.h -include/xview_private/ow_impl.h -include/xview_private/p_lst_impl.h -include/xview_private/panel_impl.h -include/xview_private/path_impl.h -include/xview_private/portable.h -include/xview_private/primal.h -include/xview_private/ps_impl.h -include/xview_private/pw_impl.h -include/xview_private/sb_impl.h -include/xview_private/scrn_impl.h -include/xview_private/scrn_vis.h -include/xview_private/sel_impl.h -include/xview_private/seln_impl.h -include/xview_private/site_impl.h -include/xview_private/svr_atom.h -include/xview_private/svr_impl.h -include/xview_private/svr_kmdata.h -include/xview_private/svrim_impl.h -include/xview_private/term_impl.h -include/xview_private/tty_impl.h -include/xview_private/ttyansi.h -include/xview_private/txt_18impl.h -include/xview_private/txt_impl.h -include/xview_private/ultrix_cpt.h -include/xview_private/win_info.h -include/xview_private/win_keymap.h -include/xview_private/windowimpl.h -include/xview_private/wmgr_decor.h -include/xview_private/xv_color.h -include/xview_private/xv_debug.h -include/xview_private/xv_list.h -include/xview_private/xv_path_util.h -lib/libolgx.a -lib/libolgx.so -lib/libolgx.so.3 -lib/libxview.a -lib/libxview.sa.3 -lib/libxview.so -lib/libxview.so.3 -lib/.text_extras_menu -lib/.textswrc -lib/.ttyswrc -lib/text_extras_menu -lib/textswrc -lib/ttyswrc -lib/help/textsw.info -lib/help/ttysw.info -lib/help/xview.info -lib/X11/config/XView.cf -lib/X11/config/XView.lib -lib/X11/config/XView.obj -lib/X11/config/XView.rules -lib/X11/config/XView.tmpl -lib/X11/config/XView.prog -lib/X11/fonts/ol75dpi/luBIS08.pcf.gz -lib/X11/fonts/ol75dpi/luBIS10.pcf.gz -lib/X11/fonts/ol75dpi/luBIS12.pcf.gz -lib/X11/fonts/ol75dpi/luBIS14.pcf.gz -lib/X11/fonts/ol75dpi/luBIS18.pcf.gz -lib/X11/fonts/ol75dpi/luBIS24.pcf.gz -lib/X11/fonts/ol75dpi/luBS08.pcf.gz -lib/X11/fonts/ol75dpi/luBS10.pcf.gz -lib/X11/fonts/ol75dpi/luBS12.pcf.gz -lib/X11/fonts/ol75dpi/luBS14.pcf.gz -lib/X11/fonts/ol75dpi/luBS18.pcf.gz -lib/X11/fonts/ol75dpi/luBS24.pcf.gz -lib/X11/fonts/ol75dpi/luIS08.pcf.gz -lib/X11/fonts/ol75dpi/luIS10.pcf.gz -lib/X11/fonts/ol75dpi/luIS12.pcf.gz -lib/X11/fonts/ol75dpi/luIS14.pcf.gz -lib/X11/fonts/ol75dpi/luIS18.pcf.gz -lib/X11/fonts/ol75dpi/luIS24.pcf.gz -lib/X11/fonts/ol75dpi/luRS08.pcf.gz -lib/X11/fonts/ol75dpi/luRS10.pcf.gz -lib/X11/fonts/ol75dpi/luRS12.pcf.gz -lib/X11/fonts/ol75dpi/luRS14.pcf.gz -lib/X11/fonts/ol75dpi/luRS18.pcf.gz -lib/X11/fonts/ol75dpi/luRS24.pcf.gz -lib/X11/fonts/ol75dpi/lubB08.pcf.gz -lib/X11/fonts/ol75dpi/lubB10.pcf.gz -lib/X11/fonts/ol75dpi/lubB12.pcf.gz -lib/X11/fonts/ol75dpi/lubB14.pcf.gz -lib/X11/fonts/ol75dpi/lubB18.pcf.gz -lib/X11/fonts/ol75dpi/lubB24.pcf.gz -lib/X11/fonts/ol75dpi/lubBI08.pcf.gz -lib/X11/fonts/ol75dpi/lubBI10.pcf.gz -lib/X11/fonts/ol75dpi/lubBI12.pcf.gz -lib/X11/fonts/ol75dpi/lubBI14.pcf.gz -lib/X11/fonts/ol75dpi/lubBI18.pcf.gz -lib/X11/fonts/ol75dpi/lubBI24.pcf.gz -lib/X11/fonts/ol75dpi/lubI08.pcf.gz -lib/X11/fonts/ol75dpi/lubI10.pcf.gz -lib/X11/fonts/ol75dpi/lubI12.pcf.gz -lib/X11/fonts/ol75dpi/lubI14.pcf.gz -lib/X11/fonts/ol75dpi/lubI18.pcf.gz -lib/X11/fonts/ol75dpi/lubI24.pcf.gz -lib/X11/fonts/ol75dpi/lubR08.pcf.gz -lib/X11/fonts/ol75dpi/lubR10.pcf.gz -lib/X11/fonts/ol75dpi/lubR12.pcf.gz -lib/X11/fonts/ol75dpi/lubR14.pcf.gz -lib/X11/fonts/ol75dpi/lubR18.pcf.gz -lib/X11/fonts/ol75dpi/lubR24.pcf.gz -lib/X11/fonts/ol75dpi/lutBS08.pcf.gz -lib/X11/fonts/ol75dpi/lutBS10.pcf.gz -lib/X11/fonts/ol75dpi/lutBS12.pcf.gz -lib/X11/fonts/ol75dpi/lutBS14.pcf.gz -lib/X11/fonts/ol75dpi/lutBS18.pcf.gz -lib/X11/fonts/ol75dpi/lutBS24.pcf.gz -lib/X11/fonts/ol75dpi/lutRS08.pcf.gz -lib/X11/fonts/ol75dpi/lutRS10.pcf.gz -lib/X11/fonts/ol75dpi/lutRS12.pcf.gz -lib/X11/fonts/ol75dpi/lutRS14.pcf.gz -lib/X11/fonts/ol75dpi/lutRS18.pcf.gz -lib/X11/fonts/ol75dpi/lutRS24.pcf.gz -lib/X11/fonts/ol75dpi/luBIS19.pcf.gz -lib/X11/fonts/ol75dpi/luBS19.pcf.gz -lib/X11/fonts/ol75dpi/luIS19.pcf.gz -lib/X11/fonts/ol75dpi/luRS19.pcf.gz -lib/X11/fonts/ol75dpi/lubB19.pcf.gz -lib/X11/fonts/ol75dpi/lubBI19.pcf.gz -lib/X11/fonts/ol75dpi/lubI19.pcf.gz -lib/X11/fonts/ol75dpi/lubR19.pcf.gz -lib/X11/fonts/ol75dpi/lutBS19.pcf.gz -lib/X11/fonts/ol75dpi/lutRS19.pcf.gz -lib/X11/fonts/ol75dpi/fonts.scale -lib/X11/fonts/ol75dpi/fonts.dir -lib/X11/fonts/ol75dpi/fonts.alias -lib/X11/fonts/ol100dpi/luBIS08.pcf.gz -lib/X11/fonts/ol100dpi/luBIS10.pcf.gz -lib/X11/fonts/ol100dpi/luBIS12.pcf.gz -lib/X11/fonts/ol100dpi/luBIS14.pcf.gz -lib/X11/fonts/ol100dpi/luBIS18.pcf.gz -lib/X11/fonts/ol100dpi/luBIS24.pcf.gz -lib/X11/fonts/ol100dpi/luBS08.pcf.gz -lib/X11/fonts/ol100dpi/luBS10.pcf.gz -lib/X11/fonts/ol100dpi/luBS12.pcf.gz -lib/X11/fonts/ol100dpi/luBS14.pcf.gz -lib/X11/fonts/ol100dpi/luBS18.pcf.gz -lib/X11/fonts/ol100dpi/luBS24.pcf.gz -lib/X11/fonts/ol100dpi/luIS08.pcf.gz -lib/X11/fonts/ol100dpi/luIS10.pcf.gz -lib/X11/fonts/ol100dpi/luIS12.pcf.gz -lib/X11/fonts/ol100dpi/luIS14.pcf.gz -lib/X11/fonts/ol100dpi/luIS18.pcf.gz -lib/X11/fonts/ol100dpi/luIS24.pcf.gz -lib/X11/fonts/ol100dpi/luRS08.pcf.gz -lib/X11/fonts/ol100dpi/luRS10.pcf.gz -lib/X11/fonts/ol100dpi/luRS12.pcf.gz -lib/X11/fonts/ol100dpi/luRS14.pcf.gz -lib/X11/fonts/ol100dpi/luRS18.pcf.gz -lib/X11/fonts/ol100dpi/luRS24.pcf.gz -lib/X11/fonts/ol100dpi/lubB08.pcf.gz -lib/X11/fonts/ol100dpi/lubB10.pcf.gz -lib/X11/fonts/ol100dpi/lubB12.pcf.gz -lib/X11/fonts/ol100dpi/lubB14.pcf.gz -lib/X11/fonts/ol100dpi/lubB18.pcf.gz -lib/X11/fonts/ol100dpi/lubB24.pcf.gz -lib/X11/fonts/ol100dpi/lubBI08.pcf.gz -lib/X11/fonts/ol100dpi/lubBI10.pcf.gz -lib/X11/fonts/ol100dpi/lubBI12.pcf.gz -lib/X11/fonts/ol100dpi/lubBI14.pcf.gz -lib/X11/fonts/ol100dpi/lubBI18.pcf.gz -lib/X11/fonts/ol100dpi/lubBI24.pcf.gz -lib/X11/fonts/ol100dpi/lubI08.pcf.gz -lib/X11/fonts/ol100dpi/lubI10.pcf.gz -lib/X11/fonts/ol100dpi/lubI12.pcf.gz -lib/X11/fonts/ol100dpi/lubI14.pcf.gz -lib/X11/fonts/ol100dpi/lubI18.pcf.gz -lib/X11/fonts/ol100dpi/lubI24.pcf.gz -lib/X11/fonts/ol100dpi/lubR08.pcf.gz -lib/X11/fonts/ol100dpi/lubR10.pcf.gz -lib/X11/fonts/ol100dpi/lubR12.pcf.gz -lib/X11/fonts/ol100dpi/lubR14.pcf.gz -lib/X11/fonts/ol100dpi/lubR18.pcf.gz -lib/X11/fonts/ol100dpi/lubR24.pcf.gz -lib/X11/fonts/ol100dpi/lutBS08.pcf.gz -lib/X11/fonts/ol100dpi/lutBS10.pcf.gz -lib/X11/fonts/ol100dpi/lutBS12.pcf.gz -lib/X11/fonts/ol100dpi/lutBS14.pcf.gz -lib/X11/fonts/ol100dpi/lutBS18.pcf.gz -lib/X11/fonts/ol100dpi/lutBS24.pcf.gz -lib/X11/fonts/ol100dpi/lutRS08.pcf.gz -lib/X11/fonts/ol100dpi/lutRS10.pcf.gz -lib/X11/fonts/ol100dpi/lutRS12.pcf.gz -lib/X11/fonts/ol100dpi/lutRS14.pcf.gz -lib/X11/fonts/ol100dpi/lutRS18.pcf.gz -lib/X11/fonts/ol100dpi/lutRS24.pcf.gz -lib/X11/fonts/ol100dpi/luBIS19.pcf.gz -lib/X11/fonts/ol100dpi/luBS19.pcf.gz -lib/X11/fonts/ol100dpi/luIS19.pcf.gz -lib/X11/fonts/ol100dpi/luRS19.pcf.gz -lib/X11/fonts/ol100dpi/lubB19.pcf.gz -lib/X11/fonts/ol100dpi/lubBI19.pcf.gz -lib/X11/fonts/ol100dpi/lubI19.pcf.gz -lib/X11/fonts/ol100dpi/lubR19.pcf.gz -lib/X11/fonts/ol100dpi/lutBS19.pcf.gz -lib/X11/fonts/ol100dpi/lutRS19.pcf.gz -lib/X11/fonts/ol100dpi/fonts.scale -lib/X11/fonts/ol100dpi/fonts.dir -lib/X11/fonts/ol100dpi/fonts.alias -lib/X11/fonts/olmisc/olcursor.pcf.gz -lib/X11/fonts/olmisc/olgl10.pcf.gz -lib/X11/fonts/olmisc/olgl12.pcf.gz -lib/X11/fonts/olmisc/olgl14.pcf.gz -lib/X11/fonts/olmisc/olgl19.pcf.gz -lib/X11/fonts/olmisc/fonts.scale -lib/X11/fonts/olmisc/fonts.dir -lib/X11/fonts/olmisc/fonts.alias -man/man1/XView.1.gz -%%PORTDOCS%%%%DOCSDIR%%/bugform -%%PORTDOCS%%%%DOCSDIR%%/dnd_api.txt -%%PORTDOCS%%%%DOCSDIR%%/olgx_api.txt -%%PORTDOCS%%%%DOCSDIR%%/olgx_api.ps -%%PORTDOCS%%%%DOCSDIR%%/paper.ms -%%PORTDOCS%%%%DOCSDIR%%/sel_api.txt -%%PORTDOCS%%%%DOCSDIR%%/whats_new.ps -%%PORTDOCS%%%%DOCSDIR%%/xview-info |