View | Details | Raw Unified | Return to bug 249626
Collapse All | Expand All

(-)Mk/Uses/gmake.mk (+1 lines)
Lines 17-21 IGNORE= Incorrect 'USES+= gmake:${gmake_ARGS}' gmake takes no arguments Link Here
17
BUILD_DEPENDS+=		gmake>=4.3:devel/gmake
17
BUILD_DEPENDS+=		gmake>=4.3:devel/gmake
18
CONFIGURE_ENV+=		MAKE=gmake
18
CONFIGURE_ENV+=		MAKE=gmake
19
MAKE_CMD=		gmake
19
MAKE_CMD=		gmake
20
#MAKE_ENV+=		MAKE=${LOCALBASE}/bin/gmake
20
21
21
.endif
22
.endif
(-)Mk/Uses/gnome.mk (-5 / +1 lines)
Lines 81-87 _USE_GNOME_ALL+= atk cairo \ Link Here
81
		libgnomecanvas libgnomekbd \
81
		libgnomecanvas libgnomekbd \
82
		libgnomeui libgsf libgtkhtml libidl librsvg2 libwnck \
82
		libgnomeui libgsf libgtkhtml libidl librsvg2 libwnck \
83
		libxml2 libxslt \
83
		libxml2 libxslt \
84
		orbit2 pango pangox-compat pygobject pygtk2 \
84
		orbit2 pango pangox-compat pygobject \
85
		vte
85
		vte
86
86
87
# GNOME 3 components
87
# GNOME 3 components
Lines 303-312 pygobject3_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@$ Link Here
303
pygobject3_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
303
pygobject3_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
304
pygobject3_USE_GNOME_IMPL=	glib20
304
pygobject3_USE_GNOME_IMPL=	glib20
305
305
306
pygtk2_BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc:x11-toolkits/py-gtk2
307
pygtk2_RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc:x11-toolkits/py-gtk2
308
pygtk2_USE_GNOME_IMPL=	libglade2 pygobject
309
310
intltool_BUILD_DEPENDS=	${LOCALBASE}/bin/intltool-extract:textproc/intltool
306
intltool_BUILD_DEPENDS=	${LOCALBASE}/bin/intltool-extract:textproc/intltool
311
307
312
intlhack_PRE_PATCH=	${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${FRAMEWORK_REINPLACE_CMD} \
308
intlhack_PRE_PATCH=	${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${FRAMEWORK_REINPLACE_CMD} \
(-)Mk/Uses/python.mk (-68 / +24 lines)
Lines 18-27 Link Here
18
#
18
#
19
#		Examples:
19
#		Examples:
20
#
20
#
21
#			USES=python:2.7		# Supports Python 2.7 Only
21
#			USES=python:3.6+	# Supports Python 3.6 or later
22
#			USES=python:3.5+	# Supports Python 3.5 or later
22
#			USES=python:3.6-3.8	# Supports Python 3.6 to 3.8
23
#			USES=python:3.5-3.8	# Supports Python 3.5 to 3.8
23
#			USES=python:-3.7	# Supports Python up to 3.7
24
#			USES=python:-3.6	# Supports Python up to 3.6
25
#			USES=python		# Supports any/all Python versions
24
#			USES=python		# Supports any/all Python versions
26
#
25
#
27
# NOTE:	<version-spec> should be as specific as possible, matching the versions
26
# NOTE:	<version-spec> should be as specific as possible, matching the versions
Lines 31-37 Link Here
31
#
30
#
32
#	Not specifying a <version-spec> should only be used when a more specific
31
#	Not specifying a <version-spec> should only be used when a more specific
33
#	<version-spec> cannot be specified due to syntax limitations, for
32
#	<version-spec> cannot be specified due to syntax limitations, for
34
#	example: 2.7,3.4-3.6, but even in this case, X.Y+ (2.7+), or -X.Y (-3.6)
33
#	example: 3.4-3.6, but even in this case, X.Y+ (3.4+), or -X.Y (-3.6)
35
#	is preferred and likely more correct.
34
#	is preferred and likely more correct.
36
#
35
#
37
# patch		Python is needed at patch time. Adds dependency to PATCH_DEPENDS.
36
# patch		Python is needed at patch time. Adds dependency to PATCH_DEPENDS.
Lines 52-58 Link Here
52
# Exported variables:
51
# Exported variables:
53
#
52
#
54
# PYTHON_VERSION	- The chosen Python interpreter including the version,
53
# PYTHON_VERSION	- The chosen Python interpreter including the version,
55
#			  e.g. python2.7, python3.5, etc.
54
#			  e.g. python3.6, python3.7, etc.
56
#
55
#
57
# Variables, which can be set by the port:
56
# Variables, which can be set by the port:
58
#
57
#
Lines 82-88 Link Here
82
#
81
#
83
#			  are linked from the prefixed version to the
82
#			  are linked from the prefixed version to the
84
#			  prefix-less original name, e.g.
83
#			  prefix-less original name, e.g.
85
#			  bin/foo-2.7 --> bin/foo.
84
#			  bin/foo-3.6 --> bin/foo.
86
#
85
#
87
#	cython		- Depend on lang/cython at build-time.
86
#	cython		- Depend on lang/cython at build-time.
88
#
87
#
Lines 176-192 Link Here
176
# PYTHON_PORTSDIR	- The port directory of the chosen Python interpreter
175
# PYTHON_PORTSDIR	- The port directory of the chosen Python interpreter
177
#
176
#
178
# PYTHON_REL		- The release number of the chosen Python interpreter
177
# PYTHON_REL		- The release number of the chosen Python interpreter
179
#			  without dots, e.g. 2706, 3401, ...
178
#			  without dots, e.g. 3401, 3709, ...
180
#
179
#
181
# PYTHON_SUFFIX		- The major-minor release number of the chosen Python
180
# PYTHON_SUFFIX		- The major-minor release number of the chosen Python
182
#			  interpreter without dots, e.g. 27, 36, ...
181
#			  interpreter without dots, e.g. 36, 37, ...
183
#			  Used for prefixes and suffixes.
182
#			  Used for prefixes and suffixes.
184
#
183
#
185
# PYTHON_MAJOR_VER	- The major release version of the chosen Python
184
# PYTHON_MAJOR_VER	- The major release version of the chosen Python
186
#			  interpreter, e.g. 2, 3, ...
185
#			  interpreter, e.g. 3, ...
187
#
186
#
188
# PYTHON_VER		- The major-minor release version of the chosen Python
187
# PYTHON_VER		- The major-minor release version of the chosen Python
189
#			  interpreter, e.g. 2.7, 3.6, ...
188
#			  interpreter, e.g. 3.6, 3.7, ...
190
#
189
#
191
# PYTHON_ABIVER		- Additional ABI flags set by the chosen Python
190
# PYTHON_ABIVER		- Additional ABI flags set by the chosen Python
192
#			  interpreter, e.g. md
191
#			  interpreter, e.g. md
Lines 234-244 Link Here
234
#	PYTHON_VER=${PYTHON_VER}
233
#	PYTHON_VER=${PYTHON_VER}
235
#	PYTHON_VERSION=${PYTHON_VERSION}
234
#	PYTHON_VERSION=${PYTHON_VERSION}
236
#
235
#
237
# and PYTHON2 and PYTHON3 will be set according to the Python version:
238
#
239
#	PYTHON2="" PYTHON3="@comment " for Python 2.x
240
#	PYTHON2="@comment " PYTHON3="" for Python 3.x
241
#
242
# PYDISTUTILS_INSTALLNOSINGLE
236
# PYDISTUTILS_INSTALLNOSINGLE
243
#			- Deprecated without replacement
237
#			- Deprecated without replacement
244
#
238
#
Lines 250-257 _INCLUDE_USES_PYTHON_MK= yes Link Here
250
# What Python version and what Python interpreters are currently supported?
244
# What Python version and what Python interpreters are currently supported?
251
# When adding a version, please keep the comment in
245
# When adding a version, please keep the comment in
252
# Mk/bsd.default-versions.mk in sync.
246
# Mk/bsd.default-versions.mk in sync.
253
_PYTHON_VERSIONS=		2.7 3.7 3.8 3.6 # preferred first
247
_PYTHON_VERSIONS=		3.7 3.8 3.6 # preferred first
254
_PYTHON_PORTBRANCH=		2.7		# ${_PYTHON_VERSIONS:[1]}
248
_PYTHON_PORTBRANCH=		3.7		# ${_PYTHON_VERSIONS:[1]}
255
_PYTHON_BASECMD=		${LOCALBASE}/bin/python
249
_PYTHON_BASECMD=		${LOCALBASE}/bin/python
256
_PYTHON_RELPORTDIR=		lang/python
250
_PYTHON_RELPORTDIR=		lang/python
257
251
Lines 320-336 _PYTHON_RUN_DEP= yes Link Here
320
_PYTHON_TEST_DEP=	yes
314
_PYTHON_TEST_DEP=	yes
321
.endif
315
.endif
322
316
323
.if ${PYTHON2_DEFAULT} != ${PYTHON_DEFAULT} && ${PYTHON3_DEFAULT} != ${PYTHON_DEFAULT}
317
.if ${PYTHON3_DEFAULT} != ${PYTHON_DEFAULT}
324
WARNING+=	"PYTHON_DEFAULT must be a version present in PYTHON2_DEFAULT or PYTHON3_DEFAULT, if you want more Python flavors, set BUILD_ALL_PYTHON_FLAVORS in your make.conf"
318
WARNING+=	"PYTHON_DEFAULT must be a version present in PYTHON3_DEFAULT, if you want more Python flavors, set BUILD_ALL_PYTHON_FLAVORS in your make.conf"
325
.endif
319
.endif
326
320
327
.if ${_PYTHON_ARGS} == 2.7
321
.if ${_PYTHON_ARGS} == 3
328
DEV_WARNING+=		"lang/python27 reached End of Life and will be removed on 2020-12-31, consider converting to a modern version of python"
329
.elif ${_PYTHON_ARGS} == 2
330
DEV_ERROR+=		"USES=python:2 is no longer supported, use USES=python:2.7"
331
.elif ${_PYTHON_ARGS} == 3
332
DEV_ERROR+=		"USES=python:3 is no longer supported, use USES=python:3.6+ or an appropriate version range"
322
DEV_ERROR+=		"USES=python:3 is no longer supported, use USES=python:3.6+ or an appropriate version range"
333
.endif  # ${_PYTHON_ARGS} == 2.7
323
.endif
334
324
335
_PYTHON_VERSION:=	${PYTHON_DEFAULT}
325
_PYTHON_VERSION:=	${PYTHON_DEFAULT}
336
326
Lines 358-364 _PYTHON_VERSION_NONSUPPORTED= ${_PYTHON_VERSION_MAXIMUM} at most Link Here
358
# If we have an unsupported version of Python, try another.
348
# If we have an unsupported version of Python, try another.
359
.if defined(_PYTHON_VERSION_NONSUPPORTED)
349
.if defined(_PYTHON_VERSION_NONSUPPORTED)
360
.undef _PYTHON_VERSION
350
.undef _PYTHON_VERSION
361
.for ver in ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_VERSIONS}
351
.for ver in ${PYTHON3_DEFAULT} ${_PYTHON_VERSIONS}
362
__VER=		${ver}
352
__VER=		${ver}
363
.if !defined(_PYTHON_VERSION) && \
353
.if !defined(_PYTHON_VERSION) && \
364
	!(!empty(_PYTHON_VERSION_MINIMUM) && ( \
354
	!(!empty(_PYTHON_VERSION_MINIMUM) && ( \
Lines 370-382 _PYTHON_VERSION= ${ver} Link Here
370
.endfor
360
.endfor
371
.if !defined(_PYTHON_VERSION)
361
.if !defined(_PYTHON_VERSION)
372
IGNORE=		needs an unsupported version of Python
362
IGNORE=		needs an unsupported version of Python
363
# Set this to not bail out too early
364
_PYTHON_VERSION=	${PYTHON_DEFAULT}
373
.endif
365
.endif
374
.endif	# defined(_PYTHON_VERSION_NONSUPPORTED)
366
.endif	# defined(_PYTHON_VERSION_NONSUPPORTED)
375
367
376
# Automatically generates FLAVORS if empty
368
# Automatically generates FLAVORS if empty
377
.if empty(FLAVORS) && defined(_PYTHON_FEATURE_FLAVORS)
369
.if empty(FLAVORS) && defined(_PYTHON_FEATURE_FLAVORS)
378
.  undef _VALID_PYTHON_VERSIONS
370
.  undef _VALID_PYTHON_VERSIONS
379
.  for ver in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_VERSIONS}
371
.  for ver in ${PYTHON_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_VERSIONS}
380
__VER=		${ver}
372
__VER=		${ver}
381
.    if !(!empty(_PYTHON_VERSION_MINIMUM) && ( \
373
.    if !(!empty(_PYTHON_VERSION_MINIMUM) && ( \
382
		${__VER} < ${_PYTHON_VERSION_MINIMUM})) && \
374
		${__VER} < ${_PYTHON_VERSION_MINIMUM})) && \
Lines 398-404 _ALL_PYTHON_FLAVORS= ${_PYTHON_VERSIONS:S/.//:S/^/py/} Link Here
398
.  if defined(BUILD_ALL_PYTHON_FLAVORS) || defined(_PYTHON_FEATURE_ALLFLAVORS)
390
.  if defined(BUILD_ALL_PYTHON_FLAVORS) || defined(_PYTHON_FEATURE_ALLFLAVORS)
399
FLAVORS=	${_ALL_PYTHON_FLAVORS}
391
FLAVORS=	${_ALL_PYTHON_FLAVORS}
400
.  else
392
.  else
401
.    for _v in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT}
393
.    for _v in ${PYTHON_DEFAULT} ${PYTHON3_DEFAULT}
402
_f=	py${_v:S/.//}
394
_f=	py${_v:S/.//}
403
.      if ${_ALL_PYTHON_FLAVORS:M${_f}} && !${FLAVORS:M${_f}}
395
.      if ${_ALL_PYTHON_FLAVORS:M${_f}} && !${FLAVORS:M${_f}}
404
.if !empty(FLAVORS)
396
.if !empty(FLAVORS)
Lines 414-420 FLAVOR= ${FLAVORS:[1]} Link Here
414
.  endif
406
.  endif
415
.endif
407
.endif
416
408
417
.if ${FLAVOR:Mpy[23][0-9]}
409
.if ${FLAVOR:Mpy[3][0-9]}
418
_PYTHON_VERSION=	${FLAVOR:S/py//:C/(.)/\1./}
410
_PYTHON_VERSION=	${FLAVOR:S/py//:C/(.)/\1./}
419
.endif
411
.endif
420
412
Lines 454-472 PYTHON_REL= ${PYTHON_PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/:C/\.([0-9]+)$ Link Here
454
446
455
# Might be overridden by calling ports
447
# Might be overridden by calling ports
456
PYTHON_CMD?=		${_PYTHON_BASECMD}${_PYTHON_VERSION}
448
PYTHON_CMD?=		${_PYTHON_BASECMD}${_PYTHON_VERSION}
457
.if ${PYTHON_VER} != 2.7
458
.if exists(${PYTHON_CMD}-config)
449
.if exists(${PYTHON_CMD}-config)
459
PYTHON_ABIVER!=		${PYTHON_CMD}-config --abiflags
450
PYTHON_ABIVER!=		${PYTHON_CMD}-config --abiflags
460
.elif ${PYTHON_REL} < 3800
451
.elif ${PYTHON_REL} < 3800
461
# Default ABI flags for lang/python3[67] ports
452
# Default ABI flags for lang/python3[67] ports
462
PYTHON_ABIVER=		m
453
PYTHON_ABIVER=		m
463
.endif
454
.endif
464
.endif
465
466
.if ${PYTHON_MAJOR_VER} == 2
467
DEPRECATED?=	Uses Python 2.7 which is EOLed upstream
468
EXPIRATION_DATE?=	2020-12-31
469
.endif
470
455
471
.if !defined(PYTHONBASE)
456
.if !defined(PYTHONBASE)
472
PYTHONBASE!=	(${PYTHON_CMD} -c 'import sys; print(sys.prefix)' \
457
PYTHONBASE!=	(${PYTHON_CMD} -c 'import sys; print(sys.prefix)' \
Lines 489-499 PYTHONPREFIX_SITELIBDIR= ${PYTHON_SITELIBDIR:S;${PYTHONBASE};${PREFIX};} Link Here
489
_PYTHONPKGLIST=	${WRKDIR}/.PLIST.pymodtmp
474
_PYTHONPKGLIST=	${WRKDIR}/.PLIST.pymodtmp
490
475
491
# PEP 0488 (https://www.python.org/dev/peps/pep-0488/)
476
# PEP 0488 (https://www.python.org/dev/peps/pep-0488/)
492
.if ${PYTHON_REL} < 3500
493
PYTHON_PYOEXTENSION=	pyo
494
.else
495
PYTHON_PYOEXTENSION=	opt-1.pyc
477
PYTHON_PYOEXTENSION=	opt-1.pyc
496
.endif
497
478
498
# Ports bound to a certain python version SHOULD
479
# Ports bound to a certain python version SHOULD
499
# - use the PYTHON_PKGNAMEPREFIX
480
# - use the PYTHON_PKGNAMEPREFIX
Lines 636-672 PYGAME= ${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR} Link Here
636
PYNUMPY=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1<1.20,1:math/py-numpy@${PY_FLAVOR}
617
PYNUMPY=	${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1<1.20,1:math/py-numpy@${PY_FLAVOR}
637
618
638
# Common Python modules that can be needed but only for some versions of Python.
619
# Common Python modules that can be needed but only for some versions of Python.
639
.if ${PYTHON_REL} < 3500
640
PY_PILLOW=	${PYTHON_PKGNAMEPREFIX}pillow6>=6.0.0:graphics/py-pillow6@${PY_FLAVOR}
641
PY_PYGMENTS=	${PYTHON_PKGNAMEPREFIX}pygments-25>=2.5.1:textproc/py-pygments-25@${PY_FLAVOR}
642
PY_SPHINX=	${PYTHON_PKGNAMEPREFIX}sphinx18>=0:textproc/py-sphinx18@${PY_FLAVOR}
643
PY_TYPING=	${PYTHON_PKGNAMEPREFIX}typing>=3.7.4.1:devel/py-typing@${PY_FLAVOR}
644
.else
645
PY_PILLOW=	${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR}
620
PY_PILLOW=	${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR}
646
PY_PYGMENTS=	${PYTHON_PKGNAMEPREFIX}pygments>=2.5.1:textproc/py-pygments@${PY_FLAVOR}
621
PY_PYGMENTS=	${PYTHON_PKGNAMEPREFIX}pygments>=2.5.1:textproc/py-pygments@${PY_FLAVOR}
647
PY_SPHINX=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
622
PY_SPHINX=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
648
PY_TYPING=
649
.endif
650
623
651
.if ${PYTHON_REL} < 3400
624
# old compat stuff, remove from ports
652
PY_ENUM34=	${PYTHON_PKGNAMEPREFIX}enum34>=1.1<2.0:devel/py-enum34@${PY_FLAVOR}
625
PY_TYPING=
653
PY_PATHLIB=	${PYTHON_PKGNAMEPREFIX}pathlib>0:devel/py-pathlib@${PY_FLAVOR}
654
.else
655
PY_ENUM34=
626
PY_ENUM34=
656
PY_PATHLIB=
627
PY_PATHLIB=
657
.endif
658
659
.if ${PYTHON_REL} < 3300
660
PY_IPADDRESS=	${PYTHON_PKGNAMEPREFIX}ipaddress>=1.0.23:net/py-ipaddress@${PY_FLAVOR}
661
.else
662
PY_IPADDRESS=
628
PY_IPADDRESS=
663
.endif
664
665
.if ${PYTHON_REL} < 3200
666
PY_FUTURES=	${PYTHON_PKGNAMEPREFIX}futures>=3.2:devel/py-futures@${PY_FLAVOR}
667
.else
668
PY_FUTURES=
629
PY_FUTURES=
669
.endif
670
630
671
.if ${PYTHON_VER} != ${PYTHON_DEFAULT}
631
.if ${PYTHON_VER} != ${PYTHON_DEFAULT}
672
PY_MERCURIAL=	${PYTHON_PKGNAMEPREFIX}mercurial>=5.5:devel/mercurial@${PY_FLAVOR}
632
PY_MERCURIAL=	${PYTHON_PKGNAMEPREFIX}mercurial>=5.5:devel/mercurial@${PY_FLAVOR}
Lines 700-710 PLIST_SUB+= PYTHON_INCLUDEDIR=${PYTHONPREFIX_INCLUDEDIR:S;${PREFIX}/;;} \ Link Here
700
		PYTHON_SUFFIX=${PYTHON_SUFFIX} \
660
		PYTHON_SUFFIX=${PYTHON_SUFFIX} \
701
		PYTHON_VER=${PYTHON_VER} \
661
		PYTHON_VER=${PYTHON_VER} \
702
		PYTHON_VERSION=${PYTHON_VERSION}
662
		PYTHON_VERSION=${PYTHON_VERSION}
703
.if ${PYTHON_REL} < 3000
704
PLIST_SUB+=	PYTHON2="" PYTHON3="@comment "
705
.else
706
PLIST_SUB+=	PYTHON2="@comment " PYTHON3=""
663
PLIST_SUB+=	PYTHON2="@comment " PYTHON3=""
707
.endif
708
664
709
_USES_POST+=	python
665
_USES_POST+=	python
710
.endif # _INCLUDE_USES_PYTHON_MK
666
.endif # _INCLUDE_USES_PYTHON_MK
(-)Mk/Uses/scons.mk (-6 / +1 lines)
Lines 4-12 Link Here
4
#
4
#
5
# Feature:	scons
5
# Feature:	scons
6
# Usage:	USES=scons[:ARGS]
6
# Usage:	USES=scons[:ARGS]
7
# Valid ARGS:	python2 python3
7
# Valid ARGS:	python3
8
#
8
#
9
# python2:	Use default python 2.x to run scons
10
# python3:	Use default python 3.x to run scons (default)
9
# python3:	Use default python 3.x to run scons (default)
11
#
10
#
12
# MAINTAINER: python@FreeBSD.org
11
# MAINTAINER: python@FreeBSD.org
Lines 20-29 scons_ARGS= python3 Link Here
20
19
21
.if ${scons_ARGS} == python3
20
.if ${scons_ARGS} == python3
22
_SCONS_PYTHON_VER=	${PYTHON3_DEFAULT}
21
_SCONS_PYTHON_VER=	${PYTHON3_DEFAULT}
23
.elif ${scons_ARGS} == python2
24
_SCONS_PYTHON_VER=	${PYTHON2_DEFAULT}
25
DEPRECATED?=	Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream
26
EXPIRATION_DATE?=	2020-12-31
27
.else
22
.else
28
IGNORE=		Incorrect 'USES+= scons:${scons_ARGS}' usage
23
IGNORE=		Incorrect 'USES+= scons:${scons_ARGS}' usage
29
.endif
24
.endif
(-)Mk/Uses/shebangfix.mk (-1 / +1 lines)
Lines 31-37 Link Here
31
# To override a definition, for example replacing /usr/bin/perl by
31
# To override a definition, for example replacing /usr/bin/perl by
32
# /usr/bin/env perl, add the following:
32
# /usr/bin/env perl, add the following:
33
#
33
#
34
#   perl_CMD=	${SETENV} perl
34
#   perl_CMD=	/usr/bin/env perl
35
#
35
#
36
# MAINTAINER: portmgr@FreeBSD.org
36
# MAINTAINER: portmgr@FreeBSD.org
37
37
(-)Mk/bsd.default-versions.mk (-4 / +2 lines)
Lines 20-26 _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes Link Here
20
LOCALBASE?=	/usr/local
20
LOCALBASE?=	/usr/local
21
21
22
.for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT \
22
.for lang in APACHE BDB COROSYNC EMACS FIREBIRD FORTRAN FPC GCC GHOSTSCRIPT \
23
	JAVA JULIA LAZARUS LINUX LLVM LUA MYSQL PERL5 PGSQL PHP PYTHON PYTHON2 \
23
	JAVA JULIA LAZARUS LINUX LLVM LUA MYSQL PERL5 PGSQL PHP PYTHON \
24
	PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH
24
	PYTHON3 RUBY RUST SAMBA SSL TCLTK VARNISH
25
.if defined(${lang}_DEFAULT)
25
.if defined(${lang}_DEFAULT)
26
ERROR+=	"The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf"
26
ERROR+=	"The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf"
Lines 90-99 PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R} Link Here
90
PGSQL_DEFAULT?=		12
90
PGSQL_DEFAULT?=		12
91
# Possible values: 7.2, 7.3, 7.4
91
# Possible values: 7.2, 7.3, 7.4
92
PHP_DEFAULT?=		7.4
92
PHP_DEFAULT?=		7.4
93
# Possible values: 2.7, 3.6, 3.7, 3.8
93
# Possible values: 3.6, 3.7, 3.8
94
PYTHON_DEFAULT?=	3.7
94
PYTHON_DEFAULT?=	3.7
95
# Possible values: 2.7
96
PYTHON2_DEFAULT?=	2.7
97
# Possible values: 3.6, 3.7, 3.8
95
# Possible values: 3.6, 3.7, 3.8
98
PYTHON3_DEFAULT?=	3.7
96
PYTHON3_DEFAULT?=	3.7
99
# Possible values: 2.5, 2.6, 2.7
97
# Possible values: 2.5, 2.6, 2.7
(-)Mk/bsd.gecko.mk (-1 / +1 lines)
Lines 210-216 LDFLAGS+= -B${LOCALBASE}/bin Link Here
210
.endif
210
.endif
211
211
212
.if ${PORT_OPTIONS:MCANBERRA}
212
.if ${PORT_OPTIONS:MCANBERRA}
213
RUN_DEPENDS+=	libcanberra>0:audio/libcanberra
213
RUN_DEPENDS+=	libcanberra-gtk3>0:audio/libcanberra-gtk3
214
.endif
214
.endif
215
215
216
.if ${PORT_OPTIONS:MDBUS}
216
.if ${PORT_OPTIONS:MDBUS}
(-)Mk/bsd.port.mk (-6 / +15 lines)
Lines 1692-1708 _WRKDIR= work-${FLAVOR} Link Here
1692
1692
1693
WRKDIR?=		${WRKDIRPREFIX}${.CURDIR}/${_WRKDIR}
1693
WRKDIR?=		${WRKDIRPREFIX}${.CURDIR}/${_WRKDIR}
1694
BINARY_LINKDIR=	${WRKDIR}/.bin
1694
BINARY_LINKDIR=	${WRKDIR}/.bin
1695
PATH:=			${BINARY_LINKDIR}:${PATH}
1695
PATH:=			${BINARY_LINKDIR}:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:${LOCALBASE}/sbin:${LOCALBASE}/bin:/root/bin
1696
.if !${MAKE_ENV:MPATH=*} && !${CONFIGURE_ENV:MPATH=*}
1697
MAKE_ENV+=			PATH=${PATH}
1698
CONFIGURE_ENV+=		PATH=${PATH}
1699
.endif
1700
1696
1701
.if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) && empty(USE_GITHUB:Mnodefault)
1697
.if !defined(IGNORE_MASTER_SITE_GITHUB) && defined(USE_GITHUB) && empty(USE_GITHUB:Mnodefault)
1702
.if defined(WRKSRC)
1698
.if defined(WRKSRC)
1703
DEV_WARNING+=	"You are using USE_GITHUB and WRKSRC is set which is wrong.  Set GH_PROJECT correctly, set WRKSRC_SUBDIR or remove WRKSRC entirely."
1699
DEV_WARNING+=	"You are using USE_GITHUB and WRKSRC is set which is wrong.  Set GH_PROJECT correctly, set WRKSRC_SUBDIR or remove WRKSRC entirely."
1704
.endif
1700
.endif
1705
WRKSRC?=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
1701
# PR 246196
1702
#WRKSRC?=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}
1703
WRKSRC?=		${WRKDIR}/${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}
1706
.endif
1704
.endif
1707
1705
1708
.if !default(IGNORE_MASTER_SITE_GITLAB) && defined(USE_GITLAB) && empty(USE_GITLAB:Mnodefault)
1706
.if !default(IGNORE_MASTER_SITE_GITLAB) && defined(USE_GITLAB) && empty(USE_GITLAB:Mnodefault)
Lines 2046-2051 NONEXISTENT?= /nonexistent Link Here
2046
CHECKSUM_ALGORITHMS?= sha256
2044
CHECKSUM_ALGORITHMS?= sha256
2047
2045
2048
DISTINFO_FILE?=		${MASTERDIR}/distinfo
2046
DISTINFO_FILE?=		${MASTERDIR}/distinfo
2047
# _TIMESTAMP=			0
2048
# .if exists(${DISTINFO_FILE})
2049
# _TIMESTAMP!=	${AWK} -F= -v ts=0 '/^TIMESTAMP/ { gsub(" ", "", $$2); ts=$$2 } END { print ts}' ${DISTINFO_FILE}
2050
# .endif
2049
2051
2050
MAKE_FLAGS?=	-f
2052
MAKE_FLAGS?=	-f
2051
MAKEFILE?=		Makefile
2053
MAKEFILE?=		Makefile
Lines 2058-2063 MAKE_ENV+= PREFIX=${PREFIX} \ Link Here
2058
			CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
2060
			CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
2059
			MANPREFIX="${MANPREFIX}"
2061
			MANPREFIX="${MANPREFIX}"
2060
2062
2063
# .if ${_TIMESTAMP} != 0
2064
# MAKE_ENV+=	SOURCE_DATE_EPOCH="${_TIMESTAMP}"
2065
# .endif
2066
2061
# Add -fno-strict-aliasing to CFLAGS with optimization level -O2 or higher.
2067
# Add -fno-strict-aliasing to CFLAGS with optimization level -O2 or higher.
2062
# gcc 4.x enable strict aliasing optimization with -O2 which is known to break
2068
# gcc 4.x enable strict aliasing optimization with -O2 which is known to break
2063
# a lot of ports.
2069
# a lot of ports.
Lines 3428-3433 _EXTRA_PACKAGE_TARGET_DEP+= ${WRKDIR_PKGFILE} Link Here
3428
3434
3429
.if !target(do-package)
3435
.if !target(do-package)
3430
PKG_CREATE_ARGS=	-r ${STAGEDIR}
3436
PKG_CREATE_ARGS=	-r ${STAGEDIR}
3437
# .if ${_TIMESTAMP} != 0
3438
# PKG_CREATE_ARGS+=	-t ${_TIMESTAMP}
3439
# .endif
3431
.  if defined(PKG_CREATE_VERBOSE)
3440
.  if defined(PKG_CREATE_VERBOSE)
3432
PKG_CREATE_ARGS+=	-v
3441
PKG_CREATE_ARGS+=	-v
3433
.  endif
3442
.  endif
(-)UPDATING (+15 lines)
Lines 126-131 you update your ports collection, before attempting any port upgrades. Link Here
126
  upgrade will do the right thing.  For the other people, follow the
126
  upgrade will do the right thing.  For the other people, follow the
127
  instructions in entry 20161103, it should still be the same.
127
  instructions in entry 20161103, it should still be the same.
128
128
129
20200802:
130
  AFFECTS: users of databases/mdbtools
131
  AUTHOR: rhurlin@gwdg.de
132
133
  In MDBTools the build process is broken, if mdbtools is installed
134
  already, because it picks up some files from ${LOCALBASE} instead of
135
  the ports working directory.
136
137
  If you are using a tool like portmaster or portupgrade, please first
138
  deinstall (any version) of mdbtools, then follow the normal upgrade
139
  method.
140
141
  # pkg delete -f mdbtools
142
  # rm -R /var/db/pkg/mdbtools-*
143
129
20200726:
144
20200726:
130
  AFFECTS: users of net-mgmt/librenms
145
  AFFECTS: users of net-mgmt/librenms
131
  AUTHOR:  dvl@FreeBSD.org
146
  AUTHOR:  dvl@FreeBSD.org
(-)archivers/dzip/Makefile (-8 lines)
Lines 24-37 PORTDOCS= Readme Link Here
24
24
25
OPTIONS_DEFINE=	DOCS
25
OPTIONS_DEFINE=	DOCS
26
26
27
post-extract: .SILENT
28
	${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \
29
		-e 's/ifndef BIG_ENDIAN/if BYTE_ORDER == LITTLE_ENDIAN/' \
30
			${WRKSRC}/dzip.h ${WRKSRC}/conmain.c
31
	${REINPLACE_CMD} -e '4s,^,#include <machine/endian.h>,' \
32
		${WRKSRC}/dzip.h
33
	${REINPLACE_CMD} -e '21d;23d' ${WRKSRC}/dzipcon.h
34
35
do-install:
27
do-install:
36
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
28
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
37
29
(-)archivers/lzo2/Makefile (-3 / +5 lines)
Lines 16-27 LICENSE= GPLv2 Link Here
16
16
17
USES=		libtool
17
USES=		libtool
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--enable-shared --docdir=${DOCSDIR} --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
19
CONFIGURE_ARGS=	--docdir=${DOCSDIR} \
20
		--enable-shared \
21
		--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
20
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
21
23
22
OPTIONS_DEFINE=	DOCS EXAMPLES
24
OPTIONS_DEFINE=	DOCS EXAMPLES
23
25
24
DOCS_INSTALL_TARGET_OFF=	install-exec install-pkgincludeHEADERS install-pkgconfigDATA
26
DOCS_INSTALL_TARGET_OFF=	install-exec install-pkgincludeHEADERS \
27
				install-pkgconfigDATA
25
28
26
post-build:
29
post-build:
27
.if !defined(WITHOUT_CHECKS)
30
.if !defined(WITHOUT_CHECKS)
Lines 33-39 post-build: Link Here
33
post-install:
36
post-install:
34
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblzo2.so.2
37
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblzo2.so.2
35
	${MKDIR} ${STAGEDIR}${DOCSDIR}
38
	${MKDIR} ${STAGEDIR}${DOCSDIR}
36
	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
37
.for i in AUTHORS BUGS COPYING NEWS README THANKS
39
.for i in AUTHORS BUGS COPYING NEWS README THANKS
38
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
40
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
39
.endfor
41
.endfor
(-)archivers/paq/Makefile (-4 lines)
Lines 79-88 post-extract: Link Here
79
79
80
.endif
80
.endif
81
81
82
post-patch:
83
	@${REINPLACE_CMD} -e 's|c:\\res\\zpaq\\||' ${WRKSRC}/bwt[12].cfg \
84
		${WRKSRC}/bwtrle[12].cfg
85
86
do-build:
82
do-build:
87
	@cd ${WRKSRC}; for prog in bwt_ bwtpre exe_jo jpeg_jo lazy2 lzpre \
83
	@cd ${WRKSRC}; for prog in bwt_ bwtpre exe_jo jpeg_jo lazy2 lzpre \
88
	lzppre; do \
84
	lzppre; do \
(-)archivers/ppmd-7z/Makefile (-2 lines)
Lines 28-35 MAKE_ARGS= PROG=${PORTNAME} CXX="${CXX}" LIB="-pthread" Link Here
28
TEST_TARGET=	test
28
TEST_TARGET=	test
29
29
30
post-patch:
30
post-patch:
31
	@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
32
		${WRKSRC}/CPP/7zip/Common/FileStreams.h
33
	@${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS +=|;s|-o |${CFLAGS} -o |'\
31
	@${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS +=|;s|-o |${CFLAGS} -o |'\
34
			${BUILD_WRKSRC}/${MAKEFILE}
32
			${BUILD_WRKSRC}/${MAKEFILE}
35
33
(-)archivers/snappy-java/Makefile (-3 / +2 lines)
Lines 25-31 BROKEN_powerpc64= fails to build: failed to execute goal org.apache.maven.plugin Link Here
25
BUILD_DEPENDS=	cmake:devel/cmake \
25
BUILD_DEPENDS=	cmake:devel/cmake \
26
		sbt:devel/sbt
26
		sbt:devel/sbt
27
27
28
USES=		gmake
28
USES=		dos2unix gmake
29
DOS2UNIX_FILES=	Makefile
29
USE_JAVA=	yes
30
USE_JAVA=	yes
30
USE_LDCONFIG=	yes
31
USE_LDCONFIG=	yes
31
MAKE_ARGS+=	CXX="${CXX}"
32
MAKE_ARGS+=	CXX="${CXX}"
Lines 43-50 GH_TAGNAME= ${PORTVERSION} \ Link Here
43
		${PORTVERSION:R}:google \
44
		${PORTVERSION:R}:google \
44
		${BITSHUFFLE_V}:masui
45
		${BITSHUFFLE_V}:masui
45
46
46
PLIST_FILES=	${JAVAJARDIR}/snappy-java.jar lib/libsnappyjava.so
47
48
post-extract:
47
post-extract:
49
	@${MKDIR} ${WRKSRC}/target
48
	@${MKDIR} ${WRKSRC}/target
50
	@${RM} ${WRKSRC}/sbt
49
	@${RM} ${WRKSRC}/sbt
(-)archivers/szip/Makefile (-5 lines)
Lines 20-30 PORTDOCS= *.txt Link Here
20
20
21
OPTIONS_DEFINE=	DOCS
21
OPTIONS_DEFINE=	DOCS
22
22
23
post-patch:
24
	@${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \
25
			  -e "s,^CFLAGS.*,CFLAGS= ${CFLAGS}," \
26
		${WRKSRC}/makefile
27
28
do-install:
23
do-install:
29
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
24
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
30
25
(-)archivers/unfoo/Makefile (-3 lines)
Lines 23-31 NO_BUILD= yes Link Here
23
NO_ARCH=	yes
23
NO_ARCH=	yes
24
PLIST_FILES=	bin/${PORTNAME}
24
PLIST_FILES=	bin/${PORTNAME}
25
25
26
post-patch:
27
	@${REINPLACE_CMD} -e '1s|/.*|/bin/sh|;s|==|=|' ${WRKSRC}/${PORTNAME}
28
29
do-install:
26
do-install:
30
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
27
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
31
28
(-)archivers/xmill/Makefile (-11 / +10 lines)
Lines 9-32 MASTER_SITES= SF Link Here
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Efficient compressor for XML
10
COMMENT=	Efficient compressor for XML
11
11
12
WRKSRC=		${WRKDIR}/${PORTNAME}
13
14
USES=		dos2unix zip
12
USES=		dos2unix zip
15
DOS2UNIX_FILES=	${MAKEFILE} XMill/*.cpp
16
MAKEFILE=	makefile
17
13
14
WRKSRC=		${WRKDIR}/${PORTNAME}
15
DOS2UNIX_FILES=	${MAKEFILE} XMill/*.cpp XMill/*.hpp xmillinspect/exprinfo.cpp \
16
		xmillinspect/xmillinspect.h
17
MAKEFILE=	makefile
18
PORTDOCS=	*
18
PORTDOCS=	*
19
PORTEXAMPLES=	*
19
PORTEXAMPLES=	*
20
PLIST_FILES=	bin/xcmill bin/xdemill bin/xmilltest bin/xmillexample \
20
PLIST_FILES=	bin/ppmzip \
21
		bin/xmillinspect bin/ppmzip
21
		bin/xcmill \
22
		bin/xdemill \
23
		bin/xmillexample \
24
		bin/xmillinspect \
25
		bin/xmilltest
22
26
23
OPTIONS_DEFINE=	DOCS EXAMPLES
27
OPTIONS_DEFINE=	DOCS EXAMPLES
24
28
25
post-patch:
26
# Allow to build with modern GCC
27
	@${REINPLACE_CMD} -e 's,friend,& class,' ${WRKSRC}/XMill/*.?pp \
28
		${WRKSRC}/xmillinspect/xmillinspect.h
29
30
do-install:
29
do-install:
31
.for p in ${PLIST_FILES:T}
30
.for p in ${PLIST_FILES:T}
32
	(cd ${WRKSRC}/unix && ${INSTALL_PROGRAM} ${p} ${STAGEDIR}${PREFIX}/bin)
31
	(cd ${WRKSRC}/unix && ${INSTALL_PROGRAM} ${p} ${STAGEDIR}${PREFIX}/bin)
(-)archivers/xmill/files/patch-xmillinspect_exprinfo.cpp (-18 / +18 lines)
Lines 1-18 Link Here
1
./xmillinspect/exprinfo.cpp:64:10: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
1
./xmillinspect/exprinfo.cpp:64:10: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
2
                return NULL;
2
                return NULL;
3
                       ^~~~
3
                       ^~~~
4
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
4
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
5
#define NULL    nullptr
5
#define NULL    nullptr
6
                ^~~~~~~
6
                ^~~~~~~
7
7
8
--- xmillinspect/exprinfo.cpp.orig	2003-03-23 15:06:16 UTC
8
--- xmillinspect/exprinfo.cpp.orig	2003-03-23 15:06:16 UTC
9
+++ xmillinspect/exprinfo.cpp
9
+++ xmillinspect/exprinfo.cpp
10
@@ -61,7 +61,7 @@ int ExprInfo::getSubContainerType(int sub)
10
@@ -61,7 +61,7 @@ int ExprInfo::getSubContainerType(int sub)
11
 	if (expr) {
11
 	if (expr) {
12
 		return expr->getContainerType();
12
 		return expr->getContainerType();
13
 	} else {
13
 	} else {
14
-		return NULL;
14
-		return NULL;
15
+		return 0;
15
+		return 0;
16
 	}
16
 	}
17
 }
17
 }
18
 
18
 
(-)astro/saoimage/files/patch-btnlib_makefile (-2 / +2 lines)
Lines 1-4 Link Here
1
--- btnlib/makefile.orig	1995-12-06 20:51:17 UTC
1
--- btnlib/makefile.orig	2020-01-26 19:05:22 UTC
2
+++ btnlib/makefile
2
+++ btnlib/makefile
3
@@ -8,7 +8,7 @@
3
@@ -8,7 +8,7 @@
4
 # the library would build.  It is preferable to build btnlib as part of the
4
 # the library would build.  It is preferable to build btnlib as part of the
Lines 9-15 Link Here
9
 
9
 
10
 LINT   = lint
10
 LINT   = lint
11
 RANLIB = ranlib
11
 RANLIB = ranlib
12
@@ -27,7 +27,7 @@ OBJS =	attach.o	draw.o		event.o		border.
12
@@ -27,7 +27,7 @@ OBJS =	attach.o	draw.o		event.o		border.o \
13
 	press.o		remote.o	resize.o	util.o
13
 	press.o		remote.o	resize.o	util.o
14
 
14
 
15
 LIB	= libbtn.a
15
 LIB	= libbtn.a
(-)astro/saoimage/files/patch-disppsct.c (-1 / +1 lines)
Lines 1-4 Link Here
1
--- disppsct.c.orig	2003-09-03 18:23:08 UTC
1
--- disppsct.c.orig	2020-01-26 19:05:22 UTC
2
+++ disppsct.c
2
+++ disppsct.c
3
@@ -599,7 +599,7 @@ static char *make_label()
3
@@ -599,7 +599,7 @@ static char *make_label()
4
   char *getenv();
4
   char *getenv();
(-)astro/saoimage/files/patch-gcc4 (-2468 lines)
Removed Link Here
1
--- btnlib/border.c.orig	1995-05-04 17:21:13 UTC
2
+++ btnlib/border.c
3
@@ -35,6 +35,10 @@ static char SccsId[] = "%W%  %G%";
4
  * Note:	For each byte, bit 0 (0x01) appears on the left.
5
  * Note:	For each byte, bit 7 (0x80) appears on the right.
6
  */
7
+
8
+static unsigned char btn_ReverseByte();
9
+static void btn_MakeBdrLine();
10
+
11
 void btn_MakeBdrBitmap ( buttonmap, width, height, byte_width, form, inverse )
12
      unsigned char *buttonmap;	/* i,o: pointer to bitmap of button */
13
      int width, height;		/* i: dimensions of button window (to cover) */
14
@@ -52,8 +56,6 @@ void btn_MakeBdrBitmap ( buttonmap, widt
15
   int right_form_bit;		/* l: bit in first right form byte to use */
16
   int right_bdr_byte;		/* l: index of first line byte for right bdr */
17
   int right_bdr_bit;		/* l: bit in first line byte for right bdr */
18
-  static unsigned char btn_ReverseByte();
19
-  static void btn_MakeBdrLine();
20
 
21
   /* portion of pattern form used (clip overlap if button very small) */
22
   /* middle overlap on odd size counted for height, omitted for width */
23
@@ -119,6 +121,9 @@ void btn_MakeBdrBitmap ( buttonmap, widt
24
  * Subroutine:	btn_MakeBdrLine
25
  * Purpose:	set the bits for one line of the button's border
26
  */
27
+
28
+static void btn_RightBorder();
29
+
30
 static void btn_MakeBdrLine ( line, form, byte_width, inverse,
31
 			      right_bdr_byte, right_bdr_bit,
32
 			      right_form_byte, right_form_bit )
33
@@ -131,7 +136,6 @@ static void btn_MakeBdrLine ( line, form
34
      int right_bdr_byte;	/* l: index of first line byte for right bdr */
35
      int right_bdr_bit;		/* l: bit in first line byte for right bdr */
36
 {
37
-  static void btn_RightBorder();
38
   /* copy in top left, store reverse for top right */
39
   *line = *form;
40
   *(line+1) = *(++form);
41
--- btnlib/create.c.orig	1990-04-28 20:17:46 UTC
42
+++ btnlib/create.c
43
@@ -53,6 +53,9 @@ static GC def_gc = NULL;
44
  * Note:	Buttonboxes must later be combined into menus and panels
45
  * Note:	Call TouchButton to activate buttons and submenus when ready
46
  */
47
+
48
+static void btn_CreateWindows();
49
+
50
 ButtonBox MakeButtonBox ( parent, gc, visual, background, geo, defs, borders )
51
      BoxParent *parent;		/* i: Parent window info */
52
      GC gc;			/* i: graphics context for drawing labels */
53
@@ -70,7 +73,6 @@ ButtonBox MakeButtonBox ( parent, gc, vi
54
   int x, y;			/* l: coordinates of box in parent */
55
   int i;			/* l: loop counter */
56
   char *btn_Alloc();
57
-  static void btn_CreateWindows();
58
   void btn_LabelButtons(), btn_Dimensions();
59
 
60
   /* allocate the space for the new record */
61
--- btnlib/draw.c.orig	1991-06-21 23:40:21 UTC
62
+++ btnlib/draw.c
63
@@ -103,11 +103,13 @@ void btn_PutImage ( button, phase )
64
  * Xlib calls:	none
65
  * Method:	Dim this box and all co-menu boxes
66
  */
67
+
68
+static void btn_DimButtons();
69
+
70
 void btn_DelightButtons ( buttonbox )
71
      ButtonBox buttonbox;
72
 {
73
   int i;
74
-  static void btn_DimButtons();
75
 
76
   btn_DimButtons(buttonbox);
77
   for( i=0; i < buttonbox->co_menu_count; i++ ) {
78
@@ -153,11 +155,13 @@ static void btn_DimButtons ( buttonbox )
79
  * Uses:	btn_LightButtons() below
80
  * Xlib calls:	none
81
  */
82
+
83
+static void btn_LightButtons();
84
+
85
 void btn_RelightButtons ( buttonbox )
86
      ButtonBox buttonbox;
87
 {
88
   int i;
89
-  static void btn_LightButtons();
90
 
91
   btn_LightButtons(buttonbox);
92
   for( i=0; i < buttonbox->co_menu_count; i++ ) {
93
--- btnlib/event.c.orig	1995-05-04 17:27:33 UTC
94
+++ btnlib/event.c
95
@@ -52,12 +52,14 @@ static int select_size=0;
96
  *		with their active submenus.
97
  * Note:	Must be called with a buttonbox at the base of the menu tree
98
  */
99
+
100
+static int btn_Event();
101
+
102
 int ButtonEvent ( buttonbox, event )
103
      ButtonBox buttonbox;	/* i: top handle for button menu group */
104
      XEvent *event;		/* i: pointer to filled event record */
105
 {
106
   int i;			/* l: loop counter */
107
-  static int btn_Event();
108
 
109
   /* is the event in the primary buttonbox (or its sub-menus) */
110
   if( btn_Event(buttonbox, event) != 0 ) {
111
@@ -139,6 +141,10 @@ static int btn_Event ( buttonbox, event 
112
  *		with their active submenus.
113
  * Note:	Must be called with a buttonbox at the base of the menu tree
114
  */
115
+
116
+static int btn_Event();
117
+static int btn_Control();
118
+
119
 int ButtonControl ( buttonbox, event, response )
120
      ButtonBox buttonbox;	/* i: top handle for button menu group */
121
      XEvent *event;		/* i: pointer to filled event record */
122
@@ -147,8 +153,6 @@ int ButtonControl ( buttonbox, event, re
123
   int status;		/* o: reason for return code (-1,0,1) */
124
   int not_found;	/* l: event search status */
125
   int i;		/* l: loop counter */
126
-  static int btn_Event();
127
-  static int btn_Control();
128
 
129
   status = 1;
130
   *response = NULL;
131
@@ -206,6 +210,9 @@ int ButtonControl ( buttonbox, event, re
132
  *		until one fields it.  If still not, return NULL, else (it
133
  *		was fielded) get the next event and loop again.
134
  */
135
+
136
+static int btn_Event();
137
+
138
 static int btn_Control ( buttonbox, event, response )
139
      ButtonBox buttonbox;	/* i: top handle for button menu tree */
140
      XEvent *event;		/* i: pointer to filled event record */
141
@@ -218,7 +225,6 @@ static int btn_Control ( buttonbox, even
142
   int type;		/* l: temp for button response type */
143
   int id;		/* l: temp for button id */
144
   int mask[2];		/* l: temp store for select mask (select changes it) */
145
-  static int btn_Event();
146
   int btn_PushButton();
147
   void btn_PutImage(), btn_DrawButton(), btn_ReleaseButton();
148
 
149
--- btnlib/image.c.orig	1991-08-03 22:42:11 UTC
150
+++ btnlib/image.c
151
@@ -38,6 +38,9 @@ static char SccsId[] = "%W%  %G%";
152
  * Post-state:	off_out, off_in, on_out, on_in XImage's set in button record.
153
  * Exception:	Only labels present are installed.
154
  */
155
+
156
+static void btn_AddLabel();
157
+
158
 void btn_MakeXImages ( button, width, height, byte_width, visual,
159
 		       off_out, off_in, on_out, on_in, mapsz, off, on, motf )
160
      ButtonRecord *button;	/* i: main structure describing button */
161
@@ -56,7 +59,6 @@ void btn_MakeXImages ( button, width, he
162
   unsigned char *data;		/* l: pointer to bitmap currently processing */
163
   XImage *ximage;
164
   char *btn_Alloc();
165
-  static void btn_AddLabel();
166
 
167
 #ifdef ALLIANT
168
   extern int nbutton;
169
@@ -173,6 +175,9 @@ void btn_MakeXImages ( button, width, he
170
  * Exception:	Label is not stenciled if one dimension would be zero.
171
  * Method:	Get basic alignment parameters and call btn_StencilLabel();
172
  */
173
+
174
+static int btn_LabelX(), btn_LabelY();
175
+
176
 static void btn_AddLabel ( label, width, height, byte_width, bitmap, inverse )
177
      ButtonLabel *label;	/* i: record of label bitmap to stencil in */
178
      int width;			/* i: width in pixels of button */
179
@@ -185,7 +190,6 @@ static void btn_AddLabel ( label, width,
180
   int dst_x, dst_y;	/* l: coords of start of stencil in dst (button) */
181
   int xwdth;		/* l: width (cols) to stencil */
182
   int yhght;		/* l: number of lines (rows) to stencil */
183
-  static int btn_LabelX(), btn_LabelY();
184
   void btn_StencilLabel();
185
 
186
   if( ((xwdth = btn_LabelX(label, width, &src_x, &dst_x)) > 0) &&
187
--- btnlib/label.c.orig	1995-05-04 17:19:37 UTC
188
+++ btnlib/label.c
189
@@ -42,6 +42,10 @@ static unsigned char lmask[8] = { 0x01,0
190
  * Note:	For each byte, bit 0 (0x01) appears on the left.
191
  * Note:	For each byte, bit 7 (0x80) appears on the right.
192
  */
193
+
194
+static void btn_Stencil(), btn_StencilInv();
195
+static void btn_StencilAlligned(),btn_StencilAllignedInv();
196
+
197
 void btn_StencilLabel ( src, msk, dst, src_byte_width, dst_byte_width,
198
 		        src_x, src_y, dst_x, dst_y, width, height, inverse )
199
      unsigned char *src;	/* i: ptr to first byte of pattern */
200
@@ -66,9 +70,6 @@ void btn_StencilLabel ( src, msk, dst, s
201
   int first_mask;		/* l: bit mask, with coded sign (see above) */
202
   int last_mask;		/* l: bit mask, with coded sign (see above) */
203
 
204
-  static void btn_Stencil(), btn_StencilInv();
205
-  static void btn_StencilAlligned(),btn_StencilAllignedInv();
206
-
207
   /* advance src and msk to their first used bytes */
208
   byte_offset = (src_y * src_byte_width) + (src_x / 8);
209
   src += byte_offset;
210
--- btnlib/mount.c.orig	1990-04-20 21:56:27 UTC
211
+++ btnlib/mount.c
212
@@ -35,11 +35,13 @@ static char SccsId[] = "%W%  %G%";
213
  * Xlib calls:	none
214
  * Note:	This routine moves latterally to cover co-menus
215
  */
216
+
217
+static void btn_MapButtonbox();
218
+
219
 void MountButtonMenu ( buttonbox )
220
      ButtonBox buttonbox;
221
 {
222
   int i;
223
-  static void btn_MapButtonbox();
224
 
225
   btn_MapButtonbox(buttonbox);
226
   for( i = 0; i < buttonbox->co_menu_count; i++ )
227
@@ -109,6 +111,9 @@ static void btn_UnmapButtonbox ( buttonb
228
  *		map submenus of new button.
229
  * Note:	Unmapping submenus is harmless if they were not mapped.
230
  */
231
+
232
+static void btn_UnmapButtonbox(), btn_MapButtonbox();
233
+
234
 void btn_ReplaceSubmenus ( buttonbox, btn, op_num, mapping )
235
      ButtonBox buttonbox;
236
      int btn;
237
@@ -116,7 +121,6 @@ void btn_ReplaceSubmenus ( buttonbox, bt
238
      int mapping;		/* i: switch allows suppression of mapping */
239
 {
240
   int i;
241
-  static void btn_UnmapButtonbox(), btn_MapButtonbox();
242
 
243
   /* clear out the old submenus */
244
   for( i=0; i < buttonbox->submenu_count; i++ )
245
@@ -149,6 +153,9 @@ void btn_ReplaceSubmenus ( buttonbox, bt
246
  * Note:	Requires search through co-menus
247
  * Note:	Unmapping cosubmenus is harmless if they were not mapped.
248
  */
249
+
250
+static void btn_UnmapButtonbox(), btn_MapButtonbox();
251
+
252
 void btn_ReplaceCosubmenus ( buttonbox, btn, op_num, mapping )
253
      ButtonBox buttonbox;
254
      int btn;
255
@@ -156,7 +163,6 @@ void btn_ReplaceCosubmenus ( buttonbox, 
256
      int mapping;		/* i: switch allows suppression of mapping */
257
 {
258
   int i, j;
259
-  static void btn_UnmapButtonbox(), btn_MapButtonbox();
260
 
261
   /* check to see if we have the co-mode submenus */
262
   if( buttonbox->cosubmenu_count > 0 ) {
263
--- btnlib/resize.c.orig	1990-04-20 22:15:57 UTC
264
+++ btnlib/resize.c
265
@@ -33,12 +33,14 @@ static char SccsId[] = "%W%  %G%";
266
  * Post-state:	All buttonboxes having given parent are resized to fill
267
  * Method:	Call btn_ChkResize with this menu and then its co-menus.
268
  */
269
+
270
+static void btn_ChkResize();
271
+
272
 void ResizeButtons ( buttonbox, parent )
273
      ButtonBox buttonbox;	/* i: top handle for button menu group */
274
      BoxParent *parent;		/* i: record describing parent window */
275
 {
276
   int i;		/* l: loop counter */
277
-  static void btn_ChkResize();
278
 
279
   /* check this buttonbox */
280
   btn_ChkResize(buttonbox, parent);
281
--- clralloc.c.orig	1999-05-12 18:40:45 UTC
282
+++ clralloc.c
283
@@ -39,12 +39,14 @@ static unsigned long overlay_mask;	/* fo
284
  * Method:	Try for at least min cells in default colormap, if failed
285
  *		try to create a private colormap.
286
  */
287
+
288
+static Colormap create_colormap();
289
+static int alloc_color_cells();
290
+
291
 int alloc_colors( color )
292
      struct colorRec *color;
293
 {
294
   int verify_pseudocolor();
295
-  static Colormap create_colormap();
296
-  static int alloc_color_cells();
297
 
298
   if( (color->map.default_permit != NO) &&
299
       (color->map.default_enable == YES) &&
300
--- clrctrl.c.orig	1990-04-20 14:43:37 UTC
301
+++ clrctrl.c
302
@@ -36,13 +36,15 @@ extern struct cgraphRec cgraph;
303
  * Subroutine:	select_color
304
  * Purpose:	Things to do when a buttonbox color menu button is selected
305
  */
306
+
307
+static void new_color_table();
308
+
309
 void select_color ( )
310
 {
311
   static int overlay = 0;
312
   static int cells = 0;
313
   static int mode = VOP_PseudoColor;
314
   void invert_rgb(), reinit_color();
315
-  static void new_color_table();
316
 
317
   if( control.response[0] == VOP ) {
318
     switch( control.response[1] ) {
319
@@ -218,10 +220,12 @@ static void new_color_table ( map_code )
320
  * Purpose:	Reverse all colors at once (respond to invert button)
321
  * Xlib call:	XStoreColors()
322
  */
323
+
324
+static void invert_table();
325
+
326
 void invert_rgb ( )
327
 {
328
   void make_cellstore_from_cellmaps(), draw_cgraph();
329
-  static void invert_table();
330
 
331
   /* invert color tables and remake storemap */
332
   invert_table(&color.ctable.red);
333
--- clrhard.c.orig	1990-04-20 13:54:21 UTC
334
+++ clrhard.c
335
@@ -29,11 +29,13 @@ static char SccsId[] = "%W%  %G%";
336
  * Subroutine:	init_hard_colors
337
  * Purpose:	Set up basic hardware colors
338
  */
339
+
340
+static int get_hard_color();
341
+
342
 void init_hard_colors ( color, colormap )
343
      struct colorRec *color;
344
      Colormap colormap;
345
 {
346
-  static int get_hard_color();
347
 
348
   color->hard.red =
349
     get_hard_color(color->display, colormap, "red", 63000, 0, 0);
350
@@ -58,12 +60,14 @@ void init_hard_colors ( color, colormap 
351
  * Subroutine:	lookup_cursor_colors
352
  * Purpose:	Get color parameters from named cursor colors
353
  */
354
+
355
+static void lookup_color();
356
+
357
 void lookup_cursor_colors ( color, colormap, init )
358
      struct colorRec *color;
359
      Colormap colormap;
360
      int init;
361
 {
362
-  static void lookup_color();
363
 
364
   /* update xcolor structs if needed */
365
   if( init || (color->cur.desired_cur != NULL) ) {
366
@@ -90,12 +94,14 @@ void lookup_cursor_colors ( color, color
367
  * Pre-state:	XColor for cur, one, and two, initialized
368
  * Post-state:	Pixel values for one and two set, that for cur returned.
369
  */
370
+
371
+static int alloc_hard_color();
372
+
373
 int alloc_cursor_cell_color ( color, colormap )
374
      struct colorRec *color;
375
      Colormap colormap;
376
 {
377
   int val;
378
-  static int alloc_hard_color();
379
 
380
   if( (color->cur.disp_one =
381
       alloc_hard_color(color->display, colormap, &color->cur.color_one)) < 0 )
382
@@ -113,10 +119,12 @@ int alloc_cursor_cell_color ( color, col
383
  * Subroutine:	free_cursor_cell_color
384
  * Purpose:	Free cell color overlay colors
385
  */
386
+
387
+static void free_readonly_color();
388
+
389
 void free_cursor_cell_color ( color )
390
      struct colorRec *color;
391
 {
392
-  static void free_readonly_color();
393
 
394
   free_readonly_color(color, (int)color->cur.color_one.pixel);
395
   free_readonly_color(color, (int)color->cur.color_two.pixel);
396
--- clrinit.c.orig	2001-12-14 23:17:55 UTC
397
+++ clrinit.c
398
@@ -38,6 +38,9 @@ static Display *display;
399
  * Subroutine:	init_color
400
  * Purpose:	Claim and set up colors (and do any needed initial work)
401
  */
402
+
403
+static int init_visual();
404
+
405
 void init_color ( color, init )
406
      struct colorRec *color;
407
      int init;
408
@@ -46,7 +49,6 @@ void init_color ( color, init )
409
   void exit_errmsg(), init_hard_colors(), init_halftone();
410
   void free_color_cells(), lookup_cursor_colors(), free_cursor_cell_color();
411
   void init_overlay_color(), init_cell_color(), init_halftone_color();
412
-  static int init_visual();
413
 
414
   if( init ) {
415
     display = color->display;
416
--- clrmenu.c.orig	1990-04-28 22:40:14 UTC
417
+++ clrmenu.c
418
@@ -35,14 +35,16 @@ EditStruct *color_edit;	/* key to popup 
419
  * Purpose:	Get a new pre-defined color table and load it for use
420
  * Returns:	1 if succeeded, else 0
421
  */
422
+
423
+static void load_newtable(), write_color_file();
424
+static ColorTable *read_color_file();
425
+
426
 int fetch_colortable ( color, table_code, imagefile )
427
      struct colorRec *color;
428
      int table_code;
429
      char *imagefile;		/* i: imagefile name to print in output file */
430
 {
431
   ColorTable *newtable;
432
-  static void load_newtable(), write_color_file();
433
-  static ColorTable *read_color_file();
434
 
435
   switch( table_code ) {
436
   case MOP_Init_A:
437
@@ -111,13 +113,15 @@ static ColorTable *read_color_file ( )
438
  * Subroutine: write_color_file
439
  * Purpose:    Open and write a color table file
440
  */
441
+
442
+static void print_one_color();
443
+
444
 static void write_color_file ( imagefile, color )
445
      char *imagefile;
446
      struct colorRec *color;
447
 {
448
   FILE *fp;
449
   int error;
450
-  static void print_one_color();
451
   EditStruct *init_edit_popup();
452
   int open_output_file();
453
   void timestamp();
454
@@ -189,11 +193,13 @@ static void print_one_color ( fp, table 
455
  * Subroutine:	load_newtable
456
  * Purpose:	Load an internally stored color table for use
457
  */
458
+
459
+static void load_subtable();
460
+
461
 static void load_newtable ( ctable, new )
462
      struct colorTable *ctable;
463
      ColorTable *new;
464
 {
465
-  static void load_subtable();
466
 
467
   load_subtable(&ctable->red, &new->red);
468
   load_subtable(&ctable->green, &new->green);
469
--- clrread.c.orig	1990-04-28 23:30:35 UTC
470
+++ clrread.c
471
@@ -25,6 +25,9 @@ static char SccsId[] = "%W%  %G%";
472
  * Subroutine:	parse_color_file
473
  * Purpose:	Parse values after color identifier
474
  */
475
+
476
+static int parse_color_table(), advance_to_ascii();
477
+
478
 int parse_color_file ( fp, ctable, max_entries )
479
      ColorTable *ctable;
480
      int max_entries;
481
@@ -35,7 +38,6 @@ int parse_color_file ( fp, ctable, max_e
482
   char line[SZ_LINE];
483
   char cbuf[SZ_LINE];
484
   struct SubTable *table;
485
-  static int parse_color_table(), advance_to_ascii();
486
 
487
   line_num = 0;
488
   /* advance to first non-comment line */
489
@@ -95,6 +97,9 @@ int parse_color_file ( fp, ctable, max_e
490
  * Purpose:	Read color table entries for one color
491
  * Note:	Values may start with word "gamma" and its value
492
  */
493
+
494
+static int advance_to_ascii(), prep_alpha();
495
+
496
 static int parse_color_table ( fp, line, cbuf, i, len, line_num,
497
 			       farb, max_entries, color_cnt )
498
      FILE *fp;
499
@@ -110,7 +115,6 @@ static int parse_color_table ( fp, line,
500
   float level, intensity;
501
   char *level_token, *intensity_token;
502
   int status, entry;
503
-  static int advance_to_ascii(), prep_alpha();
504
   int check_parens();
505
   char *next_token();
506
 
507
@@ -227,6 +231,9 @@ static int parse_color_table ( fp, line,
508
  *		Negative val if string starts with a number or paren
509
  *		0 if file ended, or first character was neither char nor num
510
  */
511
+
512
+static int find_token(), prep_alpha();
513
+
514
 static int advance_to_ascii ( fp, line, scratch, len, line_num, dont_end )
515
      FILE *fp;		/* i: file descriptor */
516
      char *line;	/* i: buffer to get entire line */
517
@@ -236,7 +243,6 @@ static int advance_to_ascii ( fp, line, 
518
      int dont_end;	/* flag that more is definitely expected */
519
 {
520
   int i;
521
-  static int find_token(), prep_alpha();
522
   int check_parens();
523
 
524
   /* advance to first non-comment line */
525
--- clrsetup.c.orig	1990-06-03 04:07:29 UTC
526
+++ clrsetup.c
527
@@ -29,12 +29,14 @@ static char SccsId[] = "%W%  %G%";
528
  * Purpose:	Set up color parameters unique to overlay type usage
529
  * Xlib calls:	XStoreColors()
530
  */
531
+
532
+static void set_cursor_overlay_color(), copy_xcolor_rgb(), init_cellstore();
533
+
534
 void init_overlay_color ( color )
535
      struct colorRec *color;
536
 {
537
   int ncolors;
538
   void make_cellstore_from_tables();
539
-  static void set_cursor_overlay_color(), copy_xcolor_rgb(), init_cellstore();
540
 
541
   init_cellstore(color->cellstore, color->pixvalmap, color->ncolors);
542
   /* color in the cursor range of the color map */
543
@@ -75,12 +77,14 @@ void init_overlay_color ( color )
544
  * Purpose:	Set up color parameters unique to cell usage without overlay
545
  * Xlib calls:	XStoreColors()
546
  */
547
+
548
+static void init_cellstore();
549
+
550
 void init_cell_color ( color )
551
      struct colorRec *color;
552
 {
553
   void make_cellstore_from_tables();
554
   int alloc_cursor_cell_color();
555
-  static void init_cellstore();
556
 
557
   init_cellstore(color->cellstore, color->pixvalmap, color->ncolors);
558
   /* Not cursor plane */
559
--- clrvary.c.orig	1990-04-20 13:57:20 UTC
560
+++ clrvary.c
561
@@ -130,6 +130,9 @@ void vary_colors ( event, mode, track, x
562
  * Subroutine:	vary_contrast_and_bias
563
  * Purpose:	change color table cell_levels as per new contrast and bias
564
  */
565
+
566
+static void invert_table();
567
+
568
 void vary_contrast_and_bias ( table, contrast, bias )
569
      struct subtableRec *table;
570
      double contrast;		/* i: normal = 1.0 */
571
@@ -137,7 +140,6 @@ void vary_contrast_and_bias ( table, con
572
 {
573
   double *base_level, *cell_level;
574
   int vertex_cnt;
575
-  static void invert_table();
576
 
577
   base_level = table->base_level;
578
   cell_level = table->cell_level;
579
--- cmdnew.c.orig	1997-06-06 14:52:04 UTC
580
+++ cmdnew.c
581
@@ -73,9 +73,11 @@ static char *prompt = "Enter new image f
582
  * Called by:	key_response() in MainKey.c
583
  * Called by:	select_environment() in MainSelect.c
584
  */
585
+
586
+static int new_command();
587
+
588
 void get_new_cmd ( )
589
 {
590
-  static int new_command();
591
   int get_edit_input();
592
   EditStruct *init_edit_popup();
593
 
594
@@ -95,6 +97,11 @@ void get_new_cmd ( )
595
  * Purpose:	Given a new command line, parse it and do what is called for
596
  * Returns:	1 = success, 0 = user decided not to do anything, -1 = error
597
  */
598
+
599
+static char **make_argv();
600
+static int new_file(), form_tokens();
601
+static void redo_displays(), clear_params(), reset_dispparams(), free_argv();
602
+
603
 static int new_command ( input_line )
604
      char *input_line;
605
 {
606
@@ -104,9 +111,6 @@ static int new_command ( input_line )
607
   int headersize;
608
   int parse_cmdline(), check_image();
609
   void reinit_color(), redraw_magnifier(), touch_submenu_button();
610
-  static char **make_argv();
611
-  static int new_file(), form_tokens();
612
-  static void redo_displays(), clear_params(), reset_dispparams(), free_argv();
613
 
614
   /* store some key initial values */
615
   headersize = img.headersize;
616
--- cmdparse.c.orig	2002-04-08 19:26:55 UTC
617
+++ cmdparse.c
618
@@ -47,6 +47,9 @@ extern int bad_buttons;
619
  * Purpose:	Process options to set filename and change defaults
620
  * Returns:	-1 on error, 0 OK but no filename, 1 OK and new filename given
621
  */
622
+
623
+static int parse_etc();
624
+
625
 int parse_cmdline ( argc, argv, displayname )
626
      int argc;
627
      char *argv[];
628
@@ -58,7 +61,6 @@ int parse_cmdline ( argc, argv, displayn
629
   int parse_rotate(), parse_scale(), parse_color(), parse_fileread(), usage();
630
   int parse_cursor();
631
   void init_cmdline();
632
-  static int parse_etc();
633
 
634
   if( displayname != NULL ) {
635
     /* if initial program command line, strip off program name, store line */
636
--- crdinvrt.c.orig	1990-04-20 14:00:26 UTC
637
+++ crdinvrt.c
638
@@ -28,12 +28,14 @@ static char SccsId[] = "%W%  %G%";
639
  * Purpose:	Compute parameters of the inverse transform
640
  * Method:	Uses LU decomposition method
641
  */
642
+
643
+static void lu_decompose(), lu_backsub();
644
+
645
 void invert_matrix ( old, new )
646
      Transform *old, *new;
647
 {
648
   float scratch[3][3], column[3];
649
   int pivots[3];
650
-  static void lu_decompose(), lu_backsub();
651
 
652
   scratch[0][0] = old->inx_outx;
653
   scratch[1][0] = old->iny_outx;
654
@@ -65,13 +67,15 @@ void invert_matrix ( old, new )
655
  * Purpose:	Compute the offsets used for integer transforms
656
  * Method:	Uses matrix inversion
657
  */
658
+
659
+static void lu_decompose(), lu_backsub();
660
+
661
 void compute_iadd_invert ( old, new, ioff )
662
      Transform *old, *new;
663
      float ioff;
664
 {
665
   float scratch[3][3], column[3];
666
   int pivots[3];
667
-  static void lu_decompose(), lu_backsub();
668
 
669
   /* set transform equations in matrix form */
670
   scratch[0][0] = old->inx_outx;
671
--- crdrot.c.orig	1990-04-20 14:00:51 UTC
672
+++ crdrot.c
673
@@ -55,6 +55,9 @@ static char SccsId[] = "%W%  %G%";
674
  * As each transform is applied to the front, we apply them in reverse order
675
  *  the result is, from img->A,B,C,imgtofile(as given)->file
676
  */
677
+
678
+static void move_mtrx(), flip_mtrx(), turn_mtrx();
679
+
680
 void rotate_transform ( img, imgtofile, flip, rotcode )
681
      Coordsys *img;
682
      Transform *imgtofile;
683
@@ -63,7 +66,6 @@ void rotate_transform ( img, imgtofile, 
684
 {
685
   double xmove, ymove;
686
   int angle;
687
-  static void move_mtrx(), flip_mtrx(), turn_mtrx();
688
 
689
   /* if no rotation, do nothing */
690
   if( (rotcode == 0) && (flip == 0) ) return;
691
@@ -93,6 +95,9 @@ void rotate_transform ( img, imgtofile, 
692
  * Note:	ioff is not used for turn or flip, as it is assumed that both
693
  * 		will be bracketed between two moves (to place origin at center)
694
  */
695
+
696
+static void mult_mtrx();
697
+
698
 static void move_mtrx ( mtrx, xtran, ytran, ioff, prior )
699
      Transform *mtrx;
700
      double xtran, ytran;
701
@@ -100,7 +105,6 @@ static void move_mtrx ( mtrx, xtran, ytr
702
      int prior;
703
 {
704
   Transform translate;
705
-  static void mult_mtrx();
706
 
707
   bzero((char *)(&translate), sizeof(Transform));
708
   translate.inx_outx = 1.0;
709
@@ -119,12 +123,14 @@ static void move_mtrx ( mtrx, xtran, ytr
710
  * Subroutine:	flip_mtrx
711
  * Purpose:	Apply a mirror reflection to the passed Transform
712
  */
713
+
714
+static void mult_mtrx();
715
+
716
 static void flip_mtrx ( mtrx, prior )
717
      Transform *mtrx;
718
      int prior;		/* i: 1: move, transform, move, 0: transform, move */
719
 {
720
   Transform reflect;
721
-  static void mult_mtrx();
722
 
723
   bzero((char *)(&reflect), sizeof(Transform));
724
   reflect.inx_outx = 1.0;
725
@@ -141,6 +147,9 @@ static void flip_mtrx ( mtrx, prior )
726
  * Note:	the pivot is 0,0 of the passed Transform's coordinate system
727
  * Exception:	only multiples of 90 degrees are allowed
728
  */
729
+
730
+static void mult_mtrx();
731
+
732
 static void turn_mtrx ( mtrx, angle, prior )
733
      Transform *mtrx;
734
      int angle;
735
@@ -148,7 +157,6 @@ static void turn_mtrx ( mtrx, angle, pri
736
 {
737
   Transform rotate;
738
   void exit_errmsg();
739
-  static void mult_mtrx();
740
 
741
   while( angle >= 360 ) angle -= 360;
742
   while( angle < 0 ) angle += 360;
743
--- crdsynth.c.orig	1990-04-20 14:01:55 UTC
744
+++ crdsynth.c
745
@@ -147,11 +147,13 @@ void combine_transform ( new, first, sec
746
  * Subroutine:	set_trans_speed
747
  * Purpose:	Set parameters for fast integer computation
748
  */
749
+
750
+static int integer_test();
751
+
752
 void set_trans_speed ( trans )
753
      Transform *trans;
754
 {
755
   int xzm, yzm;
756
-  static int integer_test();
757
 
758
   trans->ixzoom = 0;
759
   trans->iyzoom = 0;
760
--- crdtemp.c.orig	1996-02-26 20:14:19 UTC
761
+++ crdtemp.c
762
@@ -126,6 +126,9 @@ void set_disptran ( coord )
763
  * Purpose:	set up zoom given edges of desired display and
764
  *		appropriate img transform
765
  */
766
+
767
+static int choose_zoom();
768
+
769
 void panedge_zoom ( coord, wintoimgtrans, win_x, win_y )
770
      struct coordRec *coord;	/* i: collected coords */
771
      Transform *wintoimgtrans;	/* i: transform from mouse's window to img */
772
@@ -134,7 +137,6 @@ void panedge_zoom ( coord, wintoimgtrans
773
   float imgX, imgY;
774
   int box_width, box_height;
775
   void i_transform();
776
-  static int choose_zoom();
777
 
778
   /* calculate image coordinates of win_x and win_y */
779
   i_transform(wintoimgtrans, win_x, win_y, &imgX, &imgY);
780
--- csrarea.c.orig	1990-04-20 14:07:03 UTC
781
+++ csrarea.c
782
@@ -28,13 +28,15 @@ static char SccsId[] = "%W%  %G%";
783
  * Purpose:	Calculate area, in float units file pixels, enclosed by cursor
784
  * Method:	Use mathematical formula appropriate to cursor type
785
  */
786
+
787
+static int test_cross();
788
+
789
 double cursor_area ( cursor, user_info )
790
      struct cursorRec *cursor;
791
      int user_info;		/* flag, data is for user info */
792
 {
793
   double area;
794
   int i, j;
795
-  static int test_cross();
796
 
797
   switch( cursor->type ) {
798
   case COP_Circle:
799
@@ -83,13 +85,15 @@ static double x11, y11, x12, y12;
800
  *		are not tested since neighbors cannot cross but neighbors do
801
  *		share a common point.
802
  */
803
+
804
+static int intercept();
805
+
806
 static int test_cross ( pt, cnt, j, i )
807
      PolyPoint *pt;	/* list of vertices */
808
      int cnt;		/* number of vertices */
809
      int j, i;		/* two vertices at ends of edge being tested */
810
 {
811
   int k;
812
-  static int intercept();
813
 
814
   if( (i+2) >= cnt ) {
815
     return( 0 );
816
--- csrgrab.c.orig	1990-04-20 14:08:42 UTC
817
+++ csrgrab.c
818
@@ -38,12 +38,14 @@ extern struct colorRec color;	/* need to
819
  * Purpose:	Change size of cursor to intersect current mouse cursor
820
  *		while keeping aspect ratio of cursor constant
821
  */
822
+
823
+static void size_annulus(), grab_annulus();
824
+
825
 void size_annuli ( cursor, event )
826
      struct cursorRec *cursor;
827
      XEvent *event;		/* i: event for location of mouse */
828
 {
829
   void draw_cursor(), make_cursor();
830
-  static void size_annulus(), grab_annulus();
831
 
832
   /* if this event is initiating tracking, don't erase the cursor */
833
   if( event->type == MotionNotify )
834
@@ -64,13 +66,15 @@ void size_annuli ( cursor, event )
835
  * Purpose:	Respond to a mouse request to delete an annulus
836
  *
837
  */
838
+
839
+static int on_annulus();
840
+static void size_annulus(), remove_annulus();
841
+
842
 void delete_annulus ( cursor, event )
843
      struct cursorRec *cursor;
844
      XEvent *event;		/* i: XMotionEvent or XButtonEvent */
845
 {
846
   struct cursorRec *parent;
847
-  static int on_annulus();
848
-  static void size_annulus(), remove_annulus();
849
 
850
   /* if there are two or more annuli */
851
   if( (cursor->next_annulus != 0) &&
852
@@ -169,14 +173,16 @@ static void remove_annulus ( parent )
853
  * Purpose:	Set up cursor to for a size annulus interaction
854
  * Called by:	size_annuli()
855
  */
856
+
857
+static int on_annulus();
858
+static void remove_annulus();
859
+
860
 static void grab_annulus ( cursor )
861
      struct cursorRec *cursor;
862
 {
863
   double inc;
864
   int code;
865
   struct cursorRec *parent, *annulus;
866
-  static int on_annulus();
867
-  static void remove_annulus();
868
 
869
   code = on_annulus(cursor, &parent);
870
   /* decide what to draw */
871
--- csrpoly1.c.orig	1990-04-20 14:11:54 UTC
872
+++ csrpoly1.c
873
@@ -36,6 +36,9 @@ extern struct colorRec color;	/* need to
874
  *		Used when initiating a move or size action
875
  * Called by:	control_cursor() in CursorCtrl.c
876
  */
877
+
878
+static int on_polygon_vertex();
879
+
880
 void grab_polygon_vertex ( cursor, event, size )
881
      struct cursorRec *cursor;
882
      XEvent *event;		/* i: XbuttonEvent (ButtonPress) for x & y */
883
@@ -45,7 +48,6 @@ void grab_polygon_vertex ( cursor, event
884
   int pt;			/* l: index of polygon vertex */
885
   int closest_polygon_line();
886
   void draw_cursor(), add_polygon_vertex();
887
-  static int on_polygon_vertex();
888
 
889
   /* erase existing cursor */
890
   draw_cursor(cursor, &color.gcset.undraw);
891
@@ -84,13 +86,15 @@ void grab_polygon_vertex ( cursor, event
892
  * Returns:	1 if image must be redrawn, else 0
893
  * Called by:	control_cursor() in CursorCtrl.c
894
  */
895
+
896
+static int on_polygon_vertex();
897
+
898
 int request_delete_polygon_vertex ( cursor, event )
899
      struct cursorRec *cursor;
900
      XEvent *event;		/* i: XbuttonEvent (ButtonPress) for x & y */
901
 {
902
   int i;
903
   void delete_polygon_vertex(), draw_cursor();
904
-  static int on_polygon_vertex();
905
 
906
   i = on_polygon_vertex((int)event->xbutton.x, (int)event->xbutton.y,
907
 			cursor->points, cursor->poly_cnt);
908
--- csrpoly2.c.orig	1998-07-09 16:29:27 UTC
909
+++ csrpoly2.c
910
@@ -72,12 +72,14 @@ void collapse_polygon ( cursor )
911
  * Subroutine:	start_polygon
912
  * Purpose:	Install polygon drawing stuff for the active cursor
913
  */
914
+
915
+static void init_polygon();
916
+
917
 void start_polygon ( cursor, coord )
918
      struct cursorRec *cursor;
919
      struct coordRec *coord;
920
 {
921
   void set_polygon_from_file_coords();
922
-  static void init_polygon();
923
 
924
   if( polysz == 0 )
925
     init_polygon();
926
--- csrpoly3.c.orig	1990-04-20 14:11:40 UTC
927
+++ csrpoly3.c
928
@@ -28,6 +28,9 @@ static char SccsId[] = "%W%  %G%";
929
  *		vector from pointer to closest point on segment
930
  * Method:	top down search
931
  */
932
+
933
+static double distance_from_segment(), cos_to_segment();
934
+
935
 int closest_polygon_line ( x, y, vertex, cnt )
936
      int x, y;
937
      XPoint *vertex;
938
@@ -38,7 +41,6 @@ int closest_polygon_line ( x, y, vertex,
939
   int min_endpoint, endpoint;
940
   int min_j;
941
   int i, j;
942
-  static double distance_from_segment(), cos_to_segment();
943
 
944
   min_distance = 1.0E30;
945
   min_j = 0;
946
--- csrshape.c.orig	1998-10-19 18:46:41 UTC
947
+++ csrshape.c
948
@@ -31,9 +31,6 @@ static char SccsId[] = "%W%  %G%";
949
 
950
 #include "defs/circle.def"	/*  Define Unit_circles  */
951
 
952
-#ifdef ANSIC
953
-/*  Exported declarations must be centralized before ANSI C can be used  */
954
-
955
 void		make_cursor(	struct cursorRec *cursor);
956
 static int	make_arrow(	double xtip, double ytip, double xray,
957
 				double rotsin, double rotcos, XPoint *points);
958
@@ -41,28 +38,20 @@ static int	make_boxcur(	double xcen, dou
959
 				double xray, double yray,
960
 				double rotsin, double rotcos, XPoint *points);
961
 static int	make_circur(	double xcen, double ycen, double radius,
962
-				XPoint *points )
963
+				XPoint *points );
964
 static int	make_sqrcur(	double xcen, double ycen, double radius,
965
-				XPoint *points )
966
+				XPoint *points );
967
 static int	make_diacur(	double xcen, double ycen, double radius,
968
-				XPoint *points )
969
+				XPoint *points );
970
 static int	make_crosscur(	double xcen, double ycen, double radius,
971
-				XPoint *points )
972
+				XPoint *points );
973
 static int	make_excur(	double xcen, double ycen, double radius,
974
-				XPoint *points )
975
+				XPoint *points );
976
 static int	make_ellipse(	double xcen, double ycen,
977
 				double xradius, double yradius,
978
 				double rotsin, double rotcos, XPoint *points);
979
 static int	make_piecur(	double xcen, double ycen, double radius,
980
-				XPoint *points )
981
-
982
-#else
983
-
984
-  static int make_arrow(), make_boxcur(), make_circur();
985
-  static int make_ellipse(), make_piecur();
986
-
987
-#endif
988
-
989
+				XPoint *points );
990
 
991
 /*  Declare and initialize drawing tools  */
992
 double *UnitPieX = Circle12X;
993
--- ctrlcntn.c.orig	1998-07-09 16:29:00 UTC
994
+++ ctrlcntn.c
995
@@ -61,6 +61,9 @@ void init_connections ()
996
  * Purpose:	Open a connection to a remote process and update event handlers
997
  * Returns:	-1 on failure, else IPC number
998
  */
999
+
1000
+static void init_select();
1001
+
1002
 int open_connection ( connection )
1003
      struct connectRec *connection;
1004
 {
1005
@@ -71,7 +74,6 @@ int open_connection ( connection )
1006
   extern int ButtonSelectMask(), open_pipe();
1007
   extern int open_socket_listener();
1008
   extern struct connectRec *accept_socket_connection();
1009
-  static void init_select();
1010
 #endif
1011
 
1012
 #ifdef NOPIPEFLUSH
1013
--- ctrlfile.c.orig	1990-04-20 13:49:12 UTC
1014
+++ ctrlfile.c
1015
@@ -40,6 +40,9 @@ extern int errno;
1016
  * Post state:	Sets pointer to file, open and ready for writing
1017
  * Returns:	2 = append, 1 = new file, 0 = user decided not to, -1 = error
1018
  */
1019
+
1020
+static int file_exists();
1021
+
1022
 int open_output_file ( fd, edit, one_popup_row, prompt )
1023
      FILE **fd;
1024
      EditStruct *edit;
1025
@@ -56,7 +59,6 @@ int open_output_file ( fd, edit, one_pop
1026
   int get_edit_input();
1027
   EditStruct *init_edit_popup();
1028
   void clear_edit_buf(), unmap_popwin();
1029
-  static int file_exists();
1030
 
1031
   open_type[0] = 0;
1032
   if( (get_edit_input(edit, one_popup_row, 1, 0, prompt) <= 0) ||
1033
@@ -137,6 +139,9 @@ int open_output_file ( fd, edit, one_pop
1034
  * Note:	Sets pointer of file open and ready for reading
1035
  * Returns:	1 on success, 0 if user decided not to, -1 on error
1036
  */
1037
+
1038
+static int file_exists();
1039
+
1040
 int open_input_file ( fd, edit, one_popup_row, prompt )
1041
      FILE **fd;
1042
      EditStruct *edit;
1043
@@ -146,7 +151,6 @@ int open_input_file ( fd, edit, one_popu
1044
   char filename[132];
1045
   int exist;
1046
   int get_edit_input();
1047
-  static int file_exists();
1048
 
1049
   if( get_edit_input(edit, one_popup_row, 1, 1, prompt) <= 0 )
1050
     return( 0 );
1051
--- ctrlgc.c.orig	1990-05-02 08:19:55 UTC
1052
+++ ctrlgc.c
1053
@@ -237,10 +237,12 @@ GC set_edit_gc ( font, foreground, backg
1054
  * Subroutine:	get_fontstruct
1055
  * Returns:	Pointer to the specified fontstruct
1056
  */
1057
+
1058
+static int init_font();
1059
+
1060
 XFontStruct *get_fontstruct ( app_code )
1061
      int app_code;	/* i: see comments above */
1062
 {
1063
-  static int init_font();
1064
 
1065
   if( (app_font[app_code] == NULL) && (init_font(app_code) == NULL) )
1066
     return( NULL );
1067
@@ -253,11 +255,13 @@ XFontStruct *get_fontstruct ( app_code )
1068
  * Purpose:	Load the fonts used by this program
1069
  * Returns:	Font on success, else 0
1070
  */
1071
+
1072
+static int open_font();
1073
+
1074
 static int init_font ( app_code )
1075
      int app_code;	/* i: font application type index */
1076
 {
1077
   int i, name_index;
1078
-  static int open_font();
1079
 
1080
   for( i=0; i<OPTION_COUNT; i++ ) {
1081
     name_index = preference[app_code][i];
1082
--- dispblnk.c.orig	1990-04-20 14:23:14 UTC
1083
+++ dispblnk.c
1084
@@ -181,13 +181,15 @@ static int display_blink ( index )
1085
  * For each button release, if it is on top of stack, release it and display
1086
  *  one below, else just release it
1087
  */
1088
+
1089
+static int display_blink();
1090
+
1091
 void control_blink ()
1092
 {
1093
   static int oldmode;
1094
   static int buttons = 0;
1095
   static int btnstack[4];
1096
   int i;
1097
-  static int display_blink();
1098
 
1099
   if( control.event.type == ButtonPress ) {
1100
     /* don't respond if it's with a meta key (window resize) */
1101
--- dispbtmp.c.orig	1991-06-21 22:58:15 UTC
1102
+++ dispbtmp.c
1103
@@ -55,9 +55,11 @@ void init_halftone ()
1104
  * Subroutine:	select_halftone
1105
  * Purpose:	Respond to halftone selection command
1106
  */
1107
+
1108
+static void new_halftone();
1109
+
1110
 void select_halftone ()
1111
 {
1112
-  static void new_halftone();
1113
 
1114
   switch( control.response[1] ) {
1115
   case 0:
1116
--- editctrl.c.orig	1990-06-03 04:07:48 UTC
1117
+++ editctrl.c
1118
@@ -61,6 +61,9 @@ extern int  XZ_efn;
1119
  * Subroutine:	init_edit_popup
1120
  * Purpose:	Get everything ready for running editor sessions
1121
  */
1122
+
1123
+static void init_popwin();
1124
+
1125
 EditStruct *init_edit_popup ( string, max_chars )
1126
      char *string;
1127
      int max_chars;
1128
@@ -69,7 +72,6 @@ EditStruct *init_edit_popup ( string, ma
1129
   int len;
1130
   EditStruct *get_edit_struct();
1131
   void init_edit_struct(), load_edit_struct();
1132
-  static void init_popwin();
1133
 
1134
   if( init_window ) {
1135
     init_popwin(color.gcset.menu.foreground, color.gcset.menu.background);
1136
@@ -91,6 +93,9 @@ EditStruct *init_edit_popup ( string, ma
1137
  *		(but expose is fielded and configure is saved for end).
1138
  * Returns:	1 if user returns with a response, 0 if user cancels session
1139
  */
1140
+
1141
+static void map_popwin();
1142
+
1143
 int get_edit_input ( edit, one_row, map, unmap, prompt )
1144
      EditStruct *edit;
1145
      int one_row;	/* i: put-edit-after-prompt-on-same-line */
1146
@@ -104,7 +109,6 @@ int get_edit_input ( edit, one_row, map,
1147
   int emacs_response();
1148
   void draw_new_string(), redraw_edit_string();
1149
   void adjust_desktop(), redraw_window(), unmap_popwin();
1150
-  static void map_popwin();
1151
 
1152
   map_popwin(edit, one_row, prompt, map);
1153
   if( !map ) {
1154
--- grphbtmp.c.orig	1990-04-20 14:31:04 UTC
1155
+++ grphbtmp.c
1156
@@ -27,6 +27,9 @@ extern struct colorRec color;
1157
  * Subroutine:	make_halftone_panimage
1158
  * Purpose:	Make halftone bitmap for pan window (panbox)
1159
  */
1160
+
1161
+static void byte_dither_sample(), byte_diffuse_sample();
1162
+
1163
 void make_halftone_colorbar ( bytedata, bitdata,
1164
 			      width, height, bytes_per_line )
1165
      unsigned char *bytedata;
1166
@@ -34,7 +37,6 @@ void make_halftone_colorbar ( bytedata, 
1167
      int width, height;
1168
      int bytes_per_line;
1169
 {
1170
-  static void byte_dither_sample(), byte_diffuse_sample();
1171
 
1172
   bzero((char *)bitdata, bytes_per_line * height);
1173
   if( color.halftone.mode == BOP_Dither ) {
1174
--- grphgrab.c.orig	1990-04-20 14:33:27 UTC
1175
+++ grphgrab.c
1176
@@ -30,10 +30,12 @@ extern struct cgraphRec cgraph;
1177
  * Subroutine:	grab_cgraph_vertex
1178
  * Purpose:	When a mouse button is pressed, assign a vertex to that button
1179
  */
1180
+
1181
+static void get_color_vertex();
1182
+
1183
 void get_cgraph_vertex ( event )
1184
      XEvent *event;
1185
 {
1186
-  static void get_color_vertex();
1187
 
1188
   switch( event->xbutton.button ) {
1189
   case Button1:
1190
@@ -58,10 +60,12 @@ void get_cgraph_vertex ( event )
1191
  *		event
1192
  * Returns:	1 if a vertex was dropped, else 0
1193
  */
1194
+
1195
+static int drop_color_vertex();
1196
+
1197
 int drop_cgraph_vertex ( event )
1198
      XEvent *event;
1199
 {
1200
-  static int drop_color_vertex();
1201
 
1202
   switch( event->xbutton.button ) {
1203
   case Button1:
1204
@@ -83,13 +87,15 @@ int drop_cgraph_vertex ( event )
1205
  * Purpose:	Handle grab vertex event for single color 
1206
  * Method:	Grab old vertex or make new vertex - under mouse pointer
1207
  */
1208
+
1209
+static int grab_old_color_vertex();
1210
+static void install_new_color_vertex();
1211
+
1212
 static void get_color_vertex ( x, y, col )
1213
      int x, y;
1214
      struct colgRec *col;
1215
 {
1216
   void install_draw_queue_end();
1217
-  static int grab_old_color_vertex();
1218
-  static void install_new_color_vertex();
1219
 
1220
   /* clip against limits */
1221
   if( x < cgraph.graph.xzero )
1222
@@ -151,6 +157,9 @@ static int grab_old_color_vertex ( x, y,
1223
  * Subroutine:	install_new_color_vertex
1224
  * Purpose:	Given hash position, install a new vertex, and make active
1225
  */
1226
+
1227
+static void add_color_vertex(), add_color_vertex_hash();
1228
+
1229
 static void install_new_color_vertex ( x, y, col )
1230
      int x, y;			/* i: position of ULcorner of new hash mark */
1231
      struct colgRec *col;	/* i: color info structure for one color */
1232
@@ -158,7 +167,6 @@ static void install_new_color_vertex ( x
1233
   double intensity, cell_level;
1234
   int match;
1235
   int select_best_hash_position();
1236
-  static void add_color_vertex(), add_color_vertex_hash();
1237
 
1238
   col->active_hash = select_best_hash_position(x, y, col->hash, col->hash_cnt,
1239
 					       &match, cgraph.vertical);
1240
@@ -251,11 +259,13 @@ static void add_color_vertex_hash ( col,
1241
  * Purpose:	Delete a color table vertex if one is under the mouse position
1242
  * Returns:	1 if vertex was dropped, else 0
1243
  */
1244
+
1245
+  static int grab_old_color_vertex();
1246
+
1247
 static int drop_color_vertex ( col, x, y )
1248
      struct colgRec *col;
1249
      int x, y;
1250
 {
1251
-  static int grab_old_color_vertex();
1252
 
1253
   /* hash mark positions are upper left corner of hash box */
1254
   x -= HASH_RAY;
1255
--- grphinit.c.orig	1990-04-20 14:40:44 UTC
1256
+++ grphinit.c
1257
@@ -46,9 +46,11 @@ extern int  XZ_efn;
1258
  * Subroutine:	init_colorbox
1259
  * Purpose:	Handle program init-time color bar and graph initialization
1260
  */
1261
+
1262
+static void init_main_colorbar();
1263
+
1264
 void init_colorbox ( )
1265
 {
1266
-  static void init_main_colorbar();
1267
 
1268
   cgraph.ncolors = color.ncolors;
1269
   cgraph.red.table = &color.ctable.red;
1270
@@ -68,10 +70,12 @@ void init_colorbox ( )
1271
  * Purpose:	Initialize color bar and related params
1272
  * Xlib calls:	XCreateSimpleWindow(), XMapSubwindows()
1273
  */
1274
+
1275
+static void set_colorbar_image(), set_colorbar_params();
1276
+
1277
 static void init_main_colorbar ( )
1278
 {
1279
   char *calloc_errchk();
1280
-  static void set_colorbar_image(), set_colorbar_params();
1281
 
1282
   colorbar.display = colorbox.display;
1283
   colorbar.ref_width = colorbox.width;
1284
@@ -92,10 +96,12 @@ static void init_main_colorbar ( )
1285
  * Subroutine:	adjust_main_colorbar
1286
  * Purpose:	Adjust color bar size params and/or color data if needed
1287
  */
1288
+
1289
+static void set_colorbar_image(), set_colorbar_params();
1290
+
1291
 void adjust_main_colorbar ( )
1292
 {
1293
   char *calloc_errchk();
1294
-  static void set_colorbar_image(), set_colorbar_params();
1295
 
1296
   if( (colorbox.width != colorbar.ref_width) ||
1297
       (colorbox.height != colorbar.ref_height) ) {
1298
@@ -113,11 +119,13 @@ void adjust_main_colorbar ( )
1299
  * Purpose:	Initialize color bar and related params
1300
  * Xlib calls:	XMapSubwindows()
1301
  */
1302
+
1303
+static void set_colorbar_image(), set_colorbar_params();
1304
+
1305
 void init_graph_colorbar ( )
1306
 {
1307
   Window create_cgraph_box();
1308
   char *calloc_errchk();
1309
-  static void set_colorbar_image(), set_colorbar_params();
1310
 
1311
   cgraph.bar.display = graphbox.display;
1312
   cgraph.bar.ref_width = graphbox.width;
1313
@@ -149,11 +157,13 @@ void init_graph_colorbar ( )
1314
  * Subroutine:	adjust_graph_colorbar
1315
  * Purpose:	Adjust color bar size params and/or color data if needed
1316
  */
1317
+
1318
+static void set_colorbar_image(), set_colorbar_params();
1319
+
1320
 void adjust_graph_colorbar ( )
1321
 {
1322
   int resize = 0;
1323
   char *calloc_errchk();
1324
-  static void set_colorbar_image(), set_colorbar_params();
1325
 
1326
   if( cgraph.vertical ) {
1327
     if( graphbox.height != cgraph.bar.ref_height ) {
1328
--- grphmove.c.orig	1990-04-20 14:37:26 UTC
1329
+++ grphmove.c
1330
@@ -26,12 +26,14 @@ extern struct cgraphRec cgraph;
1331
  * Purpose:	Change values (and position) of designated vertices in
1332
  *		response to mouse movement
1333
  */
1334
+
1335
+static void move_color_vertex();
1336
+
1337
 void move_cgraph_vertices ( x, y )
1338
      int x, y;
1339
 {
1340
   double cell_level, intensity;
1341
   int hash_x, hash_y;
1342
-  static void move_color_vertex();
1343
 
1344
   /* clip against limits */
1345
   if( x < cgraph.graph.xzero )
1346
--- grpholap.c.orig	1990-04-20 14:36:00 UTC
1347
+++ grpholap.c
1348
@@ -28,13 +28,15 @@ extern struct cgraphRec cgraph;
1349
  * Subroutine:	mark_colorline_overlap
1350
  * Purpose:	Make line representing more than one color black (or white)
1351
  */
1352
+
1353
+static void mark_hashmark_overlap();
1354
+
1355
 void mark_colorline_overlap ( )
1356
 {
1357
   int i, j;
1358
   int x, y;
1359
   int x1, y1;
1360
   XSegment line[256];
1361
-  static void mark_hashmark_overlap();
1362
 
1363
   j = 0;
1364
   if( cgraph.vertical ) {
1365
--- grphtext.c.orig	1990-04-20 14:39:37 UTC
1366
+++ grphtext.c
1367
@@ -33,6 +33,9 @@ extern struct cgraphRec cgraph;
1368
  * Purpose:	Set labeling pieces according to the graph window size
1369
  * Xlib calls:	XMoveWindow(), XResizeWindow(), XMapWindow()
1370
  */
1371
+
1372
+static void init_colorbar_label();
1373
+
1374
 void init_color_graph_label ( )
1375
 {
1376
   int new = 0;
1377
@@ -40,7 +43,6 @@ void init_color_graph_label ( )
1378
   int resize = 0;
1379
   Window create_cgraph_box();
1380
   void init_color_graph_label();
1381
-  static void init_colorbar_label();
1382
 
1383
   if( cgraph.graphlabel.active == 0 )
1384
     return;
1385
--- histdist.c.orig	1998-07-28 18:56:45 UTC
1386
+++ histdist.c
1387
@@ -24,6 +24,9 @@ static char SccsId[] = "%W%  %G%";
1388
  * Purpose:	Distribute the levels among histogram sub-groups
1389
  * Returns:	number of groups with no assigned color levels
1390
  */
1391
+
1392
+static int excess_zgroup(), excess_nzgroup(), range_zgroup();
1393
+
1394
 int distribute_levels ( linklist, pixel_area, color_levels,
1395
 		        pmin, pmax, ncolor )
1396
      SubrangeLink *linklist;
1397
@@ -39,7 +42,6 @@ int distribute_levels ( linklist, pixel_
1398
 #ifdef DEBUG
1399
   int census = 0;
1400
 #endif
1401
-  static int excess_zgroup(), excess_nzgroup(), range_zgroup();
1402
 
1403
   /* if all one group (no strong peaks), allocation is simple */
1404
   if( linklist->next == 0 ) {
1405
--- histeql.c.orig	1990-04-20 14:59:27 UTC
1406
+++ histeql.c
1407
@@ -24,6 +24,10 @@ static char SccsId[] = "%W%  %G%";
1408
  *		output level optimization accounts for large cell counts
1409
  *		for single levels (e.g. half of all pixels with value 0)
1410
  */
1411
+
1412
+static int count_nonzero_histogram_entries(), rescan_histogram();
1413
+static void unmark_peak_links();
1414
+
1415
 void histogram_equalize ( scalemap, histogram, area, pmin, pmax,
1416
 			  color_levels, pixels )
1417
      unsigned char *scalemap;	/* i/o: scalemap (for signed indexing) */
1418
@@ -42,8 +46,6 @@ void histogram_equalize ( scalemap, hist
1419
   char *calloc_errchk();
1420
   int distribute_levels();
1421
   void generate_scalemap(), scan_histogram_for_peaks(), resolve_zeroes();
1422
-  static int count_nonzero_histogram_entries(), rescan_histogram();
1423
-  static void unmark_peak_links();
1424
 
1425
   /* initialize link list */
1426
   linklist = (SubrangeLink *)calloc_errchk(10, sizeof(int), "HElink");
1427
--- histlist.c.orig	1991-06-21 22:58:44 UTC
1428
+++ histlist.c
1429
@@ -29,6 +29,12 @@ static char SccsId[] = "%W%  %G%";
1430
  * Subroutine:	make_equalized_list
1431
  * Purpose:	Distributing levels for a subrange section of the histogram
1432
  */
1433
+
1434
+static int equalize_simply();
1435
+#ifdef JIGGLE
1436
+static void adjust_list();
1437
+#endif
1438
+
1439
 void make_equalized_list ( histogram, list, low_entry, high_entry,
1440
 			   pixel_area, color_levels )
1441
      int *histogram;
1442
@@ -47,10 +53,6 @@ void make_equalized_list ( histogram, li
1443
   int best_levels_under;
1444
   int best_average_over = 0;	/* average_area used to get best_levels */
1445
   int best_average_under = 0;
1446
-  static int equalize_simply();
1447
-#ifdef JIGGLE
1448
-  static void adjust_list();
1449
-#endif
1450
 
1451
   /* else allocation distribution must first be determined */
1452
   /* run through histgram section making basic allocation and taking notes */
1453
--- histmap.c.orig	1990-04-20 15:00:13 UTC
1454
+++ histmap.c
1455
@@ -28,6 +28,9 @@ static char SccsId[] = "%W%  %G%";
1456
  *		safely be applied.
1457
  * Note:	The original link-list of groups is freed.
1458
  */
1459
+
1460
+static void make_subrange_scalemap();
1461
+
1462
 void generate_scalemap ( hist, subrange, scalemap, pixels )
1463
      int *hist;				/* i: histogram (for signed offsets) */
1464
      SubrangeLink *subrange;	/* i: linklist of subranges */
1465
@@ -36,7 +39,6 @@ void generate_scalemap ( hist, subrange,
1466
 {
1467
   int baselevel;
1468
   SubrangeLink *trash;
1469
-  static void make_subrange_scalemap();
1470
 
1471
   baselevel = 0;
1472
   while( subrange != 0 ) {
1473
@@ -54,6 +56,9 @@ void generate_scalemap ( hist, subrange,
1474
  * Purpose:	Make a section of scale map using histgroup link as guide 
1475
  * Called by:	make_HE_scalemap() in HistEqual.c
1476
  */
1477
+
1478
+static void make_gapped_list(), list_to_map();
1479
+
1480
 static void
1481
   make_subrange_scalemap ( histogram, subrange, scalemap, baselevel, pixels )
1482
      int *histogram;
1483
@@ -67,7 +72,6 @@ static void
1484
   unsigned char dispval;
1485
   char *calloc_errchk();
1486
   void make_equalized_list();
1487
-  static void make_gapped_list(), list_to_map();
1488
 
1489
   /* if only one level, make map section */
1490
   if( subrange->color_levels <= 1 ) {
1491
@@ -135,6 +139,10 @@ static void list_to_map ( scalemap, hist
1492
  * Purpose:	Allocate levels for a histogram subrange.  Special process
1493
  * 		for situation when more levels than actually used values.
1494
  */
1495
+
1496
+static int first_shortlist_pass();
1497
+static void add_level_to_short_list();
1498
+
1499
 static void make_gapped_list ( histogram, list, low, high, levels )
1500
      int *histogram;
1501
      SubrangeList *list;
1502
@@ -142,8 +150,6 @@ static void make_gapped_list ( histogram
1503
 {
1504
   int range_j, max_range;
1505
   int levels_used;
1506
-  static int first_shortlist_pass();
1507
-  static void add_level_to_short_list();
1508
 
1509
   levels_used =
1510
     first_shortlist_pass(histogram, list, low, high, levels,
1511
--- histscan.c.orig	1990-04-20 15:00:36 UTC
1512
+++ histscan.c
1513
@@ -21,6 +21,10 @@ static char SccsId[] = "%W%  %G%";
1514
  * Purpose:	Scan the image histogram picking out large cell count values
1515
  *		make sub-groups of the histogram between the large count levels
1516
  */
1517
+
1518
+static SubrangeLink *get_new_subrange_record();
1519
+static void fill_subrange_record();
1520
+
1521
 void scan_histogram_for_peaks ( subrange, histogram,
1522
 			        pixel_area, map_levels, average )
1523
      SubrangeLink *subrange;	/* i/o: link (initially covers range) */
1524
@@ -36,8 +40,6 @@ void scan_histogram_for_peaks ( subrange
1525
   int sr_nzentries;		/* l: number of non-zero entries in subrange */
1526
   int sr_pixel_area;		/* l: number of pixels in current subrange */
1527
   int sr_max_peak;		/* l: highest peak within current  subrange */
1528
-  static SubrangeLink *get_new_subrange_record();
1529
-  static void fill_subrange_record();
1530
 
1531
   /* set initial pixel_count values */
1532
   sr_pixel_area = 0;
1533
--- histzero.c.orig	1990-04-20 15:01:03 UTC
1534
+++ histzero.c
1535
@@ -23,13 +23,15 @@ static char SccsId[] = "%W%  %G%";
1536
  * Note:	Adjoining groups are large count single level groups
1537
  * Called by:	histrogram_equalize() above
1538
  */
1539
+
1540
+static void merge_links();
1541
+
1542
 void resolve_zeroes ( PriorLink, zeroes )
1543
      SubrangeLink *PriorLink;
1544
      int zeroes;
1545
 {
1546
   SubrangeLink *ThisLink, *NextLink;
1547
   int a_count, b_count, z1count, z2count;
1548
-  static void merge_links();
1549
 
1550
   /* if very first entry is a zero allocated link */
1551
   if( PriorLink->color_levels == 0 ) {
1552
--- imgcheck.c.orig	2001-03-12 21:31:30 UTC
1553
+++ imgcheck.c
1554
@@ -46,13 +46,15 @@ static char SccsId[] = "%W%  %G%";
1555
  * Purpose:	Do some consistency checks on image type and size
1556
  * Returns:	0 if no errors found, else -1
1557
  */
1558
+
1559
+static int check_array();
1560
+
1561
 int check_image ( img, got_status )
1562
      struct imageRec *img;
1563
      int got_status;
1564
 {
1565
   int len;
1566
   char *ext, *mwcs, cext;
1567
-  static int check_array();
1568
   extern int isfits();
1569
 
1570
   ext = NULL;
1571
@@ -148,6 +150,9 @@ int check_image ( img, got_status )
1572
  * Purpose:	Check array size vs file size etc
1573
  * Returns:	0 if size determined and/or OK, else -1
1574
  */
1575
+
1576
+static long size_imagefile();
1577
+
1578
 static int check_array ( img )
1579
      struct imageRec *img;
1580
 {
1581
@@ -156,7 +161,6 @@ static int check_array ( img )
1582
   float posdim;		/* possible dimension */
1583
   int headersize;	/* size in bytes of header */
1584
   int rawsize;
1585
-  static long size_imagefile();
1586
 
1587
   /* get header size */
1588
   headersize = img->headersize;
1589
--- imglogo.c.orig	1990-04-26 16:31:48 UTC
1590
+++ imglogo.c
1591
@@ -372,13 +372,15 @@ static unsigned char logo[LOGO_SZ] = {
1592
  * Subroutine:	load_logo
1593
  * Purpose:	place logo image in image buffer
1594
  */
1595
+
1596
+static void make_logo();
1597
+
1598
 void load_logo ( shortbuf, bufwd, bufht )
1599
      short *shortbuf;
1600
      int bufwd, bufht;
1601
 {
1602
   register short *bufpt, *bufend;
1603
   register short bkgd;
1604
-  static void make_logo();
1605
 
1606
   /* fill buffer with background color */
1607
   bufpt = shortbuf;
1608
--- imgnew.c.orig	1998-10-14 23:01:58 UTC
1609
+++ imgnew.c
1610
@@ -52,6 +52,9 @@ extern struct windowRec desktop;
1611
  *  Purpose:	Create all image coordinate parameters from the beginning
1612
  * 		and take care of all that might be affected
1613
  */
1614
+
1615
+static void  load_mainbuf();
1616
+
1617
 void new_display ( dispnow, clear, load, scale )
1618
      int dispnow;	/* i: put-display-in-window-now flag */
1619
      int clear;		/* i: clear img buf before reading flag */
1620
@@ -61,7 +64,6 @@ void new_display ( dispnow, clear, load,
1621
   void set_disptran(), new_pancursor(), new_scalemap();
1622
   void combine_transform(), set_edges(), set_dispoff(), set_magnifier();
1623
   void adjust_cursor_coords(), map_dispbox(), disp_dispbox();
1624
-  static void  load_mainbuf();
1625
 
1626
   /*  Set disp to img and disp to file transforms  */
1627
   set_disptran(&coord);
1628
--- imgtrans.c.orig	1990-04-20 15:13:46 UTC
1629
+++ imgtrans.c
1630
@@ -26,6 +26,9 @@ static char SccsId[] = "%W%  %G%";
1631
  * 	4-7 = flip y axis then rotate clockwise by (code - 4) * 90 degrees
1632
  * Called by:	load_image() in ImageRead.c
1633
  */
1634
+
1635
+static void square_buf(), unsquare_buf();
1636
+
1637
 void rotate_buf ( buf, flip, rotcode, width, height, buf_squared, buf_doubled )
1638
      short *buf;
1639
      int flip;
1640
@@ -36,7 +39,6 @@ void rotate_buf ( buf, flip, rotcode, wi
1641
   int maxdim;
1642
   void xflip_buf(), yflip_buf(), zflip_buf(), cwturn_buf(), ccwturn_buf();
1643
   void transfer_buf();
1644
-  static void square_buf(), unsquare_buf();
1645
 
1646
   if( flip )
1647
     rotcode += 4;
1648
--- irafcrd.c.orig	1990-04-20 15:16:02 UTC
1649
+++ irafcrd.c
1650
@@ -45,13 +45,15 @@ static char SccsId[] = "%W%  %G%";
1651
  *		If found and parsed, compute new transform for file coord.
1652
  * Returns:	1 if subsection found and parsed successfully, else 0
1653
  */
1654
+
1655
+static int parse_iraf_subsection();
1656
+
1657
 int guess_true_file_coords ( title )
1658
      char *title;
1659
 {
1660
   int xoff, yoff, block;
1661
   float fblock;
1662
   Transform imgtoaux;
1663
-  static int parse_iraf_subsection();
1664
   void set_trans_speed(), combine_transform(), clear_coord_area();
1665
 
1666
   if( parse_iraf_subsection(title, &xoff, &yoff, &block) == 0 ) {
1667
@@ -92,6 +94,10 @@ int guess_true_file_coords ( title )
1668
  * Purpose:	Parse for subsection and blocking from the image name
1669
  * Returns:	1 if subsection or blocking was used, else 0
1670
  */
1671
+
1672
+static char *fn_substr();	/* look for a substr */
1673
+static void get_subsection_offsets();
1674
+
1675
 static int parse_iraf_subsection ( s, xoff, yoff, block )
1676
      char *s;			/* i: file name */
1677
      int *xoff;			/* o: x offset */
1678
@@ -99,8 +105,6 @@ static int parse_iraf_subsection ( s, xo
1679
      int *block;		/* o: block */
1680
 {
1681
   char *t, *u;			/* temp char pointers */
1682
-  static char *fn_substr();	/* look for a substr */
1683
-  static void get_subsection_offsets();
1684
 
1685
   /* seed the default values */
1686
   *xoff = 1;
1687
@@ -139,6 +143,9 @@ static int parse_iraf_subsection ( s, xo
1688
  * Subroutine:	get_subsection_offsets
1689
  * Purpose:	parse subsection syntax for x and y offsets of subsection
1690
  */
1691
+
1692
+static char *fn_substr();
1693
+
1694
 static void get_subsection_offsets ( s, xoff, yoff, is_qp )
1695
      char *s;
1696
      int *xoff, *yoff;
1697
@@ -147,7 +154,6 @@ static void get_subsection_offsets ( s, 
1698
   int x1, x2;
1699
   int y1, y2;
1700
   char *sy, *s2, *st;
1701
-  static char *fn_substr();
1702
 
1703
   /* if not qp, grab the initial x offset right after the '[' */
1704
   sy = fn_substr(s, ",");
1705
--- irafimtl.c.orig	1998-02-25 19:52:37 UTC
1706
+++ irafimtl.c
1707
@@ -46,6 +46,9 @@ static char wcsbuf[SZ_WCSBUF];
1708
  * Subroutine:	imtool_response
1709
  * Purpose:	Read imtool messages from iraf (return 1 if pipe trouble)
1710
  */
1711
+
1712
+static int get_frame_no();
1713
+
1714
 void imtool_response ( port, imhead, ndatabytes )
1715
      struct connectRec *port;	/* i: struct of port for IRAF input */
1716
      struct imtoolRec *imhead;	/* i: packet header, already read in */
1717
@@ -60,7 +63,6 @@ void imtool_response ( port, imhead, nda
1718
   void set_curpos_to_iraf_trigger(), set_cursor_from_iraf(), imtool_output();
1719
   void set_imtool_scale(), set_cursor_to_iraf(), disp_subpiece();
1720
   void map_panbox(), disp_panbox(), send_curpos_to_iraf(), flush_connection();
1721
-  static int get_frame_no();
1722
 
1723
   switch( imhead->subunit & 077 ) {
1724
   case FEEDBACK:
1725
@@ -189,6 +191,9 @@ void imtool_response ( port, imhead, nda
1726
  * Purpose:	Reset buffer sizes, coordinate systems and parameters as
1727
  *		needed.
1728
  */
1729
+
1730
+static int get_frame_no();
1731
+
1732
 void imtool_newimage ( is_wcs, imhead )
1733
      int is_wcs;
1734
      struct imtoolRec *imhead;
1735
@@ -199,7 +204,6 @@ void imtool_newimage ( is_wcs, imhead )
1736
   void set_disptran(), combine_transform(), set_edges(), set_dispoff();
1737
   void adjust_cursor_coords(), set_magnifier(), disp_subpiece(), set_tdisp();
1738
   void set_imtool_scale(), imtool_reinit(), new_pancursor();
1739
-  static int get_frame_no();
1740
 
1741
   /* set size and frame */
1742
   if( is_wcs )
1743
--- irafio.c.orig	1992-10-12 17:17:50 UTC
1744
+++ irafio.c
1745
@@ -102,6 +102,9 @@ void rename_imtool_connection ( name, in
1746
  * Subroutine:	imtool_output
1747
  * Purpose:	Write image data back to iraf device channel
1748
  */
1749
+
1750
+static int compact_short_to_byte();
1751
+
1752
 void imtool_output ( imhead, odev, imagebuf, width, height )
1753
      struct imtoolRec *imhead;
1754
      struct connectRec *odev;
1755
@@ -116,7 +119,6 @@ void imtool_output ( imhead, odev, image
1756
   int buferr = 0;
1757
   char fifobuf[SZ_FIFOBUF + 4];
1758
   int write_connection();
1759
-  static int compact_short_to_byte();
1760
 
1761
   ndatabytes = -(int)imhead->thingct;
1762
   x = imhead->x & 077777;
1763
@@ -153,6 +155,9 @@ void imtool_output ( imhead, odev, image
1764
  * Called by:	imtool_response() in RemoteImtool.c
1765
  * Returns:	-1 if read no bytes, 1 if trouble, else 0
1766
  */
1767
+
1768
+static void expand_byte_to_short();
1769
+
1770
 int imtool_input ( imhead, idev, readbuf, iwdth, owdth, y1, y2,
1771
 		   imagebuf, imbufsz )
1772
      struct imtoolRec *imhead;
1773
@@ -171,7 +176,6 @@ int imtool_input ( imhead, idev, readbuf
1774
   int got, try, gotten;
1775
   short *obuf;
1776
   int read_connection();
1777
-  static void expand_byte_to_short();
1778
 
1779
   /* get data count and packing type */
1780
   ndatavals = -(int)imhead->thingct;
1781
--- irafpipe.c.orig	1998-02-25 19:52:26 UTC
1782
+++ irafpipe.c
1783
@@ -33,6 +33,9 @@ static char SccsId[] = "%W%  %G%";
1784
  * Subroutine:	read_imtool_packet()
1785
  * Purpose:	event handler for packet input from iraf
1786
  */
1787
+
1788
+static int check_packet_sum();
1789
+
1790
 void read_imtool_packet( port )
1791
      struct connectRec *port;
1792
 {
1793
@@ -48,7 +51,6 @@ void read_imtool_packet( port )
1794
 #endif
1795
   int read_connection();
1796
   void imtool_response(), swap_bytes();
1797
-  static int check_packet_sum();
1798
 
1799
   /* read the header */
1800
   bytes = read_connection(port, (char *)&imhead, sizeof(struct imtoolRec));
1801
--- maininit.c.orig	2003-12-01 23:21:35 UTC
1802
+++ maininit.c
1803
@@ -76,11 +76,13 @@ Display *display;		/* display connection
1804
  * Xlib calls:	XSetErrorHandler()
1805
  * UNIX calls:	setrlimit()
1806
  */
1807
+
1808
+static void init_params(), init_packages();
1809
+
1810
 main(argc, argv)
1811
   int argc;
1812
   char **argv;
1813
 {
1814
-  static void init_params(), init_packages();
1815
   void crash_on_error(), control_event_loop();
1816
   void say_goodbye();
1817
   
1818
@@ -141,13 +143,15 @@ void say_goodbye ( code )
1819
  * Purpose:	Initialize parameters in the records
1820
  * Note:	Resource or default file not yet used
1821
  */
1822
+
1823
+static void init_server();
1824
+
1825
 static void init_params ( argc, argv )
1826
      int argc;
1827
      char **argv;
1828
 {
1829
   char *name;		/* l: both flag for init and return display name */
1830
   int parse_stat;
1831
-  static void init_server();
1832
   int parse_cmdline(), check_image();
1833
   void say_goodbye(), init_connections();
1834
 
1835
--- mainkey.c.orig	2003-09-24 22:38:25 UTC
1836
+++ mainkey.c
1837
@@ -87,6 +87,9 @@ static double oldypix = 0.0;
1838
 
1839
 static double oldxpos, oldypos;
1840
 
1841
+static void PrintFITSHead();
1842
+static int new_image();
1843
+
1844
 void
1845
 key_response()
1846
 {
1847
@@ -110,7 +113,6 @@ key_response()
1848
   void print_center(), print_cursor();
1849
   void move_pointer();
1850
   void get_cursor_pos();
1851
-  static void PrintFITSHead();
1852
   void toggle_region_visibility(), toggle_region_labeling();
1853
   double xbuf, ybuf, xfile, yfile;
1854
   double newxpos, newypos, distance;
1855
--- mgfyctrl.c.orig	1999-05-06 19:47:12 UTC
1856
+++ mgfyctrl.c
1857
@@ -45,12 +45,14 @@ extern struct magRec magset;
1858
  * Purpose:	Magnify location of a dispbox event
1859
  * Xlib calls:	XCheckWindowEvent(), XSync()
1860
  */
1861
+
1862
+static void label_file_coords(), label_file_coords_proportional();
1863
+
1864
 void magnify_disp ( event, view, text )
1865
      XEvent *event;		/* i: XEvent for location of mouse */
1866
      int view, text;
1867
 {
1868
   void draw_magnifier();
1869
-  static void label_file_coords(), label_file_coords_proportional();
1870
 
1871
   /* get only the most recent mouse moved event */
1872
   XSync(dispbox.display, 0);
1873
@@ -132,6 +134,9 @@ void redraw_magnifier ( )
1874
  * Purpose:	Show pointer coordinates and image value in display window
1875
  * Xlib calls:	XDrawImageString()
1876
  */
1877
+
1878
+static void draw_proportional_coord();
1879
+
1880
 static void label_file_coords ( bufX, bufY )
1881
      double bufX, bufY;
1882
 {
1883
@@ -142,7 +147,6 @@ static void label_file_coords ( bufX, bu
1884
   float fileX, fileY;
1885
   GC gc, set_edit_gc();
1886
   void d_transform();
1887
-  static void draw_proportional_coord();
1888
   static int lwcs0 = 0;
1889
   static int lpix0 = 0;
1890
   int i;
1891
@@ -289,6 +293,9 @@ void clear_coord_area ()
1892
  *		but has not been refined for the val section.
1893
  * Xlib call:	XDrawImageString()
1894
  */
1895
+
1896
+static void draw_proportional_number();
1897
+
1898
 static void label_file_coords_proportional ( bufX, bufY )
1899
      double bufX, bufY;
1900
 {
1901
@@ -297,7 +304,6 @@ static void label_file_coords_proportion
1902
   float fileX, fileY;
1903
   GC gc, set_edit_gc();
1904
   void d_transform();
1905
-  static void draw_proportional_number();
1906
 
1907
   gc = set_edit_gc(magset.text.font,
1908
 		   magset.text.foreground, magset.text.background);
1909
--- mgfytabl.c.orig	1998-07-09 16:28:28 UTC
1910
+++ mgfytabl.c
1911
@@ -30,6 +30,10 @@ static char SccsId[] = "%W%  %G%";
1912
  *		coordinates
1913
  * Note:	Uses event coords in control struct (control.event.xkey)
1914
  */
1915
+
1916
+static int get_key_buf_coords(), set_table_params();
1917
+static void output_column_labels(), output_pixval_table();
1918
+
1919
 void print_table ()
1920
 {
1921
   int bufx, bufy;
1922
@@ -39,8 +43,6 @@ void print_table ()
1923
   int table_size;
1924
   int col_width;
1925
   int rot;
1926
-  static int get_key_buf_coords(), set_table_params();
1927
-  static void output_column_labels(), output_pixval_table();
1928
 
1929
   /* determine the buffer coordinates of the event */
1930
   if( get_key_buf_coords(&control.event.xkey, &bufx, &bufy) == 0 ) {
1931
--- pancrsr.c.orig	1990-05-02 06:49:17 UTC
1932
+++ pancrsr.c
1933
@@ -45,13 +45,15 @@ void draw_pancursor ( )
1934
  * Subroutine:	new_pancursor
1935
  * Purpose:	Create and draw panbox cursor given image coordinates
1936
  */
1937
+
1938
+static void set_pancursor();
1939
+
1940
 void new_pancursor ( track )
1941
      int track;
1942
 {
1943
   float panX1, panX2, panY1, panY2;
1944
   GC gc, set_gc();
1945
   void disp_window(), i_transform();
1946
-  static void set_pancursor();
1947
 
1948
   if( pancur_present ) {
1949
     /* erase the old box if it was visible */
1950
--- panimage.c.orig	1990-04-20 16:17:38 UTC
1951
+++ panimage.c
1952
@@ -45,12 +45,14 @@ void disp_panbox ( )
1953
  * Subroutine:	map_panbox
1954
  * Purpose:	Fill the panbox display buffer, mapping from its short buffer
1955
  */
1956
-void map_panbox ( )
1957
-{
1958
-  static void map_panbuf();
1959
+
1960
+static void map_panbuf();
1961
 #ifdef SUMBLOCK
1962
-  static void map_adj_panbuf();
1963
+static void map_adj_panbuf();
1964
 #endif
1965
+
1966
+void map_panbox ( )
1967
+{
1968
   void panimage_halftone();
1969
 
1970
   if( color.ncolors <= 1 ) {
1971
--- prntcent.c.orig	1999-08-20 22:18:40 UTC
1972
+++ prntcent.c
1973
@@ -36,6 +36,11 @@ static char SccsId[] = "%W%  %G%";
1974
  *		Returns 1 if successful, else 0
1975
  * Note:	Uses event coords in control struct (control.event.xkey)
1976
  */
1977
+
1978
+static int set_center_param();
1979
+static int get_key_buf_coord();
1980
+static void comp_center ();
1981
+
1982
 void
1983
 print_center ( xc, yc )
1984
 
1985
@@ -59,9 +64,6 @@ double *xc, *yc;		/* Returned centroided
1986
   int xfile, yfile;
1987
   char string[64];
1988
   int lstr = 48;
1989
-  static int set_center_param();
1990
-  static int get_key_buf_coord();
1991
-  static void comp_center ();
1992
   void d_trans();
1993
   int iswcs();
1994
 
1995
--- prntcurs.c.orig	2002-01-16 22:54:18 UTC
1996
+++ prntcurs.c
1997
@@ -31,12 +31,14 @@ static char SccsId[] = "%W%  %G%";
1998
  * Subroutine:	print_cursor
1999
  * Purpose:	print location of a dispbox event
2000
  */
2001
+
2002
+static void print_file_value();
2003
+
2004
 void print_cursor ( event )
2005
   XEvent *event;		/* XEvent for location of mouse */
2006
 {
2007
   double bufx, bufy, filex, filey;
2008
   void get_cursor_pos();
2009
-  static void print_file_value();
2010
 
2011
   (void)get_cursor_pos (event, &bufx, &bufy, &filex, &filey );
2012
   (void)print_file_value ( bufx, bufy, filex, filey );
2013
--- readarr.c.orig	1999-02-23 14:05:41 UTC
2014
+++ readarr.c
2015
@@ -28,6 +28,9 @@ static char SccsId[] = "%W%  %G%";
2016
  * Purpose:	Read array data from a file
2017
  * Note:	Assumes file was tested benignly, exits here if trouble
2018
  */
2019
+
2020
+static int read_data();
2021
+
2022
 void read_array ( fd, img, imgbuf, filebuf, width, height, X, Y, block,
2023
 		  verbose )
2024
      int fd;			/* if >=0 handle to open & ready image file */
2025
@@ -40,7 +43,6 @@ void read_array ( fd, img, imgbuf, fileb
2026
      int verbose;		/* whether to print explanatory messages */
2027
 {
2028
   int vals;
2029
-  static int read_data();
2030
   int image_start;
2031
   int open_disk(), lseek_disk();
2032
   void close_disk();
2033
--- readfith.c.orig	1998-09-29 15:40:06 UTC
2034
+++ readfith.c
2035
@@ -46,6 +46,9 @@ static char SccsId[] = "%W%  %G%";
2036
  * Purpose:	Find important FITS parameters in FITS header
2037
  * Returns:	1 if success, else 0
2038
  */
2039
+
2040
+static int get_keyint(), get_keyfloat();
2041
+
2042
 int read_fitsheader ( header, length, bitpix, naxis, naxes, scale, bias )
2043
      char *header;
2044
      int length;
2045
@@ -55,7 +58,6 @@ int read_fitsheader ( header, length, bi
2046
      float *scale;
2047
      float *bias;
2048
 {
2049
-  static int get_keyint(), get_keyfloat();
2050
   struct WorldCoor *wcsinit();
2051
   char *header0;
2052
   header0 = header;
2053
@@ -144,6 +146,9 @@ static int get_keyint ( header, keyword,
2054
  * Purpose:	Return the float value in the data field for a given FITS
2055
  *		header keyword.  If key not found, return 0.
2056
  */
2057
+
2058
+static void fix_exponent();
2059
+
2060
 static int get_keyfloat ( header, keyword, length, val, report_error)
2061
      char *header;	/* buffer start */
2062
      char *keyword;	/* keyword to match */
2063
@@ -153,7 +158,6 @@ static int get_keyfloat ( header, keywor
2064
 {
2065
   int key_not_end;
2066
   int i;
2067
-  static void fix_exponent();
2068
   void no_fitscomment();
2069
 
2070
   key_not_end = (strncmp(keyword, "END     ", 8) != 0);
2071
--- rgnanli.c.orig	1990-04-20 16:25:03 UTC
2072
+++ rgnanli.c
2073
@@ -89,14 +89,16 @@ void new_annulus_edge ( cursor )
2074
  * Note:	"vala valb valc ..." and "val1 val2 n=int" are both
2075
  *		permitted syntax forms
2076
  */
2077
+
2078
+static int expand_radii();
2079
+static char *got_nequal();
2080
+
2081
 int parse_radii ( line, radius, maxcnt )
2082
      char *line;	/* i: string with first radius as next token */
2083
      float *radius;	/* o: buffer for float radius vals */
2084
      int maxcnt;	/* i: size of radius buffer */
2085
 {
2086
   int i, cnt;
2087
-  static int expand_radii();
2088
-  static char *got_nequal();
2089
   char *next_token();
2090
 
2091
   i = 0;
2092
--- rgndraw.c.orig	1998-11-30 21:46:40 UTC
2093
+++ rgndraw.c
2094
@@ -115,12 +115,14 @@ void disp_regions ( cursor )
2095
  * Subroutine:	disp_region
2096
  * Purpose:	Draw one saved cursor region and its labels
2097
  */
2098
+
2099
+static GC set_region_gc();
2100
+static void label_annuli(), label_region(), draw_region();
2101
+
2102
 void disp_region ( region )
2103
      struct cursorRec *region;
2104
 {
2105
   GC gc;
2106
-  static GC set_region_gc();
2107
-  static void label_annuli(), label_region(), draw_region();
2108
 
2109
   if( rgdraw.visible && (region != NULL) ) {
2110
     gc = set_region_gc(region);
2111
@@ -215,11 +217,13 @@ static void draw_region_label ( string, 
2112
  * Purpose:	Draw one saved cursor region outline or point index
2113
  * Note:	gc is already set, hence NULL GCspec in draw calls
2114
  */
2115
+
2116
+static void draw_region_label();
2117
+
2118
 static void draw_region ( region, gc )
2119
      struct cursorRec *region;
2120
      GC gc;
2121
 {
2122
-  static void draw_region_label();
2123
   void draw_annuli(), draw_cursor();
2124
 
2125
   if( region->type != COP_Point ) {
2126
@@ -246,12 +250,14 @@ static void draw_region ( region, gc )
2127
 /*
2128
  * Subroutine:	label_annuli
2129
  */
2130
+
2131
+static void label_region();
2132
+
2133
 static void label_annuli ( region, gc )
2134
      struct cursorRec *region;
2135
      GC gc;
2136
 {
2137
   struct cursorRec *annulus;
2138
-  static void label_region();
2139
 
2140
   /* apply label to outer annulus */
2141
   annulus = region;
2142
@@ -268,6 +274,10 @@ static void label_annuli ( region, gc )
2143
  * Purpose:	Draw one region's label line and text for center and edge
2144
  * Xlib calls:	XDrawLine()
2145
  */
2146
+
2147
+static int mark_include();
2148
+static void draw_region_label();
2149
+
2150
 static void label_region ( region, gc )
2151
      struct cursorRec *region;
2152
      GC gc;
2153
@@ -277,8 +287,6 @@ static void label_region ( region, gc )
2154
   char edge_string[132];
2155
   int len;
2156
   int exclude;
2157
-  static int mark_include();
2158
-  static void draw_region_label();
2159
 
2160
   /* if label not requested or don't know how to label or will another part */
2161
   if( (!rgdraw.label) || (region->type == COP_Polygon) )
2162
--- rgndrop.c.orig	1990-04-20 16:31:38 UTC
2163
+++ rgndrop.c
2164
@@ -64,14 +64,16 @@ void unsave_region ( cursor, dead_meat )
2165
  *		cursors enclose one or two digit label but have 0 area).
2166
  *		In case of equal areas (i.e. points), closer center is used.
2167
  */
2168
+
2169
+static int pointer_is_inside_region();
2170
+static int closer_to_center();
2171
+
2172
 struct cursorRec *region_indicated_by_pointer ( cursor, x, y, point_only )
2173
      struct cursorRec *cursor;
2174
      int x, y;
2175
      int point_only;
2176
 {
2177
   struct cursorRec *region, *chosen;
2178
-  static int pointer_is_inside_region();
2179
-  static int closer_to_center();
2180
 
2181
   chosen = NULL;
2182
   region = cursor->next_region;
2183
@@ -115,13 +117,15 @@ static int closer_to_center ( challenger
2184
  * Subroutine:	is_inside_region
2185
  * Purpose:	Determine if mouse is within a region
2186
  */
2187
+
2188
+static int pointer_is_inside_polygon();
2189
+
2190
 static int pointer_is_inside_region ( x, y, region )
2191
      int x, y;
2192
      struct cursorRec *region;
2193
 {
2194
   double rayX, rayY, ray;
2195
   int inside;
2196
-  static int pointer_is_inside_polygon();
2197
 
2198
   if( region->type == COP_Polygon )
2199
     return( pointer_is_inside_polygon((double)x, (double)y,
2200
--- rgnwpros.c.orig	1991-01-09 03:57:30 UTC
2201
+++ rgnwpros.c
2202
@@ -45,11 +45,13 @@ static char SccsId[] = "%W%  %G%";
2203
  * Purpose:	Write ROSAT PROS style region description to file
2204
  * Method:	Recurse first to start writing from end of link list
2205
  */
2206
+
2207
+static void cat_annulus(), write_annuli(), cat_shape();
2208
+
2209
 void write_region_pros ( fd, region )
2210
      FILE *fd;
2211
      struct cursorRec *region;
2212
 {
2213
-  static void cat_annulus(), write_annuli(), cat_shape();
2214
 
2215
   /*  Check for pointer before doing anything  */
2216
   if( region == NULL )
2217
@@ -84,13 +86,15 @@ void write_region_pros ( fd, region )
2218
 /*  Subroutine:	cat_shape
2219
  *  Purpose:	Put simple PROS description of given cursor in line buffer
2220
  */     
2221
+
2222
+static void cat_polypts(), cat_cen(), cat_params();
2223
+
2224
 static void cat_shape ( region, line )
2225
      struct cursorRec *region;
2226
      char *line;
2227
 {
2228
   int params;
2229
   void write_text_region();
2230
-  static void cat_polypts(), cat_cen(), cat_params();
2231
 
2232
   switch( region->type ) {
2233
   case COP_Box:
2234
@@ -205,12 +209,14 @@ static void cat_cen ( region, line )
2235
  * Subroutine:	cat_polypts
2236
  * Purpose:	Add list of point coordinates to line buffer (for polygon)
2237
  */
2238
+
2239
+static void cat_pt();
2240
+
2241
 static void cat_polypts ( region, line )
2242
      struct cursorRec *region;
2243
      char *line;
2244
 {
2245
   int i;
2246
-  static void cat_pt();
2247
 
2248
   cat_pt((double)region->poly[0].fileX, (double)region->poly[0].fileY,
2249
 	 line, 0);
2250
@@ -254,12 +260,14 @@ static void cat_pt ( x, y, line, comma )
2251
  * Purpose:	Put a PROS style description of circular annuli on the
2252
  *		line buffer
2253
  */
2254
+
2255
+static void cat_cen();
2256
+
2257
 static void cat_annulus ( region, line )
2258
      struct cursorRec *region;
2259
      char *line;
2260
 {
2261
   char radius[16];
2262
-  static void cat_cen();
2263
 
2264
   (void)strcat(line, "ANNULUS(");
2265
   cat_cen(region, line);
2266
@@ -275,14 +283,16 @@ static void cat_annulus ( region, line )
2267
  * Subroutine:	write_annuli
2268
  * Purpose:	Write PROS type description to produce annuli of given shapes
2269
  */
2270
+
2271
+static struct cursorRec *cat_annular();
2272
+static void cat_shape();
2273
+
2274
 static void write_annuli ( region, line, fd )
2275
      struct cursorRec *region;
2276
      char *line;
2277
      FILE *fd;
2278
 {
2279
   struct cursorRec *annulus;
2280
-  static struct cursorRec *cat_annular();
2281
-  static void cat_shape();
2282
 
2283
   /* annuli start with next_annulus (base region is not one of them) */ 
2284
   if( (annulus = region->next_annulus) != NULL ) {
2285
@@ -309,11 +319,13 @@ static void write_annuli ( region, line,
2286
  * Purpose:	Add outer shape anded with not of inner shape to make
2287
  *		an annular ring
2288
  */
2289
+
2290
+static void cat_shape();
2291
+
2292
 static struct cursorRec *cat_annular ( region, line )
2293
      struct cursorRec *region;
2294
      char *line;
2295
 {
2296
-  static void cat_shape();
2297
 
2298
   if( region->next_annulus != NULL ) {
2299
     if( region->exclude_region )
2300
--- rgnwrite.c.orig	1995-09-08 22:29:19 UTC
2301
+++ rgnwrite.c
2302
@@ -58,6 +58,9 @@ EditStruct *region_edit;
2303
  * Subroutine:	write_regions
2304
  * Purpose:	Write region info to a file
2305
  */
2306
+
2307
+static void write_region_imtool();
2308
+
2309
 void write_regions ( cursor, image, output_type )
2310
      struct cursorRec *cursor;
2311
      struct imageRec *image;
2312
@@ -66,7 +69,6 @@ void write_regions ( cursor, image, outp
2313
   FILE *fd;
2314
   static int last_output_type = 0;
2315
   char fname[SZ_FNAME];
2316
-  static void write_region_imtool();
2317
   int open_output_file();
2318
   EditStruct *init_edit_popup();
2319
   void set_path_iraf(), write_region_pros(), load_edit_struct(), timestamp();
2320
@@ -146,13 +148,15 @@ static void write_region_imtool ( fd, re
2321
  * Subroutine:	timestamp
2322
  * Purpose:	Write date and filename (if known) to region file
2323
  */
2324
+
2325
+static void set_time_string();
2326
+
2327
 void timestamp ( fd, imagename )
2328
      FILE *fd;
2329
      char *imagename;
2330
 {
2331
   char  line[SZ_LINE];
2332
   int len;
2333
-  static void set_time_string();
2334
 
2335
   /* timestamp the first entry in the output file. */
2336
   set_time_string (line);
2337
--- sclctrl.c.orig	1996-10-10 15:55:57 UTC
2338
+++ sclctrl.c
2339
@@ -70,6 +70,9 @@ void select_scalemap ()
2340
  * Subroutine:	new_scalemap
2341
  * Purpose:	Scalemap calculation for a new image
2342
  */
2343
+
2344
+static void new_histogram();
2345
+
2346
 void new_scalemap ( )
2347
 {
2348
   static double cmdMin = 0.0;
2349
@@ -78,7 +81,6 @@ void new_scalemap ( )
2350
   static int max_given = 0;
2351
   static int imtool_200 = 0;
2352
   static int init = 1;		/* identify first time called */
2353
-  static void new_histogram();
2354
   void make_scalemap(), color_logo();
2355
 #ifdef IMTOOL
2356
   void set_imtool_colors();
2357
--- sclmap.c.orig	1994-10-25 15:25:02 UTC
2358
+++ sclmap.c
2359
@@ -36,11 +36,13 @@ static char SccsId[] = "%W%  %G%";
2360
  * Note:	Map goes from image value to hardware value (through ideal
2361
  *		map value using pixels array from XAllocColors)
2362
  */
2363
+
2364
+static void linear_scale(), wrap_scale(), sqrt_scale(), log_scale();
2365
+
2366
 void make_scalemap ( image_min, image_max )
2367
      int image_min, image_max;	/* i: range of mapping for image data input */
2368
 {
2369
   void histogram_equalize();
2370
-  static void linear_scale(), wrap_scale(), sqrt_scale(), log_scale();
2371
 
2372
   /* note the range of data for which mapping is to be calculated */
2373
   if( image_max == image_min )
2374
@@ -105,6 +107,9 @@ void make_scalemap ( image_min, image_ma
2375
  * Subroutine:	linear_scale
2376
  * Purpose:	Distribute color levels in the map evenly
2377
  */
2378
+
2379
+static void get_histogram_range();
2380
+
2381
 static void linear_scale ( image_min, image_max )
2382
   int image_min, image_max;		/* i: limits of values in display */
2383
 {
2384
@@ -118,7 +123,6 @@ static void linear_scale ( image_min, im
2385
   register int imageval;
2386
   register int pixval;
2387
   register int imagelim;
2388
-  static void get_histogram_range();
2389
 
2390
   range_min = image_min;
2391
   range_max = image_max;
2392
--- wndwconf.c.orig	1995-01-21 00:27:13 UTC
2393
+++ wndwconf.c
2394
@@ -55,9 +55,11 @@ static unsigned int geo_width, geo_heigh
2395
  * Method:	The size can be given or set to norm.  If given but less
2396
  *		than min (i.e. 0,0) it becomes the minimum configuration.
2397
  */
2398
+
2399
+static void set_parsed_geometry();
2400
+
2401
 void init_desktop ( )
2402
 {
2403
-  static void set_parsed_geometry();
2404
 
2405
   desktop.hints.min_width =
2406
     (2 * desktop.xzero) + (2 * dispbox.bdrwidth) + dispbox.hints.min_width;
2407
--- wndwinit.c.orig	2001-12-14 23:19:23 UTC
2408
+++ wndwinit.c
2409
@@ -53,11 +53,13 @@ static char **cmd_argv;		/* i: command l
2410
  * Uses:	create_window() in WndwCreate.c
2411
  * Xlib calls:	DisplayWidth(), DisplayHeight();
2412
  */
2413
+
2414
+static void set_window_basics();
2415
+
2416
 void init_windows1 ( argc, argv )
2417
      int argc;			/* i: command line arg count param */
2418
      char **argv;		/* i: command line args */
2419
 {
2420
-  static void set_window_basics();
2421
   void init_desktop(), create_window();
2422
 
2423
   /* set display screen parameters for all to see */
2424
@@ -81,9 +83,11 @@ void init_windows1 ( argc, argv )
2425
  * Uses:	configure_windows() in WndwConfig.c
2426
  * Uses:	get_window_dimensions(), create_window() in WndwCreate.c
2427
  */
2428
+
2429
+static void init_window_basics(), set_border_color();
2430
+
2431
 void init_windows2 ( )
2432
 {
2433
-  static void init_window_basics(), set_border_color();
2434
   void get_window_dimensions(), configure_windowgroup(), create_window();
2435
 
2436
   /* install runtime environment parameters for all windows */
2437
@@ -175,11 +179,13 @@ void raise_windows ( )
2438
  * Subroutine:	init_window_basics, set_window_basics
2439
  * Purpose:	Set the runtime environment parameters
2440
  */
2441
+
2442
+static void set_window_basics();
2443
+
2444
 static void init_window_basics ( border_pixel )
2445
      int border_pixel;
2446
 {
2447
   XImage *ximage;
2448
-  static void set_window_basics();
2449
 
2450
   ximage = XCreateImage(desktop.display, color.visual, color.screen_depth,
2451
 			dispbox.image.format, 0, malloc(4), 2, 2,
2452
--- wndwmaus.c.orig	2001-12-19 22:06:46 UTC
2453
+++ wndwmaus.c
2454
@@ -61,11 +61,13 @@ static Cursor keycursor;
2455
  * Subroutine:	init_mousepointers
2456
  * Purpose:	Set up the various mouse pointer icons for all windows
2457
  */
2458
+
2459
+static Cursor make_mouse_cursor();
2460
+
2461
 void init_mousepointers ( dispdisplay, auxdisplay )
2462
      Display *dispdisplay;	/* i: display for the dispbox */
2463
      Display *auxdisplay;	/* i: display for the auxiliary windows */
2464
 {
2465
-  static Cursor make_mouse_cursor();
2466
 
2467
   /* create special btnbox cursor for button menu window */
2468
   btnbox.attrs.cursor =
(-)astro/saoimage/files/patch-makefile.FreeBSD (-3 / +39 lines)
Lines 1-4 Link Here
1
--- makefile.FreeBSD.orig	2003-04-01 17:34:57 UTC
1
--- makefile.FreeBSD.orig	2020-01-26 19:05:22 UTC
2
+++ makefile.FreeBSD
2
+++ makefile.FreeBSD
3
@@ -36,9 +36,9 @@
3
@@ -36,9 +36,9 @@
4
 # FBCONFIG_2, which is set to the value of IMTOOLRC in the definition of
4
 # FBCONFIG_2, which is set to the value of IMTOOLRC in the definition of
Lines 22-28 Link Here
22
 # Uncomment these two lines to compile with gcc (add any optimizers you wish).
22
 # Uncomment these two lines to compile with gcc (add any optimizers you wish).
23
 #CC = gcc -finline-functions -fdelayed-branch -fstrength-reduce
23
 #CC = gcc -finline-functions -fdelayed-branch -fstrength-reduce
24
 #  Delayed branches could win big on RISC: many inner loops have branches
24
 #  Delayed branches could win big on RISC: many inner loops have branches
25
@@ -76,12 +76,12 @@ MFLAGS = -DLSB -DSUN -DPSCRIPT -DQUIT
25
@@ -64,24 +64,24 @@ CC = cc
26
 
27
 IFLAGS = -DFITS -DOIF -DIMTOOL
28
 
29
-# MFLAGS: machine or library specific code.
30
+# MYMFLAGS: machine or library specific code.
31
 #   -DSUN - SunOS temp file name, IEEE floating point debug, and Sun keyboard
32
 #   -DLSB - byte swap for FITS (VAX and DECstations)
33
 #   -DSYSV - substitutes for getdtablesize() and setrlimit() not widely known
34
 #   -DPSCRIPT - hard copy output to a PostScript printer (else no hardcopy)
35
 #   -DMIRIAD - extras
36
 
37
-MFLAGS = -DLSB -DSUN -DPSCRIPT -DQUIT
38
+MYMFLAGS = -DLSB -DSUN -DPSCRIPT -DQUIT
39
 
26
 # OFLAGS: compiler optimization/debug options.
40
 # OFLAGS: compiler optimization/debug options.
27
 
41
 
28
 #OFLAGS = -g -DDEBUG
42
 #OFLAGS = -g -DDEBUG
Lines 46-51 Link Here
46
 #XLIB = -L/usr/X11R6/lib -lX11	# ATTENTION: OpenWindows users...
60
 #XLIB = -L/usr/X11R6/lib -lX11	# ATTENTION: OpenWindows users...
47
 #F77LIB = -lF77 -lI77 -lU77
61
 #F77LIB = -lF77 -lI77 -lU77
48
 F77LIB = -lf2c
62
 F77LIB = -lf2c
63
@@ -106,7 +106,7 @@ RANLIB = ranlib
64
 RM     = rm -f
65
 SHELL  = /bin/sh
66
 
67
-CFLAGS = $(OFLAGS) $(ADFLAGS) $(MFLAGS) $(IFLAGS) -DFBCONFIG_2=\"$(IMTOOLRC)\"
68
+CFLAGS = $(OFLAGS) $(ADFLAGS) $(MYMFLAGS) $(IFLAGS) -DFBCONFIG_2=\"$(IMTOOLRC)\"
69
 
70
 # SAOimage libraries that live in subdirectories with their own makefiles.
71
 # This definition must be kept in correspondence with the DEPLIBS target.
72
@@ -241,10 +241,10 @@ $(PROGRAM):	$(DEPLIBS) $(OBJS)
73
 
74
 $(DEPLIBS):
75
 	@echo Building $(DEPLIBS)...
76
-	cd btnlib; $(MAKE) CFLAGS="-c $(OFLAGS) $(ADFLAGS) $(MFLAGS)" CC=$(CC)
77
+	cd btnlib; $(MAKE) CFLAGS="-c $(OFLAGS) $(ADFLAGS) $(MYMFLAGS)" CC=$(CC)
78
 
79
 lint:
80
-	$(LINT) -DDEBUG $(MFLAGS) $(IFLAGS) $(SRCS)
81
+	$(LINT) -DDEBUG $(MYMFLAGS) $(IFLAGS) $(SRCS)
82
 
83
 clean:
84
 	cd btnlib; $(MAKE) clean
49
@@ -307,7 +307,7 @@ tape:
85
@@ -307,7 +307,7 @@ tape:
50
 	$(MAKE) ARCFILE=$(TAPEDEV) tar
86
 	$(MAKE) ARCFILE=$(TAPEDEV) tar
51
 
87
 
Lines 55-61 Link Here
55
 STRUCT = hfiles/struct.h hfiles/buffer.h hfiles/color.h hfiles/control.h \
91
 STRUCT = hfiles/struct.h hfiles/buffer.h hfiles/color.h hfiles/control.h \
56
 	 hfiles/coord.h hfiles/cursor.h hfiles/image.h hfiles/window.h
92
 	 hfiles/coord.h hfiles/cursor.h hfiles/image.h hfiles/window.h
57
 WORKS = $(XLIBH) $(STRUCT) hfiles/constant.h hfiles/extern.h $(WCSH)
93
 WORKS = $(XLIBH) $(STRUCT) hfiles/constant.h hfiles/extern.h $(WCSH)
58
@@ -419,8 +419,8 @@ maininit.o	: $(XLIBH) $(STRUCT) hfiles/c
94
@@ -419,8 +419,8 @@ maininit.o	: $(XLIBH) $(STRUCT) hfiles/constant.h hfil
59
 		defs/dispbox.def defs/magnibox.def defs/panbox.def \
95
 		defs/dispbox.def defs/magnibox.def defs/panbox.def \
60
 		defs/btnbox.def defs/colorbox.def defs/graphbox.def \
96
 		defs/btnbox.def defs/colorbox.def defs/graphbox.def \
61
 		defs/desktop.def defs/cursor.def
97
 		defs/desktop.def defs/cursor.def
(-)astro/saoimage/files/patch-rgnwrite.c (-2 / +37 lines)
Lines 1-6 Link Here
1
--- rgnwrite.c.orig	1995-09-08 22:29:19 UTC
1
--- rgnwrite.c.orig	2020-01-26 19:05:22 UTC
2
+++ rgnwrite.c
2
+++ rgnwrite.c
3
@@ -183,7 +183,7 @@ static void set_time_string ( time_strin
3
@@ -58,6 +58,9 @@ EditStruct *region_edit;
4
  * Subroutine:	write_regions
5
  * Purpose:	Write region info to a file
6
  */
7
+
8
+static void write_region_imtool();
9
+
10
 void write_regions ( cursor, image, output_type )
11
      struct cursorRec *cursor;
12
      struct imageRec *image;
13
@@ -66,7 +69,6 @@ void write_regions ( cursor, image, output_type )
14
   FILE *fd;
15
   static int last_output_type = 0;
16
   char fname[SZ_FNAME];
17
-  static void write_region_imtool();
18
   int open_output_file();
19
   EditStruct *init_edit_popup();
20
   void set_path_iraf(), write_region_pros(), load_edit_struct(), timestamp();
21
@@ -146,13 +148,15 @@ static void write_region_imtool ( fd, region, image )
22
  * Subroutine:	timestamp
23
  * Purpose:	Write date and filename (if known) to region file
24
  */
25
+
26
+static void set_time_string();
27
+
28
 void timestamp ( fd, imagename )
29
      FILE *fd;
30
      char *imagename;
31
 {
32
   char  line[SZ_LINE];
33
   int len;
34
-  static void set_time_string();
35
 
36
   /* timestamp the first entry in the output file. */
37
   set_time_string (line);
38
@@ -183,7 +187,7 @@ static void set_time_string ( time_string )
4
 #ifdef LONG64
39
 #ifdef LONG64
5
   int time();
40
   int time();
6
 #else
41
 #else
(-)astro/xplanet/Makefile (-19 / +18 lines)
Lines 12-43 COMMENT= Draw pictures of the earth textured by an image Link Here
12
12
13
GNU_CONFIGURE=	yes
13
GNU_CONFIGURE=	yes
14
USES=		iconv localbase xorg
14
USES=		iconv localbase xorg
15
USE_XORG=	xt xscrnsaver
15
USE_XORG=	xscrnsaver xt
16
CONFIGURE_ARGS=	--with-map-extension=jpg
16
CONFIGURE_ARGS=	--with-map-extension=jpg
17
CPPFLAGS+=	-I${LOCALBASE}/include/netpbm
17
CPPFLAGS+=	-I${LOCALBASE}/include/netpbm
18
LIBS+=		-lm
18
LIBS+=		-lm
19
19
20
OPTIONS_DEFINE=	FREETYPE PANGO GIF JPEG PNG PNM TIFF
20
OPTIONS_DEFINE=		FREETYPE GIF JPEG PANGO PNG PNM TIFF
21
OPTIONS_DEFAULT=	FREETYPE PANGO GIF JPEG PNG PNM TIFF
21
OPTIONS_DEFAULT=	FREETYPE GIF JPEG PANGO PNG PNM TIFF
22
22
23
FREETYPE_CONFIGURE_WITH=	--with-freetype
23
FREETYPE_CONFIGURE_WITH=	--with-freetype
24
FREETYPE_LIB_DEPENDS=	libfreetype.so:print/freetype2
24
FREETYPE_LIB_DEPENDS=		libfreetype.so:print/freetype2
25
PANGO_CONFIGURE_WITH=	pango
25
PANGO_CONFIGURE_WITH=		pango
26
PANGO_USES=		gnome
26
PANGO_USES=			gnome
27
PANGO_USE=	GNOME=pango
27
PANGO_USE=			GNOME=pango
28
GIF_CONFIGURE_WITH=	gif
28
GIF_CONFIGURE_WITH=		gif
29
GIF_LIB_DEPENDS=	libgif.so:graphics/giflib
29
GIF_LIB_DEPENDS=		libgif.so:graphics/giflib
30
JPEG_CONFIGURE_WITH=	jpeg
30
JPEG_CONFIGURE_WITH=		jpeg
31
JPEG_USES=		jpeg
31
JPEG_USES=			jpeg
32
PNG_CONFIGURE_WITH=	png
32
PNG_CONFIGURE_WITH=		png
33
PNG_LIB_DEPENDS+=	libpng.so:graphics/png
33
PNG_LIB_DEPENDS+=		libpng.so:graphics/png
34
PNM_CONFIGURE_WITH=	pnm
34
PNM_CONFIGURE_WITH=		pnm
35
PNM_LIB_DEPENDS=	libnetpbm.so:graphics/netpbm
35
PNM_LIB_DEPENDS=		libnetpbm.so:graphics/netpbm
36
TIFF_CONFIGURE_WITH=	tiff
36
TIFF_CONFIGURE_WITH=		tiff
37
TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
37
TIFF_LIB_DEPENDS=		libtiff.so:graphics/tiff
38
38
39
post-extract:
39
post-patch:
40
	@${REINPLACE_CMD} -e "s/default/default.sample/g" ${WRKSRC}/Makefile.in
41
	@${MV} ${WRKSRC}/xplanet/config/default ${WRKSRC}/xplanet/config/default.sample
40
	@${MV} ${WRKSRC}/xplanet/config/default ${WRKSRC}/xplanet/config/default.sample
42
41
43
.include <bsd.port.mk>
42
.include <bsd.port.mk>
(-)astro/xplanet/files/patch-libprojections_stdiofix (-31 lines)
Removed Link Here
1
--- src/libprojection/ProjectionBonne.cpp.orig	2006-03-26 05:03:20 UTC
2
+++ src/libprojection/ProjectionBonne.cpp
3
@@ -7,6 +7,8 @@
4
   http://www.atnf.csiro.au/~mcalabre/WCS
5
  */
6
 
7
+#include <stdio.h>
8
+
9
 #include <cmath>
10
 #include <cstdio>
11
 #include <sstream>
12
--- src/libprojection/ProjectionGnomonic.cpp.orig	2006-03-26 05:03:20 UTC
13
+++ src/libprojection/ProjectionGnomonic.cpp
14
@@ -7,6 +7,8 @@
15
   http://www.atnf.csiro.au/~mcalabre/WCS
16
 */
17
 
18
+#include <stdio.h>
19
+
20
 #include <cmath>
21
 #include <cstdio>
22
 #include <sstream>
23
--- src/libprojection/ProjectionMercator.cpp.orig	2006-03-26 05:03:20 UTC
24
+++ src/libprojection/ProjectionMercator.cpp
25
@@ -1,4 +1,6 @@
26
 #include <cmath>
27
+#include <stdio.h>
28
+
29
 #include <cstdio>
30
 #include <sstream>
31
 using namespace std;
(-)astro/xplanet/files/patch-null-comparison-fix (-150 lines)
Removed Link Here
1
Index: src/libmultiple/RayleighScattering.cpp
2
===================================================================
3
--- src/libmultiple/RayleighScattering.cpp	(revision 206)
4
+++ src/libmultiple/RayleighScattering.cpp	(revision 207)
5
@@ -369,7 +369,7 @@
6
 
7
     diskTemplate_.clear();
8
     limbTemplate_.clear();
9
-    while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
10
+    while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
11
     {
12
         int i = 0;
13
         while (isDelimiter(line[i]))
14
@@ -439,7 +439,7 @@
15
     values.clear();
16
 
17
     char line[MAX_LINE_LENGTH];
18
-    while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
19
+    while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
20
     {
21
         int i = 0;
22
         while (isDelimiter(line[i]))
23
@@ -470,7 +470,7 @@
24
                               double &value)
25
 {
26
     char line[MAX_LINE_LENGTH];
27
-    while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
28
+    while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
29
     {
30
         int i = 0;
31
         while (isDelimiter(line[i]))
32
Index: src/libmultiple/drawStars.cpp
33
===================================================================
34
--- src/libmultiple/drawStars.cpp	(revision 206)
35
+++ src/libmultiple/drawStars.cpp	(revision 207)
36
@@ -41,7 +41,7 @@
37
     ifstream inFile(starMap.c_str());
38
 
39
     char line[MAX_LINE_LENGTH];
40
-    while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
41
+    while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
42
     {
43
         if (line[0] == '#') continue;
44
 
45
Index: src/readConfig.cpp
46
===================================================================
47
--- src/readConfig.cpp	(revision 206)
48
+++ src/readConfig.cpp	(revision 207)
49
@@ -550,7 +550,7 @@
50
 
51
         ifstream inFile(configFile.c_str());
52
         char *line = new char[256];
53
-        while (inFile.getline(line, 256, '\n') != NULL)
54
+        while (inFile.getline(line, 256, '\n'))
55
             readConfig(line, planetProperties);
56
         
57
         // This condition will only be true if [default] is the only
58
Index: src/libannotate/addArcs.cpp
59
===================================================================
60
--- src/libannotate/addArcs.cpp	(revision 206)
61
+++ src/libannotate/addArcs.cpp	(revision 207)
62
@@ -258,7 +258,7 @@
63
         {
64
             ifstream inFile(arcFile.c_str());
65
             char *line = new char[MAX_LINE_LENGTH];
66
-            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
67
+            while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
68
                 readArcFile(line, planet, view, projection,
69
                             planetProperties, annotationMap);
70
             
71
@@ -292,7 +292,7 @@
72
         {
73
             ifstream inFile(arcFile.c_str());
74
             char *line = new char[256];
75
-            while (inFile.getline (line, 256, '\n') != NULL)
76
+            while (inFile.getline (line, 256, '\n'))
77
                 readArcFile(line, NULL, view, NULL, NULL, annotationMap);
78
 
79
             inFile.close();
80
Index: src/libannotate/addMarkers.cpp
81
===================================================================
82
--- src/libannotate/addMarkers.cpp	(revision 206)
83
+++ src/libannotate/addMarkers.cpp	(revision 207)
84
@@ -429,7 +429,7 @@
85
         {
86
             ifstream inFile(markerFile.c_str());
87
             char *line = new char[MAX_LINE_LENGTH];
88
-            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
89
+            while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
90
             {
91
                 unsigned char color[3];
92
                 memcpy(color, planetProperties->MarkerColor(), 3);
93
@@ -475,7 +475,7 @@
94
         {
95
             ifstream inFile(markerFile.c_str());
96
             char *line = new char[MAX_LINE_LENGTH];
97
-            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
98
+            while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
99
             {
100
                 unsigned char color[3];
101
                 memcpy(color, options->Color(), 3);
102
Index: src/libannotate/addSatellites.cpp
103
===================================================================
104
--- src/libannotate/addSatellites.cpp	(revision 206)
105
+++ src/libannotate/addSatellites.cpp	(revision 207)
106
@@ -488,10 +488,10 @@
107
         {
108
             ifstream inFile(tleFile.c_str());
109
             char lines[3][80];
110
-            while (inFile.getline(lines[0], 80) != NULL)
111
+            while (inFile.getline(lines[0], 80))
112
             {
113
-                if ((inFile.getline(lines[1], 80) == NULL) 
114
-                    || (inFile.getline(lines[2], 80) == NULL))
115
+                if ((!inFile.getline(lines[1], 80)) 
116
+                    || (!inFile.getline(lines[2], 80)))
117
                 {
118
                     ostringstream errStr;
119
                     errStr << "Malformed TLE file (" << tleFile << ")?\n";
120
@@ -542,7 +542,7 @@
121
         {
122
             ifstream inFile(satFile.c_str());
123
             char *line = new char[MAX_LINE_LENGTH];
124
-            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
125
+            while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
126
                 readSatelliteFile(line, planet, view, projection,
127
                                   planetProperties, annotationMap);
128
             
129
Index: src/libannotate/addSpiceObjects.cpp
130
===================================================================
131
--- src/libannotate/addSpiceObjects.cpp	(revision 206)
132
+++ src/libannotate/addSpiceObjects.cpp	(revision 207)
133
@@ -524,7 +524,7 @@
134
         {
135
             ifstream inFile(kernelFile.c_str());
136
             char *line = new char[MAX_LINE_LENGTH];
137
-            while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
138
+            while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
139
             {
140
                 int ii = 0;
141
                 while (isDelimiter(line[ii]))
142
@@ -576,7 +576,7 @@
143
         {
144
             ifstream inFile(spiceFile.c_str());
145
             char *line = new char[MAX_LINE_LENGTH];
146
-            while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
147
+            while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
148
                 readSpiceFile(line, planetsFromSunMap, view, projection,
149
                               annotationMap);
150
             inFile.close();
(-)astro/xplanet/files/patch-src_libimage_gif.c (-11 / +11 lines)
Lines 1-4 Link Here
1
--- src/libimage/gif.c.orig	2006-03-25 22:50:51 UTC
1
--- src/libimage/gif.c.orig	2020-01-26 19:25:24 UTC
2
+++ src/libimage/gif.c
2
+++ src/libimage/gif.c
3
@@ -28,6 +28,314 @@
3
@@ -28,6 +28,314 @@
4
   distribution. 
4
   distribution. 
Lines 315-321 Link Here
315
 int
315
 int
316
 read_gif(const char *filename, int *width, int *height, unsigned char **rgb)
316
 read_gif(const char *filename, int *width, int *height, unsigned char **rgb)
317
 {
317
 {
318
@@ -42,11 +350,15 @@ read_gif(const char *filename, int *widt
318
@@ -42,11 +350,15 @@ read_gif(const char *filename, int *width, int *height
319
     int color_index;
319
     int color_index;
320
     unsigned char *ptr = NULL;
320
     unsigned char *ptr = NULL;
321
 
321
 
Lines 332-338 Link Here
332
         return(0);
332
         return(0);
333
     }
333
     }
334
 
334
 
335
@@ -54,7 +366,11 @@ read_gif(const char *filename, int *widt
335
@@ -54,7 +366,11 @@ read_gif(const char *filename, int *width, int *height
336
     {
336
     {
337
         if (DGifGetRecordType(infile, &record_type) == GIF_ERROR) 
337
         if (DGifGetRecordType(infile, &record_type) == GIF_ERROR) 
338
         {
338
         {
Lines 345-351 Link Here
345
             return(0);
345
             return(0);
346
         }
346
         }
347
 
347
 
348
@@ -63,7 +379,11 @@ read_gif(const char *filename, int *widt
348
@@ -63,7 +379,11 @@ read_gif(const char *filename, int *width, int *height
349
         case IMAGE_DESC_RECORD_TYPE:
349
         case IMAGE_DESC_RECORD_TYPE:
350
             if (DGifGetImageDesc(infile) == GIF_ERROR)
350
             if (DGifGetImageDesc(infile) == GIF_ERROR)
351
             {
351
             {
Lines 358-364 Link Here
358
                 return(0);
358
                 return(0);
359
             }
359
             }
360
 
360
 
361
@@ -107,14 +427,22 @@ read_gif(const char *filename, int *widt
361
@@ -107,14 +427,22 @@ read_gif(const char *filename, int *width, int *height
362
             GifByteType *ext;
362
             GifByteType *ext;
363
             if (DGifGetExtension(infile, &ext_code, &ext) == GIF_ERROR) 
363
             if (DGifGetExtension(infile, &ext_code, &ext) == GIF_ERROR) 
364
             {
364
             {
Lines 383-389 Link Here
383
                     return(0);
383
                     return(0);
384
                 }
384
                 }
385
             }
385
             }
386
@@ -154,7 +482,11 @@ read_gif(const char *filename, int *widt
386
@@ -154,7 +482,11 @@ read_gif(const char *filename, int *width, int *height
387
     
387
     
388
     free(buffer);
388
     free(buffer);
389
 
389
 
Lines 395-401 Link Here
395
     return(1);
395
     return(1);
396
 }
396
 }
397
 
397
 
398
@@ -178,7 +510,11 @@ write_gif(const char *filename, int widt
398
@@ -178,7 +510,11 @@ write_gif(const char *filename, int width, int height,
399
         return(0);
399
         return(0);
400
     }
400
     }
401
 
401
 
Lines 407-413 Link Here
407
 
407
 
408
     for (i = 0; i < width * height; i++)
408
     for (i = 0; i < width * height; i++)
409
     {
409
     {
410
@@ -190,7 +526,7 @@ write_gif(const char *filename, int widt
410
@@ -190,7 +526,7 @@ write_gif(const char *filename, int width, int height,
411
     if (QuantizeBuffer(width, height, &colormap_size, red, green, blue,   
411
     if (QuantizeBuffer(width, height, &colormap_size, red, green, blue,   
412
                        buffer, colormap->Colors) == GIF_ERROR)
412
                        buffer, colormap->Colors) == GIF_ERROR)
413
     {
413
     {
Lines 416-422 Link Here
416
         return(0);
416
         return(0);
417
     }
417
     }
418
 
418
 
419
@@ -198,24 +534,36 @@ write_gif(const char *filename, int widt
419
@@ -198,24 +534,36 @@ write_gif(const char *filename, int width, int height,
420
     free(green);
420
     free(green);
421
     free(blue);
421
     free(blue);
422
 
422
 
Lines 458-464 Link Here
458
         return(0);
458
         return(0);
459
     }
459
     }
460
 
460
 
461
@@ -224,7 +572,11 @@ write_gif(const char *filename, int widt
461
@@ -224,7 +572,11 @@ write_gif(const char *filename, int width, int height,
462
     {
462
     {
463
         if (EGifPutLine(outfile, ptr, width) == GIF_ERROR)
463
         if (EGifPutLine(outfile, ptr, width) == GIF_ERROR)
464
         {
464
         {
Lines 471-477 Link Here
471
             return(0);
471
             return(0);
472
         }
472
         }
473
         ptr += width;
473
         ptr += width;
474
@@ -232,8 +584,12 @@ write_gif(const char *filename, int widt
474
@@ -232,8 +584,12 @@ write_gif(const char *filename, int width, int height,
475
 
475
 
476
     EGifSpew(outfile);
476
     EGifSpew(outfile);
477
 
477
 
(-)astro/xplanet/files/patch-src_libprojection_ProjectionIcosagnomonic.cpp (-1 / +1 lines)
Lines 1-4 Link Here
1
--- src/libprojection/ProjectionIcosagnomonic.cpp.orig	2009-04-16 15:10:08 UTC
1
--- src/libprojection/ProjectionIcosagnomonic.cpp.orig	2020-01-26 19:25:24 UTC
2
+++ src/libprojection/ProjectionIcosagnomonic.cpp
2
+++ src/libprojection/ProjectionIcosagnomonic.cpp
3
@@ -26,6 +26,19 @@ using namespace std;
3
@@ -26,6 +26,19 @@ using namespace std;
4
 #define THIGH 3
4
 #define THIGH 3
(-)astro/xplanet/files/patch-src_readConfig.cpp (-6 / +15 lines)
Lines 31-37 Since it happens in a half-dozen places, introduce a trivial helper function. Link Here
31
 static void
31
 static void
32
 readConfig(const char *line, PlanetProperties *planetProperties[])
32
 readConfig(const char *line, PlanetProperties *planetProperties[])
33
 {
33
 {
34
@@ -49,7 +52,7 @@ readConfig(const char *line, PlanetPrope
34
@@ -49,7 +52,7 @@ readConfig(const char *line, PlanetProperties *planetP
35
             int r, g, b;
35
             int r, g, b;
36
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
36
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
37
             {
37
             {
Lines 40-46 Since it happens in a half-dozen places, introduce a trivial helper function. Link Here
40
                 currentProperties->ArcColor(color);
40
                 currentProperties->ArcColor(color);
41
             }
41
             }
42
             else
42
             else
43
@@ -179,7 +182,7 @@ readConfig(const char *line, PlanetPrope
43
@@ -179,7 +182,7 @@ readConfig(const char *line, PlanetProperties *planetP
44
             int r, g, b;
44
             int r, g, b;
45
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
45
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
46
             {
46
             {
Lines 49-55 Since it happens in a half-dozen places, introduce a trivial helper function. Link Here
49
                 currentProperties->Color(color);
49
                 currentProperties->Color(color);
50
             }
50
             }
51
             else
51
             else
52
@@ -244,7 +247,7 @@ readConfig(const char *line, PlanetPrope
52
@@ -244,7 +247,7 @@ readConfig(const char *line, PlanetProperties *planetP
53
             int r, g, b;
53
             int r, g, b;
54
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
54
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
55
             {
55
             {
Lines 58-64 Since it happens in a half-dozen places, introduce a trivial helper function. Link Here
58
                 currentProperties->GridColor(color);
58
                 currentProperties->GridColor(color);
59
             }
59
             }
60
             else
60
             else
61
@@ -296,7 +299,7 @@ readConfig(const char *line, PlanetPrope
61
@@ -296,7 +299,7 @@ readConfig(const char *line, PlanetProperties *planetP
62
             int r, g, b;
62
             int r, g, b;
63
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
63
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
64
             {
64
             {
Lines 67-73 Since it happens in a half-dozen places, introduce a trivial helper function. Link Here
67
                 currentProperties->MarkerColor(color);
67
                 currentProperties->MarkerColor(color);
68
             }
68
             }
69
             else
69
             else
70
@@ -403,7 +406,7 @@ readConfig(const char *line, PlanetPrope
70
@@ -403,7 +406,7 @@ readConfig(const char *line, PlanetProperties *planetP
71
             int r, g, b;
71
             int r, g, b;
72
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
72
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
73
             {
73
             {
Lines 76-82 Since it happens in a half-dozen places, introduce a trivial helper function. Link Here
76
                 currentProperties->OrbitColor(color);
76
                 currentProperties->OrbitColor(color);
77
             }
77
             }
78
             else
78
             else
79
@@ -473,7 +476,7 @@ readConfig(const char *line, PlanetPrope
79
@@ -473,7 +476,7 @@ readConfig(const char *line, PlanetProperties *planetP
80
             int r, g, b;
80
             int r, g, b;
81
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
81
             if (sscanf(returnString, "%d,%d,%d", &r, &g, &b) == 3)
82
             {
82
             {
Lines 85-87 Since it happens in a half-dozen places, introduce a trivial helper function. Link Here
85
                 currentProperties->TextColor(color);
85
                 currentProperties->TextColor(color);
86
             }
86
             }
87
             else
87
             else
88
@@ -550,7 +553,7 @@ readConfigFile(string configFile, PlanetProperties *pl
89
 
90
         ifstream inFile(configFile.c_str());
91
         char *line = new char[256];
92
-        while (inFile.getline(line, 256, '\n') != NULL)
93
+        while (inFile.getline(line, 256, '\n'))
94
             readConfig(line, planetProperties);
95
         
96
         // This condition will only be true if [default] is the only
(-)audio/aacplusenc/Makefile (-1 lines)
Lines 33-39 WRKSRC= ${WRKDIR}/${PORTNAME} Link Here
33
33
34
post-patch:
34
post-patch:
35
	@${REINPLACE_CMD} -e 's|-O3 -ftree-vectorize|${CFLAGS}| ; s|-lfftw3f|-L${LOCALBASE}/lib -lfftw3f| ; s|INSTDIR=.*|INSTDIR=${PREFIX}|' ${WRKSRC}/Makefile
35
	@${REINPLACE_CMD} -e 's|-O3 -ftree-vectorize|${CFLAGS}| ; s|-lfftw3f|-L${LOCALBASE}/lib -lfftw3f| ; s|INSTDIR=.*|INSTDIR=${PREFIX}|' ${WRKSRC}/Makefile
36
	@${REINPLACE_CMD} -e 's|<endian.h>|<sys/endian.h>| ; s|__BYTE|_BYTE|' ${WRKSRC}/au_channel.h
37
	@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure
36
	@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure
38
37
39
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)audio/blop/Makefile (-5 lines)
Lines 25-33 OPTIONS_SUB= yes Link Here
25
NLS_USES=	gettext
25
NLS_USES=	gettext
26
NLS_CONFIGURE_ENABLE=	nls
26
NLS_CONFIGURE_ENABLE=	nls
27
27
28
post-patch:
29
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
30
		's|$$(LIBS)$$|$$(LIBS) $$(LDFLAGS)|g ; \
31
		 s|-lc | |g'
32
33
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)audio/cmt/Makefile (-4 lines)
Lines 24-33 ALL_TARGET= targets Link Here
24
24
25
PLIST_FILES=	lib/ladspa/cmt.so
25
PLIST_FILES=	lib/ladspa/cmt.so
26
26
27
post-patch:
28
	@${FIND} ${BUILD_WRKSRC} -name '*.cpp' | ${XARGS} \
29
		${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
30
31
do-install:
27
do-install:
32
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ladspa
28
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ladspa
33
	${INSTALL_LIB} ${WRKSRC}/plugins/cmt.so ${STAGEDIR}${PREFIX}/lib/ladspa/
29
	${INSTALL_LIB} ${WRKSRC}/plugins/cmt.so ${STAGEDIR}${PREFIX}/lib/ladspa/
(-)audio/dpf-plugins-lv2/files/patch-dpf_Makefile.base.mk (-6 / +43 lines)
Lines 1-11 Link Here
1
--- dpf/Makefile.base.mk.orig	2019-02-28 18:07:46 UTC
1
--- dpf/Makefile.base.mk.orig	2019-07-07 08:30:45 UTC
2
+++ dpf/Makefile.base.mk
2
+++ dpf/Makefile.base.mk
3
@@ -90,7 +90,7 @@ endif
3
@@ -12,6 +12,8 @@ CXX ?= g++
4
 # Set build and link flags
4
 # Auto-detect OS if not defined
5
 
5
 
6
 BASE_FLAGS = -Wall -Wextra -pipe -MD -MP
6
 ifneq ($(BSD),true)
7
-BASE_OPTS  = -O3 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections
7
+ifneq ($(FREEBSD),true)
8
+BASE_OPTS  = -O3 -ffast-math $(SIMD_FLAGS) -fdata-sections -ffunction-sections
8
+ifneq ($(FREEBSDPPC),true)
9
 ifneq ($(HAIKU),true)
10
 ifneq ($(HURD),true)
11
 ifneq ($(LINUX),true)
12
@@ -22,6 +24,12 @@ TARGET_MACHINE := $(shell $(CC) -dumpmachine)
13
 ifneq (,$(findstring bsd,$(TARGET_MACHINE)))
14
 BSD=true
15
 endif
16
+ifneq (,$(findstring freebsd,$(TARGET_MACHINE)))
17
+FREEBSD=true
18
+ifneq (,$(findstring powerpc,$(TARGET_MACHINE)))
19
+FREEBSDPPC=true
20
+endif
21
+endif
22
 ifneq (,$(findstring haiku,$(TARGET_MACHINE)))
23
 HAIKU=true
24
 endif
25
@@ -44,6 +52,8 @@ endif
26
 endif
27
 endif
28
 endif
29
+endif
30
+endif
31
 
32
 # ---------------------------------------------------------------------------------------------------------------------
33
 # Set PKG_CONFIG (can be overridden by environment variable)
34
@@ -107,7 +117,13 @@ endif
9
 
35
 
36
 BASE_FLAGS = -Wall -Wextra -pipe -MD -MP
37
 BASE_OPTS  = -O3 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections
38
-
39
+ifeq ($(FREEBSD),true)
40
+ifeq ($(FREEBSDPPC),true)
41
+BASE_OPTS  = -O3 -ffast-math -fdata-sections -ffunction-sections
42
+else
43
+BASE_OPTS  = -O3 -ffast-math -msse -msse2 -fdata-sections -ffunction-sections
44
+endif
45
+endif
10
 ifeq ($(MACOS),true)
46
 ifeq ($(MACOS),true)
11
 # MacOS linker flags
47
 # MacOS linker flags
48
 LINK_OPTS  = -fdata-sections -ffunction-sections -Wl,-dead_strip -Wl,-dead_strip_dylibs
(-)audio/funktrackergold/Makefile (-2 / +2 lines)
Lines 13-20 COMMENT= Curses MOD/FNK music tracker Link Here
13
LICENSE=	GPLv2
13
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
15
16
BROKEN_armv6=		fails to compile: function definition is not allowed here
16
BROKEN_armv6=	fails to compile: function definition is not allowed here
17
BROKEN_armv7=		fails to compile: function definition is not allowed here
17
BROKEN_armv7=	fails to compile: function definition is not allowed here
18
18
19
USES=		compiler:nestedfct ncurses tar:tgz
19
USES=		compiler:nestedfct ncurses tar:tgz
20
20
(-)audio/funktrackergold/files/patch-Makefile (-10 / +10 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	Mon Jun 22 20:24:17 1998
1
--- Makefile.orig	2020-01-26 19:53:24 UTC
2
+++ Makefile	Sun Apr  1 20:44:19 2001
2
+++ Makefile
3
@@ -5,53 +5,10 @@
3
@@ -5,61 +5,18 @@
4
 # FunktrackerGOLD now comes under the GNU General Public License. Please
4
 # FunktrackerGOLD now comes under the GNU General Public License. Please
5
 # read the COPYING notice in this distribution.
5
 # read the COPYING notice in this distribution.
6
 ############################################################################
6
 ############################################################################
Lines 20-26 Link Here
20
-    OPTIONS += -DLinux
20
-    OPTIONS += -DLinux
21
-  endif
21
-  endif
22
-endif
22
-endif
23
-
23
+all: funkgold
24
 
24
-HOST_SAFE = 0
25
-HOST_SAFE = 0
25
-
26
-
26
-ifeq ($(HOSTTYPE),i386)
27
-ifeq ($(HOSTTYPE),i386)
Lines 39-45 Link Here
39
-  HOST_SAFE = 1
40
-  HOST_SAFE = 1
40
-endif
41
-endif
41
-
42
-
42
-###############################
43
 ###############################
43
-all:
44
-all:
44
-	@if [ $(HOST_SAFE) = '1' ]; then \
45
-	@if [ $(HOST_SAFE) = '1' ]; then \
45
-	  make funkgold; \
46
-	  make funkgold; \
Lines 53-63 Link Here
53
-	  echo "Refer to INSTALL file."; \
54
-	  echo "Refer to INSTALL file."; \
54
-	  echo "***********************************************"; \
55
-	  echo "***********************************************"; \
55
-	fi
56
-	fi
56
+all: funkgold
57
-
57
 
58
-###############################
58
 ###############################
59
 OBJ_FT		= dsp_mixxer.o funktracker.o funkload.o funkgold_misc.o \
59
 OBJ_FT		= dsp_mixxer.o funktracker.o funkload.o funkgold_misc.o \
60
@@ -59,7 +16,7 @@
60
 		funkgold_dir.o funkgold_sm.o funkgold_se.o funkgold_pe.o \
61
 		funkgold_trac.o funkgold.o
61
 		funkgold_trac.o funkgold.o
62
 
62
 
63
 funkgold: $(OBJ_FT)
63
 funkgold: $(OBJ_FT)
Lines 66-72 Link Here
66
 	strip funkgold
66
 	strip funkgold
67
 
67
 
68
 ###############################
68
 ###############################
69
@@ -69,7 +26,3 @@
69
@@ -69,7 +26,3 @@ clean:
70
 release:
70
 release:
71
 	make
71
 	make
72
 	rm -f *.o
72
 	rm -f *.o
(-)audio/funktrackergold/files/patch-dsp_mixxer.c (-50 lines)
Removed Link Here
1
--- dsp_mixxer.c.orig	Mon Jun 22 12:39:39 1998
2
+++ dsp_mixxer.c	Sat Jul 14 21:55:28 2007
3
@@ -15,15 +15,11 @@
4
 ***************************************************************************/
5
 #include <stdio.h>
6
 #include <math.h>
7
-#include <malloc.h>
8
+#include <stdlib.h>
9
 #include <unistd.h>
10
 #include <fcntl.h>
11
 #include <sys/ioctl.h>
12
-#ifdef Linux
13
- #include <sys/soundcard.h>
14
-#elif FreeBSD
15
- #include <machine/soundcard.h>
16
-#endif
17
+#include <sys/soundcard.h>
18
 #include "funktracker_defs.h"
19
 #include "funktracker.h"
20
 #include "funkload.h"
21
@@ -301,12 +297,12 @@
22
 
23
   for(sample_no = 0;sample_no < mix_buffer_size;sample_no++)
24
   {
25
-    if(chmix[chan_no].funkctrl & 0x2)
26
+    if(chmix[chan_no].funkctrl & 0x2) {
27
 #pragma pack(1)
28
       sam = *((sDB *)chmix[chan_no].sample_addr +
29
             (unsigned long)chmix[chan_no].sample_ptr);
30
 #pragma pack()
31
-    else
32
+    } else
33
       sam = 0;
34
 
35
 #ifdef DIGITAL_ECHOING
36
@@ -363,12 +359,12 @@
37
   shift_t = 8 + shift_table[funk_info.no_active_channels];
38
   for(sample_no = 0;sample_no < mix_buffer_size;sample_no++)
39
   {
40
-    if(chmix[chan_no].funkctrl & 0x2)
41
+    if(chmix[chan_no].funkctrl & 0x2) {
42
 #pragma pack(1)
43
       sam = *((sDW *)chmix[chan_no].sample_addr +
44
             (unsigned long)chmix[chan_no].sample_ptr);
45
 #pragma pack()
46
-    else
47
+    } else
48
       sam = 0;
49
 #ifdef DIGITAL_ECHOING
50
     sam_reverb = *(chmix[chan_no].echo_buffer +
(-)audio/funktrackergold/files/patch-funkgold__misc.c (-3 / +11 lines)
Lines 1-6 Link Here
1
--- funkgold_misc.c.orig	Thu Apr 14 17:48:48 2005
1
--- funkgold_misc.c.orig	2020-01-26 19:53:24 UTC
2
+++ funkgold_misc.c	Thu Apr 14 17:49:42 2005
2
+++ funkgold_misc.c
3
@@ -30,22 +30,7 @@
3
@@ -17,7 +17,6 @@
4
 #include <stdlib.h>
5
 #include <string.h>
6
 #include <sys/time.h>
7
-#include <malloc.h>
8
 #include "funktracker_defs.h"
9
 #include "dsp_mixxer.h"
10
 #include "funktracker.h"
11
@@ -30,22 +29,7 @@
4
 
12
 
5
 void get_environment(void)
13
 void get_environment(void)
6
 {
14
 {
(-)audio/funktrackergold/files/patch-headers (-53 lines)
Removed Link Here
1
--- ../funkgold-orig/funkgold.c	Sun Jun 21 22:10:54 1998
2
+++ funkgold.c	Sun Apr  1 17:53:18 2001
3
@@ -23,7 +23,7 @@
4
 ***************************************************************************/
5
 #include <curses.h>
6
 #include <unistd.h>
7
-#include <malloc.h>
8
+#include <stdlib.h>
9
 #include <string.h>
10
 #include <signal.h>
11
 #include <sys/time.h>
12
--- ../funkgold-orig/funkgold_dir.c	Wed Dec  2 22:01:23 1998
13
+++ funkgold_dir.c	Sun Apr  1 18:05:59 2001
14
@@ -18,7 +18,6 @@
15
 #include <unistd.h>
16
 #include <dirent.h>
17
 #include <sys/stat.h>
18
-#include <malloc.h>
19
 #include <string.h>
20
 #include <stdlib.h>
21
 #include "funktracker_defs.h"
22
--- ../funkgold-orig/funkgold_misc.c	Sun Jun 21 15:56:46 1998
23
+++ funkgold_misc.c	Sun Apr  1 17:53:30 2001
24
@@ -17,7 +17,6 @@
25
 #include <stdlib.h>
26
 #include <string.h>
27
 #include <sys/time.h>
28
-#include <malloc.h>
29
 #include "funktracker_defs.h"
30
 #include "dsp_mixxer.h"
31
 #include "funktracker.h"
32
--- ../funkgold-orig/funkgold_sm.c	Sun Jun 21 15:57:07 1998
33
+++ funkgold_sm.c	Sun Apr  1 17:53:44 2001
34
@@ -16,7 +16,7 @@
35
 ***************************************************************************/
36
 #include <curses.h>
37
 #include <unistd.h>
38
-#include <malloc.h>
39
+#include <stdlib.h>
40
 #include "funktracker_defs.h"
41
 #include "dsp_mixxer.h"
42
 #include "funktracker.h"
43
--- ../funkgold-orig/funkload.c	Sun Jun 21 15:57:21 1998
44
+++ funkload.c	Sun Apr  1 17:53:51 2001
45
@@ -15,7 +15,7 @@
46
 ***************************************************************************/
47
 #include <stdio.h>
48
 #include <string.h>
49
-#include <malloc.h>
50
+#include <stdlib.h>
51
 #include "funktracker_defs.h"
52
 #include "dsp_mixxer.h"
53
 #include "funktracker.h"
(-)audio/libcanberra/Makefile (-1 / +1 lines)
Lines 27-33 CPPFLAGS+= -I${LOCALBASE}/include Link Here
27
LDFLAGS+=	-L${LOCALBASE}/lib
27
LDFLAGS+=	-L${LOCALBASE}/lib
28
INSTALL_TARGET=	install-strip
28
INSTALL_TARGET=	install-strip
29
29
30
.if defined(SLAVEPORT)
30
.if !defined(SLAVEPORT)
31
OPTIONS_DEFINE=	PULSEAUDIO GSTREAMER
31
OPTIONS_DEFINE=	PULSEAUDIO GSTREAMER
32
.endif
32
.endif
33
33
(-)audio/osalp/Makefile (-7 lines)
Lines 27-39 PLIST_SUB= VERSION=${PORTVERSION} Link Here
27
27
28
CONFLICTS=	libaudiofile-[0-9]*
28
CONFLICTS=	libaudiofile-[0-9]*
29
29
30
post-patch:
31
	@${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} ${REINPLACE_CMD} -E \
32
	    's|iostream.h|iostream|; \
33
	     s|[[:space:]]cout| std::cout|g; \
34
	     s|[[:space:]]endl| std::endl|g; \
35
	     s|[[:space:]]cerr| std::cerr|g;'
36
37
post-install:
30
post-install:
38
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaflib-${PORTVERSION}.so \
31
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaflib-${PORTVERSION}.so \
39
	    ${STAGEDIR}${PREFIX}/lib/aflib/lib*-${PORTVERSION}.so
32
	    ${STAGEDIR}${PREFIX}/lib/aflib/lib*-${PORTVERSION}.so
(-)audio/osalp/files/patch-aflib_aflibMemCache.cc (+9 lines)
Lines 8-10 Link Here
8
 
8
 
9
 #include "aflibMemCache.h"
9
 #include "aflibMemCache.h"
10
 #include "aflibMemNode.h"
10
 #include "aflibMemNode.h"
11
@@ -559,7 +560,7 @@ aflibMemCache::fillDataFromCache(
12
    // IF we need data at the end then get the data
13
    if (num_samples != orig_num_samples)
14
    {
15
-      cerr << "NOT YET IMPLEMENTED!" << endl;
16
+      std::cerr << "NOT YET IMPLEMENTED!" << endl;
17
    }
18
 #endif
19
 
(-)audio/play/Makefile (-5 lines)
Lines 17-25 MAKE_ARGS= CFLAGS="${CFLAGS}" MANDIR="${PREFIX}/man/ja/man" BINDIR="${PREFIX}/bi Link Here
17
17
18
PLIST_FILES=	bin/play man/ja/man1/play.1.gz
18
PLIST_FILES=	bin/play man/ja/man1/play.1.gz
19
19
20
post-patch:
21
.for file in play_audio.c mixer_ctl.c encode_sun.c encode_riff.c speed.c
22
	@${REINPLACE_CMD} '/soundcard\.h/s,machine,sys,' ${WRKSRC}/${file}
23
.endfor
24
25
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)audio/pulseaudio/Makefile (-1 / +1 lines)
Lines 23-29 LIB_DEPENDS= libsndfile.so:audio/libsndfile \ Link Here
23
		libltdl.so:devel/libltdl \
23
		libltdl.so:devel/libltdl \
24
		libck-connector.so:sysutils/consolekit2
24
		libck-connector.so:sysutils/consolekit2
25
25
26
USES=		compiler:c11 cpe gettext gmake gnome iconv libtool \
26
USES=		compiler:c11 cpe gettext gmake gnome iconv libtool:build \
27
		pathfix pkgconfig python:run shebangfix ssl tar:xz xorg
27
		pathfix pkgconfig python:run shebangfix ssl tar:xz xorg
28
28
29
USE_GNOME=	glib20
29
USE_GNOME=	glib20
(-)audio/rawrec/Makefile (-4 lines)
Lines 22-31 MAKE_ARGS= CC="${CC}" CFLAGS="${CPPFLAGS} ${CFLAGS}" \ Link Here
22
22
23
PLIST_FILES=	bin/rawplay bin/rawrec share/man/man1/rawplay.1.gz share/man/man1/rawrec.1.gz
23
PLIST_FILES=	bin/rawplay bin/rawrec share/man/man1/rawplay.1.gz share/man/man1/rawrec.1.gz
24
24
25
post-patch:
26
	@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
27
		's|<linux/soundcard.h>|<sys/soundcard.h>|g'
28
29
do-install:
25
do-install:
30
	${INSTALL_PROGRAM} ${WRKSRC}/rawrec ${STAGEDIR}${PREFIX}/bin
26
	${INSTALL_PROGRAM} ${WRKSRC}/rawrec ${STAGEDIR}${PREFIX}/bin
31
	${LN} -sf rawrec ${STAGEDIR}${PREFIX}/bin/rawplay
27
	${LN} -sf rawrec ${STAGEDIR}${PREFIX}/bin/rawplay
(-)audio/spiralloops/Makefile (-17 lines)
Lines 27-49 DESKTOP_ENTRIES="SpiralLoops" "" "" "SpiralLoops" "" false Link Here
27
27
28
OPTIONS_DEFINE=	DOCS
28
OPTIONS_DEFINE=	DOCS
29
29
30
post-patch:
31
	${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.orig
32
	${SED} -E "s:-ldl::g; \
33
		s:^CFLAGS:XCFLAGS:g; \
34
		s:^CXXFLAGS:XCXXFLAGS:g; \
35
		s:-O3::g; \
36
		s:CFLAGS =:CFLAGS +=:g; \
37
		s:CXXFLAGS=:CXXFLAGS+=:g; \
38
		s:-lm:-lpthread -lm:g; \
39
		s:/usr/X11R6:${LOCALBASE}:g; \
40
		s:gcc:${CC}:; s:g\+\+:${CXX}:" \
41
		< ${WRKSRC}/Makefile.in.orig > ${WRKSRC}/Makefile.in
42
43
	@${FIND} ${WRKSRC} -type f -name "*.C" -o -name "*.cpp" -o -name "*.h" | ${XARGS} \
44
	   ${REINPLACE_CMD} -e '/^#include <FL/s|.h>$$|.H>|; /^#include "FL/s|.h"$$|.H"|; \
45
	   s|fl_file_chooser.H|Fl_File_Chooser.H|g; s|iostream.h|iostream|; s|fstream.h|fstream|'
46
47
do-install:
30
do-install:
48
	${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${STAGEDIR}${PREFIX}/bin
31
	${INSTALL_PROGRAM} ${WRKSRC}/SpiralLoops ${STAGEDIR}${PREFIX}/bin
49
32
(-)audio/spiralloops/files/patch-Fl_Knob.H (-12 lines)
Removed Link Here
1
patch by Stephen Paskaluk to enable compilation with fltk 1.1.2
2
3
--- GUI/Widgets/Fl_Knob.H.orig	Thu Apr 19 16:48:10 2001
4
+++ GUI/Widgets/Fl_Knob.H	Sat Mar  1 12:36:19 2003
5
@@ -4,6 +4,7 @@
6
 #define Fl_Knob_H
7
 #include <FL/Fl.H>
8
 #include <FL/Fl_Valuator.H>
9
+#include <FL/Fl_Group.H>
10
 
11
 class Fl_Knob : public Fl_Valuator {
12
 public:
(-)audio/spiralloops/files/patch-Fl_LED_Button.H (-12 lines)
Removed Link Here
1
patch by Stephen Paskaluk to enable compilation with fltk 1.1.2
2
3
--- GUI/Widgets/Fl_LED_Button.H.orig	Thu Apr 19 16:48:11 2001
4
+++ GUI/Widgets/Fl_LED_Button.H	Sat Mar  1 12:39:19 2003
5
@@ -4,6 +4,7 @@
6
 #define Fl_LED_Button_H
7
 #include <FL/Fl.H>
8
 #include <FL/Fl_Light_Button.H>
9
+#include <FL/Fl_Group.H>
10
 
11
 class Fl_LED_Button : public Fl_Light_Button {
12
 public:
(-)audio/spiralloops/files/patch-Fl_LED_Button.cxx (-20 lines)
Removed Link Here
1
--- GUI/Widgets/Fl_LED_Button.cxx.orig	Thu Apr 19 22:48:11 2001
2
+++ GUI/Widgets/Fl_LED_Button.cxx	Wed Nov 22 13:16:40 2006
3
@@ -3,7 +3,7 @@
4
 #include "Fl_LED_Button.H"
5
 #include <FL/fl_draw.H>
6
 
7
-Fl_LED_Button::Fl_LED_Button(int x, int y, int w, int h, const char* l=0):Fl_Light_Button(x,y,w,h,l) {
8
+Fl_LED_Button::Fl_LED_Button(int x, int y, int w, int h, const char* l):Fl_Light_Button(x,y,w,h,l) {
9
   box(FL_NO_BOX);
10
 	down_box(FL_ROUND_DOWN_BOX);
11
 	selection_color(FL_RED);
12
@@ -15,7 +15,7 @@
13
 void Fl_LED_Button::draw() {
14
   uchar r,g,b;
15
 
16
-	if (box()) draw_box(this==Fl::pushed() ? down(box()) : box(), color());
17
+	if (box()) draw_box(this==Fl::pushed() ? down_box() : box(), color());
18
 	Fl_Color col = value() ? selection_color() : color();
19
 	Fl::get_color((Fl_Color)selection_color(),r,g,b);
20
 	int d = h()/6;
(-)audio/spiralloops/files/patch-GUI-Widgets-Fl__Trigger.h (-12 lines)
Removed Link Here
1
--- GUI/Widgets/Fl_Trigger.h.orig	2001-04-20 00:48:10.000000000 +0400
2
+++ GUI/Widgets/Fl_Trigger.h	2014-02-13 05:50:41.290374838 +0400
3
@@ -24,6 +24,9 @@
4
 #ifndef TRIGGERWIDGET
5
 #define TRIGGERWIDGET
6
 
7
+using std::istream;
8
+using std::ostream;
9
+
10
 class Fl_Trigger : public Fl_Widget
11
 {
12
 public:
(-)audio/spiralloops/files/patch-GUI_OutputGUI.C (-3 / +12 lines)
Lines 1-6 Link Here
1
--- GUI/OutputGUI.C.orig	Wed Nov 22 13:13:17 2006
1
--- GUI/OutputGUI.C.orig	2001-04-19 20:48:10 UTC
2
+++ GUI/OutputGUI.C	Wed Nov 22 13:13:32 2006
2
+++ GUI/OutputGUI.C
3
@@ -26,7 +26,7 @@
3
@@ -18,7 +18,7 @@
4
 
5
 #include "OutputGUI.h"
6
 
7
-#include <FL/fl_file_chooser.h>
8
+#include <FL/Fl_File_Chooser.H>
9
 
10
 OutputGUI::OutputGUI(Output *o)
11
 {
12
@@ -26,7 +26,7 @@ OutputGUI::OutputGUI(Output *o)
4
 	if (!m_out) cerr<<"WARNING: Output not correctly set up"<<endl;
13
 	if (!m_out) cerr<<"WARNING: Output not correctly set up"<<endl;
5
 }
14
 }
6
 		
15
 		
(-)audio/spiralloops/files/patch-GUI_ScopeGUI.C (-3 / +3 lines)
Lines 1-5 Link Here
1
--- GUI/ScopeGUI.C.orig	Wed Nov 22 13:08:41 2006
1
--- GUI/ScopeGUI.C.orig	2001-04-19 20:48:11 UTC
2
+++ GUI/ScopeGUI.C	Wed Nov 22 13:10:26 2006
2
+++ GUI/ScopeGUI.C
3
@@ -23,7 +23,7 @@
3
@@ -23,7 +23,7 @@
4
 
4
 
5
 #include <FL/fl_draw.H>
5
 #include <FL/fl_draw.H>
Lines 9-15 Link Here
9
 Fl_Widget(x,y,w,h,l),
9
 Fl_Widget(x,y,w,h,l),
10
 m_Channels(1)
10
 m_Channels(1)
11
 {
11
 {
12
@@ -69,7 +69,7 @@
12
@@ -69,7 +69,7 @@ void ScopeGUI::Display(const short *data)
13
 	if (!m_Bypass) m_Scope->redraw();
13
 	if (!m_Bypass) m_Scope->redraw();
14
 }
14
 }
15
 		
15
 		
(-)audio/spiralloops/files/patch-GUI_Widgets_Fl__Knob.cxx (-2 / +2 lines)
Lines 1-5 Link Here
1
--- GUI/Widgets/Fl_Knob.cxx.orig	Wed Nov 22 13:14:11 2006
1
--- GUI/Widgets/Fl_Knob.cxx.orig	2001-04-19 20:48:10 UTC
2
+++ GUI/Widgets/Fl_Knob.cxx	Wed Nov 22 13:14:20 2006
2
+++ GUI/Widgets/Fl_Knob.cxx
3
@@ -4,7 +4,7 @@
3
@@ -4,7 +4,7 @@
4
 #include <FL/fl_draw.H>
4
 #include <FL/fl_draw.H>
5
 #include <math.h>
5
 #include <math.h>
(-)audio/spiralloops/files/patch-GUI_Widgets_Fl__Loop.C (-3 / +12 lines)
Lines 1-6 Link Here
1
--- GUI/Widgets/Fl_Loop.C.orig	Wed Nov 22 13:15:09 2006
1
--- GUI/Widgets/Fl_Loop.C.orig	2001-04-19 20:48:10 UTC
2
+++ GUI/Widgets/Fl_Loop.C	Wed Nov 22 13:15:18 2006
2
+++ GUI/Widgets/Fl_Loop.C
3
@@ -30,7 +30,7 @@
3
@@ -17,7 +17,7 @@
4
 */ 
5
 
6
 #include "Fl_Loop.h"
7
-#include <iostream.h>
8
+#include <iostream>
9
 #include <FL/fl_draw.H>
10
 #include <FL/x.H>
11
 #include <math.h>
12
@@ -30,7 +30,7 @@ static const float RADCONV = 0.017453292;
4
 static const int   INDW = 3; // indicator width
13
 static const int   INDW = 3; // indicator width
5
 static const int   UPDATECYCLES = 4;
14
 static const int   UPDATECYCLES = 4;
6
 
15
 
(-)audio/spiralloops/files/patch-GUI_Widgets_Fl__Loop.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- GUI/Widgets/Fl_Loop.h.orig	Wed Nov 22 13:00:49 2006
1
--- GUI/Widgets/Fl_Loop.h.orig	2001-04-19 20:48:10 UTC
2
+++ GUI/Widgets/Fl_Loop.h	Wed Nov 22 13:01:09 2006
2
+++ GUI/Widgets/Fl_Loop.h
3
@@ -18,7 +18,7 @@
3
@@ -18,7 +18,7 @@
4
 
4
 
5
 #include <FL/Fl.H>
5
 #include <FL/Fl.H>
(-)audio/spiralloops/files/patch-GUI_Widgets_Fl__Trigger.C (-2 / +11 lines)
Lines 1-5 Link Here
1
--- GUI/Widgets/Fl_Trigger.C.orig	Wed Nov 22 13:17:29 2006
1
--- GUI/Widgets/Fl_Trigger.C.orig	2001-05-07 20:43:34 UTC
2
+++ GUI/Widgets/Fl_Trigger.C	Wed Nov 22 13:17:36 2006
2
+++ GUI/Widgets/Fl_Trigger.C
3
@@ -17,7 +17,7 @@
4
 */ 
5
 
6
 #include "Fl_Trigger.h"
7
-#include <iostream.h>
8
+#include <iostream>
9
 #include <FL/fl_draw.H>
10
 #include <math.h>
11
 #include <stdio.h>
3
@@ -27,7 +27,7 @@
12
@@ -27,7 +27,7 @@
4
 
13
 
5
 static const float RADCONV = 0.017453292;
14
 static const float RADCONV = 0.017453292;
(-)audio/spiralloops/files/patch-Output.h (-20 lines)
Removed Link Here
1
--- ./SpiralSound/Output.h.orig	Sun Dec  1 15:38:45 2002
2
+++ ./SpiralSound/Output.h	Sun Dec  1 15:40:05 2002
3
@@ -20,16 +20,12 @@
4
 #include <stdio.h>
5
 #include <fcntl.h>
6
 #include <unistd.h>
7
-#if defined (__FreeBSD__)
8
-	#include <machine/soundcard.h>
9
-#else
10
 #if defined (__NetBSD__) || defined (__OpenBSD__)
11
 	#include <soundcard.h>            /* OSS emulation */
12
 #undef ioctl
13
-#else 	                              /* BSDI, Linux, Solaris */
14
+#else 	                              /* FreeBSD, BSDI, Linux, Solaris */
15
 	#include <sys/soundcard.h>
16
 #endif                                /* __NetBSD__ or __OpenBSD__ */
17
-#endif                                /* __FreeBSD__ */
18
 #include <sys/ioctl.h>
19
 #include <limits.h>
20
 
(-)audio/spiralloops/files/patch-SpiralLoops.C (-2 / +11 lines)
Lines 1-5 Link Here
1
--- SpiralLoops.C.orig	2001-04-19 20:48:11 UTC
1
--- SpiralLoops.C.orig	2001-04-19 20:48:11 UTC
2
+++ SpiralLoops.C
2
+++ SpiralLoops.C
3
@@ -20,7 +20,7 @@
4
 
5
 #include <FL/Fl.H>
6
 #include <FL/Enumerations.H>
7
-#include <FL/fl_file_chooser.h>
8
+#include <FL/Fl_File_Chooser.H>
9
 #include <fstream>
10
 #include <strstream>
11
 #include <string>
3
@@ -308,7 +308,7 @@ int Loops::LinkPlugin()
12
@@ -308,7 +308,7 @@ int Loops::LinkPlugin()
4
         Run     = (Sample *(*)()) dlsym(handle, "Run__Fv");
13
         Run     = (Sample *(*)()) dlsym(handle, "Run__Fv");
5
         
14
         
Lines 9-15 Link Here
9
         {
18
         {
10
         	cerr<<"Error linking to plugin:"<<endl;
19
         	cerr<<"Error linking to plugin:"<<endl;
11
 		    fputs(error, stderr);
20
 		    fputs(error, stderr);
12
@@ -467,7 +467,7 @@ inline void Loops::cb_Load_i(Fl_Button* 
21
@@ -467,7 +467,7 @@ inline void Loops::cb_Load_i(Fl_Button* o, void* v)
13
 {
22
 {
14
 	char *fn=fl_file_chooser("Load a Workspace", "*.lws", NULL);
23
 	char *fn=fl_file_chooser("Load a Workspace", "*.lws", NULL);
15
 		
24
 		
Lines 18-24 Link Here
18
 	{
27
 	{
19
 		ifstream inf(fn);
28
 		ifstream inf(fn);
20
 		
29
 		
21
@@ -504,7 +504,7 @@ inline void Loops::cb_Save_i(Fl_Button* 
30
@@ -504,7 +504,7 @@ inline void Loops::cb_Save_i(Fl_Button* o, void* v)
22
 {
31
 {
23
 	char *fn=fl_file_chooser("Save a Workspace", "*.lws", NULL);
32
 	char *fn=fl_file_chooser("Save a Workspace", "*.lws", NULL);
24
 		
33
 		
(-)audio/spiralloops/files/patch-SpiralSound_Output.C (-3 / +3 lines)
Lines 1-6 Link Here
1
--- SpiralSound/Output.C.orig	Wed Nov 22 13:07:18 2006
1
--- SpiralSound/Output.C.orig	2001-04-19 20:48:12 UTC
2
+++ SpiralSound/Output.C	Wed Nov 22 13:07:30 2006
2
+++ SpiralSound/Output.C
3
@@ -29,7 +29,7 @@
3
@@ -29,7 +29,7 @@ m_Channels(Channels)
4
 	m_Buffer.Zero();
4
 	m_Buffer.Zero();
5
 }
5
 }
6
 
6
 
(-)audio/spiralloops/files/patch-SpiralSound_RiffWav.C (-3 / +12 lines)
Lines 1-6 Link Here
1
--- SpiralSound/RiffWav.C.orig	Wed Nov 22 13:07:57 2006
1
--- SpiralSound/RiffWav.C.orig	2001-04-19 20:48:12 UTC
2
+++ SpiralSound/RiffWav.C	Wed Nov 22 13:08:07 2006
2
+++ SpiralSound/RiffWav.C
3
@@ -55,7 +55,7 @@
3
@@ -16,7 +16,7 @@
4
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
5
 */ 
6
 
7
-#include <iostream.h>
8
+#include <iostream>
9
 #include <fstream>
10
 #include <stdio.h>
11
 #include <stdlib.h>
12
@@ -55,7 +55,7 @@ WavFile::HeaderInfo::HeaderInfo() : RiffStr1("RIFF"),R
4
 #endif
13
 #endif
5
 }
14
 }
6
 
15
 
(-)audio/spiralloops/files/patch-SpiralSound_Sample.C (-2 / +2 lines)
Lines 1-5 Link Here
1
--- SpiralSound/Sample.C.orig	Wed Nov 22 13:02:12 2006
1
--- SpiralSound/Sample.C.orig	2001-04-19 20:48:13 UTC
2
+++ SpiralSound/Sample.C	Wed Nov 22 13:03:58 2006
2
+++ SpiralSound/Sample.C
3
@@ -18,9 +18,9 @@
3
@@ -18,9 +18,9 @@
4
 
4
 
5
 #include <string.h>
5
 #include <string.h>
(-)audio/spiralloops/files/patch-SpiralSound_Sample.h (-2 / +2 lines)
Lines 8-14 Link Here
8
 #include "SpiralInfo.h"
8
 #include "SpiralInfo.h"
9
 
9
 
10
 static const unsigned short UMAX_LEV  = 65535;
10
 static const unsigned short UMAX_LEV  = 65535;
11
@@ -63,13 +64,13 @@ public:
11
@@ -63,13 +64,13 @@ class Sample (public)
12
 	void Shrink(int Length);
12
 	void Shrink(int Length);
13
 	void CropTo(int NewLength);
13
 	void CropTo(int NewLength);
14
 
14
 
Lines 24-30 Link Here
24
 	{	
24
 	{	
25
 		assert(i>=0 && i<m_Length);
25
 		assert(i>=0 && i<m_Length);
26
 		// clip
26
 		// clip
27
@@ -79,7 +80,7 @@ public:
27
@@ -79,7 +80,7 @@ class Sample (public)
28
 		m_Data[i]=(short)v;
28
 		m_Data[i]=(short)v;
29
 	}	
29
 	}	
30
 	
30
 	
(-)audio/spiralloops/files/patch-SpiralSound_SpiralInfo.C (-3 / +11 lines)
Lines 1-6 Link Here
1
--- SpiralSound/SpiralInfo.C.orig	Wed Nov 22 13:05:47 2006
1
--- SpiralSound/SpiralInfo.C.orig	2001-04-19 20:48:13 UTC
2
+++ SpiralSound/SpiralInfo.C	Wed Nov 22 13:06:04 2006
2
+++ SpiralSound/SpiralInfo.C
3
@@ -22,7 +22,7 @@
3
@@ -16,13 +16,13 @@
4
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
5
 */
6
 
7
-#include <iostream.h>
8
-#include <fstream.h>
9
+#include <iostream>
10
+#include <fstream>
11
 #include <stdlib.h>
4
 
12
 
5
 #include "SpiralInfo.h"
13
 #include "SpiralInfo.h"
6
 
14
 
(-)audio/spiralloops/files/patch-SpiralSound_SpiralInfo.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- SpiralSound/SpiralInfo.h.orig	Wed Nov 22 12:59:01 2006
1
--- SpiralSound/SpiralInfo.h.orig	2001-04-19 20:48:12 UTC
2
+++ SpiralSound/SpiralInfo.h	Wed Nov 22 13:00:04 2006
2
+++ SpiralSound/SpiralInfo.h
3
@@ -16,13 +16,15 @@
3
@@ -16,13 +16,15 @@
4
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
4
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
5
 */
5
 */
(-)audio/spiralsynthmodular/Makefile (-30 lines)
Lines 29-64 OPTIONS_DEFINE= OPTIMIZED_CFLAGS Link Here
29
29
30
OPTIMIZED_CFLAGS_CFLAGS=-O3 -ffast-math
30
OPTIMIZED_CFLAGS_CFLAGS=-O3 -ffast-math
31
31
32
post-patch:
33
	@${REINPLACE_CMD} -E -e 's@(-O3|-ffast-math)@@g; \
34
		s|-Wall||; \
35
		s|CFLAGS="-pipe|CFLAGS="\$$\{CFLAGS\}|; \
36
		s|CXXFLAGS="-pipe|CXXFLAGS="\$$\{CXXFLAGS\}|; \
37
		s|^SpiralSound/Plugins/MidiPlugin/Makefile||; \
38
		s|MidiPlugin||' \
39
			${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
40
	@${REINPLACE_CMD} -e 's|-I/usr/X11R6/include|-I${LOCALBASE}/include|' \
41
		${WRKSRC}/SpiralSound/Plugins/LADSPAPlugin/Makefile.in
42
	@${REINPLACE_CMD} -e 's|O_SYNC|O_FSYNC|' \
43
		${WRKSRC}/SpiralSound/Midi.C
44
	@${REINPLACE_CMD} -e 's|True|true|; s|False|false|' \
45
		${WRKSRC}/SpiralSound/Plugins/MatrixPlugin/MatrixPlugin.C
46
	@${REINPLACE_CMD} -e 's|JackPort::||' \
47
		${WRKSRC}/SpiralSound/Plugins/JackPlugin/JackPlugin.h
48
	@${REINPLACE_CMD} -e 's|CVGUI::||' \
49
		${WRKSRC}/SpiralSound/Plugins/ControllerPlugin/ControllerPluginGUI.h
50
	@${REINPLACE_CMD} -e 's|Sample::||' \
51
		${WRKSRC}/SpiralSound/Sample.h
52
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -E -e \
53
		's,-l(dl|rt),,; s|g\+\+|$$(CXX)|; \
54
		/^(CC|CXX)[[:space:]]*=.+$$/d; \
55
		s,@FLTK_(C|CXX)FLAGS@,-I${LOCALBASE}/include,; \
56
		s,(bin|lib)dir),DESTDIR)$$(&,'
57
	@${FIND} ${WRKSRC} -type f -name "*.C" -o -name "*.cpp" -o -name "*.h" \
58
		| ${XARGS} ${REINPLACE_CMD} -e '/^#include <FL/s|.h>$$|.H>|; \
59
		/^#include "FL/s|.h"$$|.H"|; \
60
		s|fl_file_chooser.H|Fl_File_Chooser.H|g'
61
62
post-install:
32
post-install:
63
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
33
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
64
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/SpiralPlugins/*.so
34
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/SpiralPlugins/*.so
(-)audio/spiralsynthmodular/files/patch-SpiralSound_PluginManager.C (-2 / +2 lines)
Lines 1-6 Link Here
1
--- SpiralSound/PluginManager.C.orig	2003-08-08 13:07:30 UTC
1
--- SpiralSound/PluginManager.C.orig	2003-08-08 13:07:30 UTC
2
+++ SpiralSound/PluginManager.C
2
+++ SpiralSound/PluginManager.C
3
@@ -49,7 +49,7 @@ PluginID PluginManager::LoadPlugin(const
3
@@ -49,7 +49,7 @@ PluginID PluginManager::LoadPlugin(const char *PluginN
4
     }
4
     }
5
 		
5
 		
6
 	// Link the neccesary functions 
6
 	// Link the neccesary functions 
Lines 9-15 Link Here
9
 	
9
 	
10
 	NewPlugin->CreateInstance  = (SpiralPlugin*(*)()) dlsym(NewPlugin->Handle, "SpiralPlugin_CreateInstance"); 	
10
 	NewPlugin->CreateInstance  = (SpiralPlugin*(*)()) dlsym(NewPlugin->Handle, "SpiralPlugin_CreateInstance"); 	
11
 	
11
 	
12
@@ -98,7 +98,7 @@ void PluginManager::UnLoadPlugin(PluginI
12
@@ -98,7 +98,7 @@ void PluginManager::UnLoadPlugin(PluginID ID)
13
 	if (IsValid(ID))
13
 	if (IsValid(ID))
14
     {
14
     {
15
 		dlclose(GetPlugin(ID)->Handle);
15
 		dlclose(GetPlugin(ID)->Handle);
(-)audio/spiralsynthmodular/files/patch-SpiralSound_Plugins_LADSPAPlugin_LADSPAInfo.h (-1 / +1 lines)
Lines 1-6 Link Here
1
--- SpiralSound/Plugins/LADSPAPlugin/LADSPAInfo.h.orig	2003-06-05 18:26:42 UTC
1
--- SpiralSound/Plugins/LADSPAPlugin/LADSPAInfo.h.orig	2003-06-05 18:26:42 UTC
2
+++ SpiralSound/Plugins/LADSPAPlugin/LADSPAInfo.h
2
+++ SpiralSound/Plugins/LADSPAPlugin/LADSPAInfo.h
3
@@ -91,7 +91,7 @@ public:
3
@@ -91,7 +91,7 @@ class LADSPAInfo (public)
4
 		unsigned long   UniqueID;
4
 		unsigned long   UniqueID;
5
 		std::string     Name;
5
 		std::string     Name;
6
 
6
 
(-)audio/spiralsynthmodular/files/patch-SpiralSound_Plugins_OutputPlugin_OutputPlugin.C (+9 lines)
Lines 17-19 Link Here
17
 #else
17
 #else
18
 #if defined (__NetBSD__) || defined (__OpenBSD__)
18
 #if defined (__NetBSD__) || defined (__OpenBSD__)
19
 	#include <soundcard.h>            /* OSS emulation */
19
 	#include <soundcard.h>            /* OSS emulation */
20
@@ -41,7 +42,7 @@
21
 
22
 #include "OutputPlugin.h"
23
 #include "OutputPluginGUI.h"
24
-#include <FL/fl_file_chooser.H>
25
+#include <FL/Fl_File_Chooser.H>
26
 #include "SpiralIcon.xpm"
27
 
28
 using namespace std;
(-)audio/spiralsynthmodular/files/patch-SpiralSound_Plugins_PoshSamplerPlugin_PoshSamplerPluginGUI.C (-1 / +13 lines)
Lines 1-5 Link Here
1
--- SpiralSound/Plugins/PoshSamplerPlugin/PoshSamplerPluginGUI.C.orig	2018-08-01 05:59:24 UTC
1
--- SpiralSound/Plugins/PoshSamplerPlugin/PoshSamplerPluginGUI.C.orig	2003-08-08 17:55:51 UTC
2
+++ SpiralSound/Plugins/PoshSamplerPlugin/PoshSamplerPluginGUI.C
2
+++ SpiralSound/Plugins/PoshSamplerPlugin/PoshSamplerPluginGUI.C
3
@@ -17,9 +17,9 @@
4
 */
5
 
6
 #include "PoshSamplerPluginGUI.h"
7
-#include <FL/fl_draw.h>
8
 #include <FL/fl_draw.H>
9
-#include <FL/fl_file_chooser.h>
10
+#include <FL/fl_draw.H>
11
+#include <FL/Fl_File_Chooser.H>
12
 
13
 using namespace std;
14
 
3
@@ -502,7 +502,7 @@ inline void PoshSamplerPluginGUI::cb_Load_i(Fl_Button*
15
@@ -502,7 +502,7 @@ inline void PoshSamplerPluginGUI::cb_Load_i(Fl_Button*
4
 { 
16
 { 
5
 	char *fn=fl_file_chooser("Load a sample", "{*.wav,*.WAV}", NULL);
17
 	char *fn=fl_file_chooser("Load a sample", "{*.wav,*.WAV}", NULL);
(-)audio/spiralsynthmodular/files/patch-SpiralSound_Plugins_SpiralLoopPlugin_SpiralLoopPluginGUI.C (-1 / +13 lines)
Lines 1-5 Link Here
1
--- SpiralSound/Plugins/SpiralLoopPlugin/SpiralLoopPluginGUI.C.orig	2018-08-01 06:00:29 UTC
1
--- SpiralSound/Plugins/SpiralLoopPlugin/SpiralLoopPluginGUI.C.orig	2003-08-08 17:55:52 UTC
2
+++ SpiralSound/Plugins/SpiralLoopPlugin/SpiralLoopPluginGUI.C
2
+++ SpiralSound/Plugins/SpiralLoopPlugin/SpiralLoopPluginGUI.C
3
@@ -17,9 +17,9 @@
4
 */
5
 
6
 #include "SpiralLoopPluginGUI.h"
7
-#include <FL/fl_draw.h>
8
 #include <FL/fl_draw.H>
9
-#include <FL/fl_file_chooser.h>
10
+#include <FL/fl_draw.H>
11
+#include <FL/Fl_File_Chooser.H>
12
 
13
 using namespace std;
14
 
3
@@ -350,7 +350,7 @@ inline void SpiralLoopPluginGUI::cb_Load_i(Fl_Button* 
15
@@ -350,7 +350,7 @@ inline void SpiralLoopPluginGUI::cb_Load_i(Fl_Button* 
4
 {
16
 {
5
 	char *fn=fl_file_chooser("Load a sample", "{*.wav,*.WAV}", NULL);
17
 	char *fn=fl_file_chooser("Load a sample", "{*.wav,*.WAV}", NULL);
(-)audio/spiralsynthmodular/files/patch-SpiralSound_Plugins_StreamPlugin_StreamPluginGUI.C (-1 / +13 lines)
Lines 1-5 Link Here
1
--- SpiralSound/Plugins/StreamPlugin/StreamPluginGUI.C.orig	2018-08-01 06:01:08 UTC
1
--- SpiralSound/Plugins/StreamPlugin/StreamPluginGUI.C.orig	2003-08-08 17:55:52 UTC
2
+++ SpiralSound/Plugins/StreamPlugin/StreamPluginGUI.C
2
+++ SpiralSound/Plugins/StreamPlugin/StreamPluginGUI.C
3
@@ -17,9 +17,9 @@
4
 */
5
 
6
 #include "StreamPluginGUI.h"
7
-#include <FL/fl_draw.h>
8
 #include <FL/fl_draw.H>
9
-#include <FL/fl_file_chooser.h>
10
+#include <FL/fl_draw.H>
11
+#include <FL/Fl_File_Chooser.H>
12
 
13
 using namespace std;
14
 
3
@@ -220,7 +220,7 @@ void StreamPluginGUI::cb_Pos (Fl_Slider* o, void* v) {
15
@@ -220,7 +220,7 @@ void StreamPluginGUI::cb_Pos (Fl_Slider* o, void* v) {
4
 
16
 
5
 inline void StreamPluginGUI::cb_Load_i (Fl_Button* o, void* v) {
17
 inline void StreamPluginGUI::cb_Load_i (Fl_Button* o, void* v) {
(-)audio/spiralsynthmodular/files/patch-SpiralSynthModular.C (-5 / +14 lines)
Lines 1-9 Link Here
1
SpiralSynthModular.C:1016:14: error: comparison between pointer and integer ('char *' and 'int')
1
--- SpiralSynthModular.C.orig	2004-03-20 09:52:38 UTC
2
        if (fn && fn!='\0')
3
                  ~~^ ~~~~
4
5
--- SpiralSynthModular.C.orig	2018-08-01 05:55:58 UTC
6
+++ SpiralSynthModular.C
2
+++ SpiralSynthModular.C
3
@@ -27,9 +27,9 @@
4
 
5
 #include <FL/Fl.H>
6
 #include <FL/Enumerations.H>
7
-#include <FL/fl_file_chooser.h>
8
-#include <FL/Fl_Box.h>
9
-#include <FL/Fl_Tooltip.h>
10
+#include <FL/Fl_File_Chooser.H>
11
+#include <FL/Fl_Box.H>
12
+#include <FL/Fl_Tooltip.H>
13
 
14
 #include "SpiralSynthModular.h"
15
 #include "SpiralSound/PluginManager.h"
7
@@ -1013,7 +1013,7 @@ inline void SynthModular::cb_Load_i(Fl_Button* o, void
16
@@ -1013,7 +1013,7 @@ inline void SynthModular::cb_Load_i(Fl_Button* o, void
8
 
17
 
9
 	char *fn=fl_file_chooser("Load a patch", "*.ssm", NULL);
18
 	char *fn=fl_file_chooser("Load a patch", "*.ssm", NULL);
(-)audio/spiralsynthmodular/files/patch-gcc46 (-32 lines)
Removed Link Here
1
--- SpiralSound/ChannelHandler.C.orig	2003-02-21 00:51:15 UTC
2
+++ SpiralSound/ChannelHandler.C
3
@@ -19,6 +19,9 @@
4
 #include "ChannelHandler.h"
5
 #include <unistd.h>
6
 
7
+#include <cstdlib>
8
+#include <cstring>
9
+
10
 using namespace std;
11
 
12
 //#define CHANNEL_DEBUG
13
--- SpiralSound/Plugins/LADSPAPlugin/LADSPAInfo.C.orig	2003-08-08 17:58:26 UTC
14
+++ SpiralSound/Plugins/LADSPAPlugin/LADSPAInfo.C
15
@@ -30,6 +30,7 @@
16
 #include <stdio.h>
17
 
18
 #include <cstdlib>
19
+#include <cstring>
20
 #include <sys/types.h>
21
 #include <sys/stat.h>
22
 #include <dirent.h>
23
--- SpiralSound/Sample.h.orig	2003-07-22 22:08:41 UTC
24
+++ SpiralSound/Sample.h
25
@@ -23,6 +23,7 @@
26
 
27
 #include <assert.h>
28
 #include <limits.h>
29
+#include <cstring>
30
 #include <iostream>
31
 
32
 //#define DEBUG
(-)audio/squash/files/patch-src_play__flac.c (-11 / +11 lines)
Lines 9-15 Link Here
9
     /* errors?  we don't need no stinking errors */
9
     /* errors?  we don't need no stinking errors */
10
     return;
10
     return;
11
 }
11
 }
12
@@ -36,47 +36,26 @@ void flac_error_callback(const FLAC__Fil
12
@@ -36,47 +36,26 @@ void flac_error_callback(const FLAC__FileDecoder *deco
13
  */
13
  */
14
 void *flac_open( char *filename, sound_format_t *sound_format ) {
14
 void *flac_open( char *filename, sound_format_t *sound_format ) {
15
     flac_data_t *flac_data;
15
     flac_data_t *flac_data;
Lines 63-69 Link Here
63
             break;
63
             break;
64
     }
64
     }
65
 
65
 
66
@@ -86,7 +65,7 @@ void *flac_open( char *filename, sound_f
66
@@ -86,7 +65,7 @@ void *flac_open( char *filename, sound_format_t *sound
67
     flac_data->sample_rate = -1;
67
     flac_data->sample_rate = -1;
68
     flac_data->duration = -1;
68
     flac_data->duration = -1;
69
 
69
 
Lines 72-78 Link Here
72
 
72
 
73
     sound_format->rate = flac_data->sample_rate;
73
     sound_format->rate = flac_data->sample_rate;
74
     sound_format->channels = flac_data->channels;
74
     sound_format->channels = flac_data->channels;
75
@@ -97,12 +76,12 @@ void *flac_open( char *filename, sound_f
75
@@ -97,12 +76,12 @@ void *flac_open( char *filename, sound_format_t *sound
76
     return (void *)flac_data;
76
     return (void *)flac_data;
77
 }
77
 }
78
 
78
 
Lines 87-93 Link Here
87
     FLAC__StreamMetadata_VorbisComment comment = metadata->data.vorbis_comment;
87
     FLAC__StreamMetadata_VorbisComment comment = metadata->data.vorbis_comment;
88
     int i;
88
     int i;
89
     char *start, *end, *key, *value;
89
     char *start, *end, *key, *value;
90
@@ -128,7 +107,7 @@ void flac_metadata_callback_load_meta( c
90
@@ -128,7 +107,7 @@ void flac_metadata_callback_load_meta( const FLAC__Fil
91
     }
91
     }
92
 }
92
 }
93
 
93
 
Lines 96-102 Link Here
96
     flac_data_t *flac_data = (flac_data_t *)client_data;
96
     flac_data_t *flac_data = (flac_data_t *)client_data;
97
     int i, j, k;
97
     int i, j, k;
98
 
98
 
99
@@ -158,7 +137,7 @@ FLAC__StreamDecoderWriteStatus flac_writ
99
@@ -158,7 +137,7 @@ FLAC__StreamDecoderWriteStatus flac_write_callback_dec
100
     return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE;
100
     return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE;
101
 }
101
 }
102
 
102
 
Lines 105-111 Link Here
105
     flac_data_t *flac_data = (flac_data_t *)client_data;
105
     flac_data_t *flac_data = (flac_data_t *)client_data;
106
 
106
 
107
     if( metadata->type != FLAC__METADATA_TYPE_STREAMINFO ) {
107
     if( metadata->type != FLAC__METADATA_TYPE_STREAMINFO ) {
108
@@ -172,47 +151,29 @@ void flac_metadata_callback_decode_frame
108
@@ -172,47 +151,29 @@ void flac_metadata_callback_decode_frame( const FLAC__
109
 }
109
 }
110
 
110
 
111
 void flac_load_meta( void *data, char *filename ) {
111
 void flac_load_meta( void *data, char *filename ) {
Lines 122-128 Link Here
122
-    if( !FLAC__file_decoder_set_filename( decoder, filename ) ) {
122
-    if( !FLAC__file_decoder_set_filename( decoder, filename ) ) {
123
-        squash_error( "Unable to set filename in decoder" );
123
-        squash_error( "Unable to set filename in decoder" );
124
-    }
124
-    }
125
-
125
+    FLAC__stream_decoder_set_metadata_respond_all( decoder );
126
 
126
-    FLAC__file_decoder_set_metadata_callback( decoder, flac_metadata_callback_load_meta );
127
-    FLAC__file_decoder_set_metadata_callback( decoder, flac_metadata_callback_load_meta );
127
-    FLAC__file_decoder_set_metadata_respond_all( decoder );
128
-    FLAC__file_decoder_set_metadata_respond_all( decoder );
128
-
129
-
Lines 131-138 Link Here
131
-    FLAC__file_decoder_set_error_callback( decoder, flac_error_callback );
132
-    FLAC__file_decoder_set_error_callback( decoder, flac_error_callback );
132
-
133
-
133
-    FLAC__file_decoder_set_client_data( decoder, data );
134
-    FLAC__file_decoder_set_client_data( decoder, data );
134
+    FLAC__stream_decoder_set_metadata_respond_all( decoder );
135
-
135
 
136
-    state = FLAC__file_decoder_init( decoder );
136
-    state = FLAC__file_decoder_init( decoder );
137
+    state = FLAC__stream_decoder_init_file( decoder, filename,  flac_write_callback_load_meta, flac_metadata_callback_load_meta, flac_error_callback, data );
137
+    state = FLAC__stream_decoder_init_file( decoder, filename,  flac_write_callback_load_meta, flac_metadata_callback_load_meta, flac_error_callback, data );
138
     switch( state ) {
138
     switch( state ) {
Lines 164-170 Link Here
164
 
164
 
165
     return;
165
     return;
166
 }
166
 }
167
@@ -223,29 +184,27 @@ void flac_load_meta( void *data, char *f
167
@@ -223,29 +184,27 @@ void flac_load_meta( void *data, char *filename ) {
168
 frame_data_t flac_decode_frame( void *data ) {
168
 frame_data_t flac_decode_frame( void *data ) {
169
     flac_data_t *flac_data = (flac_data_t *)data;
169
     flac_data_t *flac_data = (flac_data_t *)data;
170
     frame_data_t frame_data;
170
     frame_data_t frame_data;
Lines 214-220 Link Here
214
     return;
214
     return;
215
 }
215
 }
216
 
216
 
217
@@ -277,9 +236,9 @@ void flac_seek( void *data, long seek_ti
217
@@ -277,9 +236,9 @@ void flac_seek( void *data, long seek_time, long durat
218
 void flac_close( void *data ) {
218
 void flac_close( void *data ) {
219
     flac_data_t *flac_data = (flac_data_t *)data;
219
     flac_data_t *flac_data = (flac_data_t *)data;
220
 
220
 
(-)audio/vitunes/Makefile (-1 / +1 lines)
Lines 18-27 LIB_DEPENDS= libtag.so:audio/taglib Link Here
18
18
19
USES=		ncurses
19
USES=		ncurses
20
ALL_TARGET=	vitunes
20
ALL_TARGET=	vitunes
21
MAKE_ARGS=	PREFIX=${PREFIX}
21
PLIST_FILES=	bin/vitunes man/man1/${PORTNAME}.1.gz
22
PLIST_FILES=	bin/vitunes man/man1/${PORTNAME}.1.gz
22
23
23
post-patch:
24
post-patch:
24
	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/Makefile
25
	@${REINPLACE_CMD} -e '27d' ${WRKSRC}/vitunes.h
25
	@${REINPLACE_CMD} -e '27d' ${WRKSRC}/vitunes.h
26
26
27
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)biology/avida/Makefile (-10 lines)
Lines 40-55 DATA_FILES= analyze.cfg avida.cfg default-gx.org \ Link Here
40
40
41
OPTIONS_DEFINE=	DOCS
41
OPTIONS_DEFINE=	DOCS
42
42
43
post-patch:
44
	@${FIND} ${WRKSRC} -name "CMakeLists.txt" | ${XARGS} \
45
		${REINPLACE_CMD} -e \
46
		's|-O[0-9]|| ; \
47
		 s| pthread| -pthread|'
48
	@${REINPLACE_CMD} -e '/long long int/s|std::abs|llabs|' \
49
		${WRKSRC}/avida-core/source/main/cPopulationInterface.cc
50
	@${REINPLACE_CMD} -e '/__PPC__/s|linux|${OPSYS}|' \
51
		${WRKSRC}/libs/tcmalloc-1.4/src/atomicops.h
52
53
pre-build:
43
pre-build:
54
.for exec in ${BIN_FILES}
44
.for exec in ${BIN_FILES}
55
	@(cd ${WRKSRC} && ${ECHO_CMD} \
45
	@(cd ${WRKSRC} && ${ECHO_CMD} \
(-)biology/avida/files/patch-avida-core__source__main__cGenomeUtil.cc (-18 lines)
Removed Link Here
1
--- avida-core/source/main/cGenomeUtil.cc.orig
2
+++ avida-core/source/main/cGenomeUtil.cc
3
@@ -214,7 +214,14 @@
4
  */
5
 void cGenomeUtil::RandomShuffle(cAvidaContext& ctx, Sequence& genome) {
6
 	std::vector<int> idx(static_cast<std::size_t>(genome.GetSize()));
7
-	std::iota(idx.begin(), idx.end(), 0);
8
+
9
+	std::vector<int>::iterator idx_it = idx.begin();
10
+	int value = 0;
11
+	while (idx_it != idx.end()) {
12
+		*idx_it++ = value;
13
+		++value;
14
+	}
15
+
16
 	cRandomStdAdaptor rng(ctx.GetRandom());
17
 	std::random_shuffle(idx.begin(), idx.end(), rng);
18
 	Sequence shuffled(genome.GetSize());
(-)biology/avida/files/patch-avida-core__source__tools__tArray.h (-10 lines)
Removed Link Here
1
--- avida-core/source/tools/tArray.h.orig
2
+++ avida-core/source/tools/tArray.h
3
@@ -23,6 +23,7 @@
4
 #ifndef tArray_h
5
 #define tArray_h
6
 
7
+#include <cstdlib>
8
 #include <cassert>
9
 
10
 #ifndef NULL
(-)biology/avida/files/patch-libs__tcmalloc-1.4__src__malloc_extension.cc (-10 lines)
Removed Link Here
1
--- libs/tcmalloc-1.4/src/malloc_extension.cc.orig
2
+++ libs/tcmalloc-1.4/src/malloc_extension.cc
3
@@ -57,6 +57,7 @@
4
 #include <string.h>
5
 #include <stdio.h>
6
 #include <stdlib.h>
7
+#include <pthread.h>
8
 #if defined HAVE_STDINT_H
9
 #include <stdint.h>
10
 #elif defined HAVE_INTTYPES_H
(-)biology/avida/files/patch-libs_apto_include_apto_core_Atomic.h (-1 / +1 lines)
Lines 1-6 Link Here
1
--- libs/apto/include/apto/core/Atomic.h.orig	2012-09-29 03:33:38 UTC
1
--- libs/apto/include/apto/core/Atomic.h.orig	2012-09-29 03:33:38 UTC
2
+++ libs/apto/include/apto/core/Atomic.h
2
+++ libs/apto/include/apto/core/Atomic.h
3
@@ -88,6 +88,25 @@ inline void Apto::Atomic::Set(volatile i
3
@@ -88,6 +88,25 @@ inline void Apto::Atomic::Set(volatile int* atomic, in
4
   *atomic = value;
4
   *atomic = value;
5
 }
5
 }
6
 
6
 
(-)biology/lagan/Makefile (-10 lines)
Lines 44-59 SCRIPTUTILS= cmerge2.pl draft.pl mextract.pl mf2bin.pl mpretty.pl \ Link Here
44
READMES=	README.FIRST README.chaos README.lagan README.mlagan \
44
READMES=	README.FIRST README.chaos README.lagan README.mlagan \
45
		README.tools README.shuffle
45
		README.tools README.shuffle
46
46
47
post-patch:
48
	@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
49
		'/^CC/s|^|#| ; \
50
		 /^CFLAGS/s|^|#| ; \
51
		 s|$$(CC) -o|$$(CC) $$(CFLAGS) -o| ; \
52
		 s|$$(CPP) -o|$$(CXX) $$(CXXFLAGS) -o| ; \
53
		 s|$$(CLINKER) $$(OPTFLAGS)|$$(CXX) $$(LDFLAGS)|'
54
	@${FIND} ${WRKSRC}/src -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
55
		's|^inline |static inline |'
56
57
do-install:
47
do-install:
58
	@${MKDIR} ${STAGEDIR}${LAGAN_DIR}
48
	@${MKDIR} ${STAGEDIR}${LAGAN_DIR}
59
.for exe in ${EXECUTABLES}
49
.for exe in ${EXECUTABLES}
(-)biology/lagan/files/patch-src__glocal__rightinfluence.cpp (-33 lines)
Removed Link Here
1
--- src/glocal/rightinfluence.cpp.orig	2006-09-14 20:40:19 UTC
2
+++ src/glocal/rightinfluence.cpp
3
@@ -1,6 +1,6 @@
4
 #include <rightinfluence.h>
5
 
6
-Fragment origin, end;
7
+Fragment origin, my_end;
8
 
9
 // Sets the first default owner of the whole region
10
 void initRI(RI *RightInfluence, long long int scoreIndex) {
11
@@ -18,17 +18,17 @@ void initRI(RI *RightInfluence, long lon
12
 
13
 	// hack to aid winner selection
14
 	origin.score = -1;
15
-	end.score = -2;
16
-	origin.totalScore = end.totalScore = 0;
17
+	my_end.score = -2;
18
+	origin.totalScore = my_end.totalScore = 0;
19
 
20
 	// will win against anyone
21
-	end.seq1End = 0; end.seq2End = 0;
22
-	end.seq1Start = 0; end.seq2Start = 0;
23
+	my_end.seq1End = 0; my_end.seq2End = 0;
24
+	my_end.seq1Start = 0; my_end.seq2Start = 0;
25
 
26
 	origin.back = NULL;
27
 
28
     RightInfluence->act[-INF] = &origin;
29
-    RightInfluence->act[+INF] = &end;
30
+    RightInfluence->act[+INF] = &my_end;
31
 }
32
 
33
 
(-)biology/lagan/files/patch-src__glocal__score.cpp (-11 lines)
Removed Link Here
1
--- src/glocal/score.cpp.orig	2006-09-14 20:40:19 UTC
2
+++ src/glocal/score.cpp
3
@@ -2,7 +2,7 @@
4
 #include<score.h>
5
 #include<leftinfluence.h>
6
 #include<rightinfluence.h>
7
-#include<fstream.h>
8
+#include<fstream>
9
 
10
 extern vector<class Score*> scoreFunctions[1<<(UPSTRANDBITS+DOWNSTRANDBITS+RELPOSBITS)];
11
 
(-)biology/lagan/files/patch-src__utils__Glue.cpp (-10 lines)
Removed Link Here
1
--- src/utils/Glue.cpp.orig	2006-09-14 20:40:18 UTC
2
+++ src/utils/Glue.cpp
3
@@ -6,6 +6,7 @@
4
 #include <fstream>
5
 #include <iostream>
6
 #include <algorithm>
7
+#include <cstring>
8
 
9
 #define NUCLEOTIDE_MATRIX_FILE "nucmatrix.txt"
10
 #define MAX_LINE_LENGTH 1024
(-)biology/lagan/files/patch-src_anchors.c (-2 / +2 lines)
Lines 1-4 Link Here
1
--- src/anchors.c.orig	2016-05-11 21:46:55 UTC
1
--- src/anchors.c.orig	2006-09-14 20:40:19 UTC
2
+++ src/anchors.c
2
+++ src/anchors.c
3
@@ -225,7 +225,7 @@ char* rolltonum(char* str) {
3
@@ -225,7 +225,7 @@ char* rolltonum(char* str) {
4
   return &str[i];
4
   return &str[i];
Lines 9-15 Link Here
9
   char temp[1024];
9
   char temp[1024];
10
   char* help;
10
   char* help;
11
   int z, h;
11
   int z, h;
12
@@ -248,7 +248,7 @@ hll* parseCHAOS(FILE* infile, int* totnu
12
@@ -248,7 +248,7 @@ hll* parseCHAOS(FILE* infile, int* totnum) {
13
   *totnum = 0;
13
   *totnum = 0;
14
   while(!feof(infile)) {
14
   while(!feof(infile)) {
15
     tt = (hll*) malloc(sizeof(hll));
15
     tt = (hll*) malloc(sizeof(hll));
(-)biology/phyml/Makefile (-9 / +1 lines)
Lines 19-25 USE_GITHUB= yes Link Here
19
GH_ACCOUNT=	stephaneguindon
19
GH_ACCOUNT=	stephaneguindon
20
20
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
CONFIGURE_ARGS=	--disable-beagle --disable-native
22
CONFIGURE_ARGS=	--disable-native
23
23
24
PLIST_FILES=	bin/phyml${BIN_SUFFIX}
24
PLIST_FILES=	bin/phyml${BIN_SUFFIX}
25
PORTDOCS=	*
25
PORTDOCS=	*
Lines 45-58 CONFIGURE_ARGS+= --disable-mpi Link Here
45
BIN_SUFFIX=		# none
45
BIN_SUFFIX=		# none
46
.endif
46
.endif
47
47
48
post-patch:
49
	@${REINPLACE_CMD} -e \
50
		's|-O2 .* $${ARCH_flag}|$${CFLAGS}|' ${WRKSRC}/configure.ac
51
.if ${ARCH} != amd64 && ${ARCH} != i386
52
	@${REINPLACE_CMD} -e 's|VECTOR_FLAG=-march=native|dnl &|' ${WRKSRC}/configure.ac
53
.endif
54
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/utilities.h
55
56
post-install-DOCS-on:
48
post-install-DOCS-on:
57
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
49
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
58
	(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.pdf \
50
	(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.pdf \
(-)biology/wise/Makefile (-12 lines)
Lines 43-60 PLIST_FILES= ${BINFILES:S,^,bin/,} ${DATAFILES:S,^,%%DATADIR%%/,} Link Here
43
43
44
OPTIONS_DEFINE=	DOCS EXAMPLES
44
OPTIONS_DEFINE=	DOCS EXAMPLES
45
45
46
post-patch:
47
	@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \
48
		${REINPLACE_CMD} -e \
49
		's|^CC =|CC ?=| ; \
50
		 s|^CFLAGS =|CFLAGS +=| ; \
51
		 s|-O[0-9] | | ; \
52
		 s|-g | | ; \
53
		 s|-g[0-9] | | ; \
54
		 s|-lpthread|-pthread| ; \
55
		 s|glib-config|pkg-config glib-2.0| ; \
56
		 /welcome.csh/s|^|#|'
57
58
do-install:
46
do-install:
59
	(cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${BINFILES} \
47
	(cd ${BUILD_WRKSRC}/bin && ${INSTALL_PROGRAM} ${BINFILES} \
60
		${STAGEDIR}${PREFIX}/bin)
48
		${STAGEDIR}${PREFIX}/bin)
(-)cad/alliance/Makefile (-10 lines)
Lines 43-58 WRKSRC= ${WRKDIR}/alliance/src Link Here
43
43
44
ALLIANCE_TOP=	${PREFIX}/alliance
44
ALLIANCE_TOP=	${PREFIX}/alliance
45
45
46
post-patch:
47
	@${REINPLACE_CMD} -e '/include <malloc.h>/d' \
48
		${WRKSRC}/xgra/src/XSB_parse.c
49
	# These Makefiles contain hardcoded references to make(1). Replace them with
50
	# gmake(1) to avoid build failures of the documentation.
51
	@${REINPLACE_CMD} -e 's/; make/; gmake/' \
52
		${WRKSRC}/documentation/Makefile.am \
53
		${WRKSRC}/documentation/alliance-examples/Makefile \
54
		${WRKSRC}/documentation/tutorials/Makefile.am
55
56
pre-configure:
46
pre-configure:
57
	@cd ${WRKSRC} && ./autostuff
47
	@cd ${WRKSRC} && ./autostuff
58
48
(-)cad/gnucap/Makefile (-5 / +10 lines)
Lines 22-43 USE_LDCONFIG= yes Link Here
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	prefix=${STAGEDIR}${PREFIX}
23
CONFIGURE_ENV=	prefix=${STAGEDIR}${PREFIX}
24
24
25
MAKE_ARGS=	CCFLAGS="${CXXFLAGS}" CCC=c++
25
MAKE_ARGS=	CCC=c++ \
26
		CCFLAGS="${CXXFLAGS}"
26
CXXFLAGS+=	-fPIC -I${PREFIX}/include -I${WRKSRC}/include
27
CXXFLAGS+=	-fPIC -I${PREFIX}/include -I${WRKSRC}/include
27
ALL_TARGET=	gnucap
28
ALL_TARGET=	gnucap
28
29
29
PLIST_FILES=	bin/gnucap bin/gnucap-modelgen \
30
PLIST_FILES=	bin/gnucap \
31
		bin/gnucap-modelgen \
30
		lib/libgnucap-default-plugins.so \
32
		lib/libgnucap-default-plugins.so \
31
		lib/libgnucap.so
33
		lib/libgnucap.so
32
34
33
PORTDOCS=	README
35
PORTDOCS=	README
34
EXAMPLES=	runl *c *.ckt *.doc
36
EXAMPLES=	*.ckt *.doc *c runl
35
37
36
OPTIONS_DEFINE=	DOCS
38
OPTIONS_DEFINE=	DOCS
37
39
38
post-patch:
40
post-patch:
39
	${FIND} -s ${WRKSRC} -name 'configure'|${XARGS} \
41
	@${REINPLACE_CMD} 's/%%CXX%%/${CXX}/g' \
40
		${REINPLACE_CMD} -e 's|g++|${CXX}|g'
42
		${WRKSRC}/main/configure \
43
		${WRKSRC}/apps/configure \
44
		${WRKSRC}/modelgen/configure \
45
		${WRKSRC}/lib/configure
41
46
42
do-install:
47
do-install:
43
	${INSTALL_PROGRAM} ${WRKSRC}/main/O/gnucap ${WRKSRC}/modelgen/O/gnucap-modelgen \
48
	${INSTALL_PROGRAM} ${WRKSRC}/main/O/gnucap ${WRKSRC}/modelgen/O/gnucap-modelgen \
(-)cad/kicad/Makefile (-3 / +5 lines)
Lines 23-31 LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ Link Here
23
23
24
CONFLICTS=	kicad-devel-r201*
24
CONFLICTS=	kicad-devel-r201*
25
25
26
USE_GITHUB=	yes
26
USE_GITLAB=	yes
27
GH_ACCOUNT=	KiCad
27
GL_ACCOUNT=	kicad
28
GH_PROJECT=	kicad-source-mirror
28
GL_PROJECT=	code/kicad
29
GL_COMMIT=      bd23d003d219cb513b01feb4d9763879c9248f53
30
WRKSRC=		${WRKDIR}/${PORTNAME}-${GL_COMMIT}-${GL_COMMIT}
29
31
30
USES=		cmake:noninja compiler:c++11-lib desktop-file-utils gl \
32
USES=		cmake:noninja compiler:c++11-lib desktop-file-utils gl \
31
		gnome pkgconfig python:3.5+ shared-mime-info shebangfix ssl \
33
		gnome pkgconfig python:3.5+ shared-mime-info shebangfix ssl \
(-)cad/kicad/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1589226804
1
TIMESTAMP = 1599528435
2
SHA256 (KiCad-kicad-source-mirror-5.1.6_GH0.tar.gz) = caf54b256f17171d4be57c1905ab6a0d3bce1de7226e1f9b152c6501507cad52
2
SHA256 (kicad-code/kicad-bd23d003d219cb513b01feb4d9763879c9248f53_GL0.tar.gz) = 9d444a7002a2e1a52e79dd08143b2f271801930f6972dcddd9263989de6bd7f5
3
SIZE (KiCad-kicad-source-mirror-5.1.6_GH0.tar.gz) = 23789922
3
SIZE (kicad-code/kicad-bd23d003d219cb513b01feb4d9763879c9248f53_GL0.tar.gz) = 28805890
(-)cad/solvespace/Makefile (-1 / +1 lines)
Lines 6-12 DISTVERSIONPREFIX= v Link Here
6
PORTREVISION=	5
6
PORTREVISION=	5
7
CATEGORIES=	cad
7
CATEGORIES=	cad
8
8
9
MAINTAINER=	swills@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Parametric 2d/3d CAD
10
COMMENT=	Parametric 2d/3d CAD
11
11
12
LICENSE=	GPLv3+
12
LICENSE=	GPLv3+
(-)chinese/lunar/Makefile (+2 lines)
Lines 12-17 COMMENT= Convert between Gregorian Solar Calendar (SC) and Lunar Calendar (LC) Link Here
12
12
13
ALL_TARGET=
13
ALL_TARGET=
14
14
15
PLIST_FILES=	bin/lunar man/man1/lunar.1.gz share/chinese/lunar.bitmap
16
15
do-install:
17
do-install:
16
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/chinese
18
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/chinese
17
	${INSTALL_PROGRAM} ${WRKSRC}/lunar ${STAGEDIR}${PREFIX}/bin
19
	${INSTALL_PROGRAM} ${WRKSRC}/lunar ${STAGEDIR}${PREFIX}/bin
(-)chinese/lunar/files/patch-Makefile (-2 / +2 lines)
Lines 1-5 Link Here
1
--- Makefile.orig	Mon Aug 10 21:14:48 1992
1
--- Makefile.orig	2020-01-26 19:55:51 UTC
2
+++ Makefile	Tue Feb  4 01:20:50 1997
2
+++ Makefile
3
@@ -1,6 +1,8 @@
3
@@ -1,6 +1,8 @@
4
 # Makefile of LUNAR
4
 # Makefile of LUNAR
5
 
5
 
(-)chinese/lunar/files/patch-lunar.1 (-4 / +4 lines)
Lines 1-6 Link Here
1
--- lunar.1.orig	Tue Aug 11 12:14:48 1992
1
--- lunar.1.orig	2020-01-26 19:55:51 UTC
2
+++ lunar.1	Tue Feb 26 21:00:38 2002
2
+++ lunar.1
3
@@ -4,13 +4,15 @@
3
@@ -4,13 +4,15 @@ lunar (version 2.1) \- a calendar conversion utility
4
 .SH SYNTAX
4
 .SH SYNTAX
5
 .B lunar
5
 .B lunar
6
 [
6
 [
Lines 20-26 Link Here
20
 ]
20
 ]
21
 .I year month day
21
 .I year month day
22
 [
22
 [
23
@@ -56,14 +58,16 @@
23
@@ -56,14 +58,16 @@ For example, "jia-zi" is 1, "yi-chou" is 2, and so on.
24
 The ganzhi of the j-th leap month is the same as that of the j-th month.
24
 The ganzhi of the j-th leap month is the same as that of the j-th month.
25
 
25
 
26
 The possible options are
26
 The possible options are
(-)chinese/lunar/files/patch-lunar.c_1 (-22 lines)
Removed Link Here
1
--- lunar.c.orig	Mon Aug 10 21:14:48 1992
2
+++ lunar.c	Tue Feb  4 01:04:18 1997
3
@@ -60,6 +60,10 @@
4
 #define	GanBM	4
5
 #define	ZhiBM	14
6
 
7
+#ifndef BITMAPFILE
8
+#define BITMAPFILE "lunar.bitmap"
9
+#endif
10
+
11
 typedef struct {
12
 int year, month, day, hour, weekday;
13
 int leap;	/* the lunar month is a leap month */
14
@@ -124,7 +128,7 @@
15
 
16
 int	showHZ = 0;			/* output in hanzi */
17
 int	showBM = 0;			/* output in bitmap */
18
-char	BMfile[] = "lunar.bitmap";	/* bit map file */
19
+char	BMfile[] = BITMAPFILE;	/* bit map file */
20
 char	GZBM[NBM][BMRow][BMCol];	/* the bitmap array */
21
 char	*progname;
22
 
(-)chinese/lunar/files/patch-lunar.c_2 (-120 lines)
Removed Link Here
1
--- lunar.c.orig	Tue Feb 26 20:54:23 2002
2
+++ lunar.c	Tue Feb 26 21:01:38 2002
3
@@ -118,6 +118,26 @@
4
     "ËÄ", "Îå", "Áù"
5
 };
6
 
7
+static	char	*GanBIG5[] = {
8
+    "¥Ò", "¤A", "¤þ", "¤B", "¥³",
9
+    "¤v", "©°", "¨¯", "¤Ð", "¬Ñ"
10
+};
11
+
12
+static	char	*ZhiBIG5[] = {
13
+    "¤l", "¤¡", "±G", "¥f", "¨°", "¤x",
14
+    "¤È", "¥¼", "¥Ó", "¨»", "¦¦", "¥è"
15
+};
16
+
17
+static	char   *ShengXiaoBIG5[] = {
18
+    "¹«", "¤û", "ªê", "¨ß", "Às", "³D",
19
+    "°¨", "¦Ï", "µU", "Âû", "ª¯", "½Þ"
20
+};
21
+
22
+static char *weekdayBIG5[] = {
23
+    "¤é", "¤@", "¤G", "¤T",
24
+    "¥|", "¤­", "¤»"
25
+};
26
+
27
 
28
 Date solar, lunar, gan, zhi, gan2, zhi2, lunar2;
29
 
30
@@ -127,6 +147,7 @@
31
 int jieAlert;		/* if there is uncertainty in JieQi calculation */
32
 
33
 int	showHZ = 0;			/* output in hanzi */
34
+int	showB5 = 0;			/* output in big5 */
35
 int	showBM = 0;			/* output in bitmap */
36
 char	BMfile[] = BITMAPFILE;	/* bit map file */
37
 char	GZBM[NBM][BMRow][BMCol];	/* the bitmap array */
38
@@ -139,7 +160,7 @@
39
 void	CalGZ();
40
 int	JieDate(), JieDate();
41
 void    readBM(), display3();
42
-void	Report(), ReportE(), ReportBM(), ReportGB();
43
+void	Report(), ReportE(), ReportBM(), ReportGB(), ReportBIG5();
44
 void	usage(), Error();
45
 
46
 
47
@@ -162,6 +183,7 @@
48
 	    case 'l': if (inverse) leap=1; else usage(); break;
49
 	    case 'h': showHZ = 1; break;
50
 	    case 'b': showBM = 1; break;
51
+	    case '5': showB5 = 1; break;
52
 	    default:  usage(); break;
53
 	}
54
     }
55
@@ -213,13 +235,14 @@
56
 void usage()
57
 {
58
     printf("Usage:\n\n");
59
-    printf("Solar->Lunar:\t%s [-h] [-b] year month day [hour]\n", progname);
60
+    printf("Solar->Lunar:\t%s [-h] [-5] [-b] year month day [hour]\n", progname);
61
     printf("\t\t(in Solar Calendar, 24 hour clock)\n\n");
62
-    printf("Lunar->Solar:\t%s [-h] [-b] -i [-l] year month day [hour]\n",
63
+    printf("Lunar->Solar:\t%s [-h] [-5] [-b] -i [-l] year month day [hour]\n",
64
 	   progname);
65
     printf("\t\t(in Lunar Calendar, 24 hour clock)\n");
66
     printf("\t\t-l means the month is a leap month (\"run4 yue4\")\n\n");
67
     printf("\t\t-h means output in hanzi (GB)\n");
68
+    printf("\t\t-5 means output in traditional chinese(BIG5)\n");
69
     printf("\t\t-b means output in \"bitmap\"\n\n");
70
     printf("Date range: about %d years from the Solar Date %d.%d.%d\n", Nyear,
71
 	   SolarFirstDate.year, SolarFirstDate.month, SolarFirstDate.day);
72
@@ -578,6 +601,8 @@
73
 {
74
     if (showHZ)
75
 	ReportGB();
76
+    else if (showB5)
77
+	ReportBIG5();
78
     else if (showBM)
79
 	ReportBM();
80
     else
81
@@ -614,6 +639,39 @@
82
 	if (lunar2.month==1)
83
 	    printf("* %s\n", "ÄêÖùÒà¿ÉÄÜÒªÐÞ¸Ä");
84
 	printf("* %s\n", "Çë²éÓнÚÆøʱ¼äÖ®ÍòÄêÀú");
85
+    }
86
+}
87
+
88
+
89
+void ReportBIG5()
90
+{
91
+    printf("%s%d%s%2d%s%2d%s%2d%s%s%s\n", "¶§¾ú¡G¡@",
92
+	   solar.year, "¦~", solar.month, "¤ë", solar.day,
93
+	   "¤é", solar.hour, "®É¡@",
94
+	   "¬P´Á", weekdayBIG5[solar.weekday]); 
95
+    printf("%s%d%s%s%2d%s%2d%s%s%s%s%s\n", "³±¾ú¡G¡@",
96
+	   lunar.year, "¦~", (lunar.leap? "¶|":""),
97
+	   lunar.month, "¤ë", lunar.day, "¤é", 
98
+	   ZhiBIG5[zhi.hour], "®É¡@",
99
+	   "¥Í¨vÄÝ", ShengXiaoBIG5[zhi.year]);
100
+    printf("%s%s%s%s%s%s%s%s%s%s%s%s%s\n", "¤z¤ä¡G¡@",
101
+	   GanBIG5[gan.year], ZhiBIG5[zhi.year], "¦~¡@",
102
+	   GanBIG5[gan.month], ZhiBIG5[zhi.month], "¤ë¡@",
103
+	   GanBIG5[gan.day], ZhiBIG5[zhi.day], "¤é¡@",
104
+	   GanBIG5[gan.hour], ZhiBIG5[zhi.hour], "®É¡@");
105
+    printf("%s%s%s%s%s%s%s%s%s%s%s%s%s\n",
106
+	   "¥Î¥|¬W¯«ºâ±Àºâ¤§®É¨°¤K¦r¡G¡@",
107
+	   GanBIG5[gan2.year], ZhiBIG5[zhi2.year], "¦~¡@",
108
+	   GanBIG5[gan2.month], ZhiBIG5[zhi2.month], "¤ë¡@",
109
+	   GanBIG5[gan2.day], ZhiBIG5[zhi2.day], "¤é¡@",
110
+	   GanBIG5[gan2.hour], ZhiBIG5[zhi2.hour], "®É¡@");
111
+    if (jieAlert)
112
+    {
113
+	printf("* %s, %s\n", "¬O¤é¬°¸`",
114
+	       "¤ë¬W¥i¯à­n­×§ï");
115
+	if (lunar2.month==1)
116
+	    printf("* %s\n", "¦~¬W¥ç¥i¯à­n­×§ï");
117
+	printf("* %s\n", "½Ð¬d¦³¸`®ð®É¶¡¤§¸U¦~¾ú");
118
     }
119
 }
120
 
(-)chinese/lunar/pkg-plist (-3 lines)
Removed Link Here
1
bin/lunar
2
man/man1/lunar.1.gz
3
share/chinese/lunar.bitmap
(-)chinese/oto/Makefile (-4 lines)
Lines 15-22 GNU_CONFIGURE= YES Link Here
15
CPPFLAGS+=	-I${LOCALBASE}/include
15
CPPFLAGS+=	-I${LOCALBASE}/include
16
LIBS+=		-L${LOCALBASE}/lib ${ICONV_LIB}
16
LIBS+=		-L${LOCALBASE}/lib ${ICONV_LIB}
17
17
18
post-patch:
19
	@${FIND} ${WRKSRC}/src/ -type f -print0 | \
20
	    ${XARGS} -0 ${REINPLACE_CMD} -e 's,stdint.h,inttypes.h,'
21
22
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)comms/bpl+/Makefile (-1 / +2 lines)
Lines 11-17 DISTNAME= ${PORTNAME} Link Here
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	B Plus file transfer protocol
12
COMMENT=	B Plus file transfer protocol
13
13
14
PLIST_FILES=	bin/bp bin/bpl
14
PLIST_FILES=	bin/bp \
15
		bin/bpl
15
16
16
do-install:
17
do-install:
17
	${INSTALL_PROGRAM} ${WRKSRC}/bpl ${STAGEDIR}${PREFIX}/bin
18
	${INSTALL_PROGRAM} ${WRKSRC}/bpl ${STAGEDIR}${PREFIX}/bin
(-)comms/bpl+/files/patch-Makefile (-2 / +2 lines)
Lines 1-5 Link Here
1
--- Makefile.orig	Fri Jun 13 14:13:23 2003
1
--- Makefile.orig	2020-01-26 19:57:34 UTC
2
+++ Makefile	Fri Jun 13 14:13:43 2003
2
+++ Makefile
3
@@ -4,11 +4,9 @@
3
@@ -4,11 +4,9 @@
4
 #  USE_MKTIME	use mktime instead of timelocal
4
 #  USE_MKTIME	use mktime instead of timelocal
5
 #
5
 #
(-)comms/bpl+/files/patch-bplexec.c_1 (-11 lines)
Removed Link Here
1
--- bplexec.c.orig	Fri Feb 10 02:25:34 1995
2
+++ bplexec.c	Tue Feb  3 23:54:32 1998
3
@@ -34,7 +34,7 @@
4
 extern void hms(UCHAR *s);
5
 extern void ldecout(ULONG l);
6
 
7
-#ifdef SUN
8
+#if 0 /*ifdef SUN*/
9
 extern int fclose(FILE *stream);
10
 extern int fflush(FILE *stream);
11
 extern int fseek(FILE *stream, long int offset, int origin);
(-)comms/bpl+/files/patch-bplexec.c_2 (-50 lines)
Removed Link Here
1
--- bplexec.c.orig	Thu Feb  9 17:25:34 1995
2
+++ bplexec.c	Wed Nov 15 20:45:53 2000
3
@@ -17,6 +17,7 @@
4
 #include <stdio.h>
5
 #include <string.h>
6
 #include <stdlib.h>
7
+#include <errno.h>
8
 
9
 #include "bpl.h"
10
 #include "machine.h"
11
@@ -1096,7 +1097,7 @@
12
 
13
 	fname_w_index = strlen(fname_work);
14
 	if (copy_body(s)) { /* ƒtƒ@ƒCƒ‹–¼ˆÙí */
15
-		strcpy(fname_work, tmpnam(NULL));
16
+		strcpy(fname_work, "/tmp/bpl.XXXXXXXXXX");
17
 	}
18
 
19
 	my_free(real_filename);
20
@@ -1118,16 +1119,19 @@
21
 	FILE *fp;
22
 	UCHAR *my_tmp;
23
 	char *tmp;
24
+	int fd;
25
 
26
-	tmp = tmpnam(NULL);
27
+	tmp = "/tmp/bpl.XXXXXXXXXX";
28
 	my_tmp = (UCHAR *) malloc(strlen(tmp) + 1);
29
 	if (my_tmp == NULL)
30
 		return NULL;
31
 	strcpy(my_tmp, tmp);
32
 
33
-	fp = fopen(tmp, "wb");
34
-	if (fp == NULL) {
35
+	if ((fd = mkstemp(my_tmp)) == -1 ||
36
+            (fp = fdopen(fd, "wb")) == NULL ) {
37
+		fprintf(stderr, "%s: %s\n", my_tmp, strerror(errno));
38
 		free(my_tmp);
39
+		return NULL;
40
 	} else {
41
 		/* ƒfƒBƒŒƒNƒgƒŠ‚Í current ‚ðŽg‚¤ */
42
 		strwarn(STR_CANT_CREATE_L); /* uƒtƒ@ƒCƒ‹‚ªì¬‚Å‚«‚È‚¢‚̂Łv */
43
@@ -1136,6 +1140,7 @@
44
 		strwarn(STR_CANT_CREATE_R);
45
 		my_free(real_filename);
46
 		real_filename = my_tmp;
47
+		close(fd);
48
 	}
49
 	return fp;
50
 }
(-)comms/bpl+/files/patch-config.sh (-4 / +4 lines)
Lines 1-6 Link Here
1
--- config.sh.orig	Thu Feb  9 09:25:34 1995
1
--- config.sh.orig	2020-01-26 19:57:34 UTC
2
+++ config.sh	Sat Jun 14 07:50:30 2003
2
+++ config.sh
3
@@ -8,27 +8,6 @@
3
@@ -8,27 +8,6 @@ if [ -f $template ]; then
4
   exit
4
   exit
5
 fi
5
 fi
6
 
6
 
Lines 28-34 Link Here
28
 if [ -f /usr/include/utime.h ]; then
28
 if [ -f /usr/include/utime.h ]; then
29
     FUTIME="-DHAME_UTIME_H"
29
     FUTIME="-DHAME_UTIME_H"
30
 fi
30
 fi
31
@@ -50,4 +29,4 @@
31
@@ -50,4 +29,4 @@ if [ $? != 0 ]; then
32
     MKTIME="mktime.o"
32
     MKTIME="mktime.o"
33
   fi
33
   fi
34
 fi
34
 fi
(-)comms/bpl+/files/patch-machine.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- machine.h.orig	Wed Oct 12 07:19:52 1994
1
--- machine.h.orig	2020-01-26 19:57:34 UTC
2
+++ machine.h	Tue Feb  3 23:50:25 1998
2
+++ machine.h
3
@@ -11,4 +11,4 @@
3
@@ -11,4 +11,4 @@
4
  *	PC88VA		PC-88VA
4
  *	PC88VA		PC-88VA
5
  */
5
  */
(-)comms/minicom/Makefile (-5 lines)
Lines 28-38 OPTIONS_SUB= yes Link Here
28
NLS_USES=		gettext
28
NLS_USES=		gettext
29
NLS_CONFIGURE_ENABLE=	nls
29
NLS_CONFIGURE_ENABLE=	nls
30
30
31
post-patch:
32
	${REINPLACE_CMD} -e "s@/usr/local/bin/@${LOCALBASE}/bin/@; \
33
		s@/sz@/lsz@;s@/sb@/lsb@;s@/sx@/lsx@;s@/rz@/lrz@; \
34
		s@/rb@/lrb@;s@/rx@/lrx@" ${WRKSRC}/src/rwconf.c
35
36
post-install:
31
post-install:
37
	${MKDIR} ${STAGEDIR}${ETCDIR}
32
	${MKDIR} ${STAGEDIR}${ETCDIR}
38
33
(-)comms/minicom/files/patch-minirc.dfl (-10 lines)
Removed Link Here
1
--- doc/minirc.dfl.orig	2009-12-12 15:47:47 UTC
2
+++ doc/minirc.dfl
3
@@ -1,2 +1,7 @@
4
 # $Id: minirc.dfl,v 1.1.1.1 2003-03-30 18:55:39 al-guest Exp $
5
 # Machine-generated file - use "minicom -s" to change parameters.
6
+pr port             /dev/cuau0
7
+pu baudrate         9600
8
+pu bits             8
9
+pu parity           N
10
+pu minit            
(-)comms/minicom/files/patch-src-minicom.h (-10 lines)
Removed Link Here
1
--- src/minicom.h.orig	2013-12-08 10:26:03 UTC
2
+++ src/minicom.h
3
@@ -35,6 +35,7 @@
4
 
5
 #include <time.h>
6
 #include <stdbool.h>
7
+#include <limits.h>
8
 
9
 #if HAVE_LOCKDEV
10
 #include <ttylock.h>
(-)comms/minicom/files/patch-src-script.c (-19 lines)
Removed Link Here
1
--- src/script.c.orig	2013-10-29 11:07:42 UTC
2
+++ src/script.c
3
@@ -32,6 +32,7 @@
4
 #include <config.h>
5
 #endif
6
 
7
+#include <sys/wait.h>
8
 #include <stdarg.h>
9
 
10
 #include "port.h"
11
@@ -76,7 +77,7 @@ struct env {
12
 struct env *curenv;		/* Execution environment */
13
 int gtimeout = 120;		/* Global Timeout */
14
 int etimeout = 0;		/* Timeout in expect routine */
15
-jmp_buf ejmp;			/* To jump to if expect times out */
16
+sigjmp_buf ejmp;		/* To jump to if expect times out */
17
 int inexpect = 0;		/* Are we in the expect routine */
18
 const char *newline;		/* What to print for '\n'. */
19
 const char *s_login = "name";	/* User's login name */
(-)comms/minicom/files/patch-src-updown.c (-11 lines)
Removed Link Here
1
--- src/updown.c.orig	2013-12-08 10:25:06 UTC
2
+++ src/updown.c
3
@@ -298,7 +298,7 @@ void updown(int what, int nr)
4
     do_log("%s", cmdline);   /* jl 22.06.97 */
5
 
6
   if (P_PFULL(g) == 'N') {
7
-    win = mc_wopen(10, 7, 70, 13, BSINGLE, stdattr, mfcolor, mbcolor, 1, 0, 1);
8
+    win = mc_wopen(5, 5, 74, 11, BSINGLE, stdattr, mfcolor, mbcolor, 1, 0, 1);
9
     snprintf(title, sizeof(title), _("%.30s %s - Press CTRL-C to quit"), P_PNAME(g),
10
              what == 'U' ? _("upload") : _("download"));
11
     mc_wtitle(win, TMID, title);
(-)comms/minicom/files/patch-src-window.c (-45 lines)
Removed Link Here
1
--- src/window.c.orig	2010-12-12 13:56:25 UTC
2
+++ src/window.c
3
@@ -66,6 +66,7 @@ static const char *CE, *Al, *Dl, *AL, *DL;
4
 static const char *CS, *SF, *SR, *VB, *BL;
5
 static const char *VE, *VI, *KS, *KE;
6
 static const char *CD, *CL, *IC, *DC;
7
+static char *mcBC;
8
 static const char *CR, *NL;
9
 #ifdef ST_LINE
10
 static const char *TS, *FS, *DS;
11
@@ -335,8 +336,8 @@ static void _gotoxy(int x, int y)
12
   else if (NL != NULL && x == 0 && x == curx && y == cury + 1)
13
     outstr(NL);
14
 #endif
15
-  else if (BC != NULL && y == cury && x == curx - 1)
16
-    outstr(BC);
17
+  else if (mcBC != NULL && y == cury && x == curx - 1)
18
+    outstr(mcBC);
19
   else
20
     outstr(tgoto(CM, x, y));
21
   curx = x;
22
@@ -2000,7 +2001,7 @@ int win_init(int fg, int bg, int attr)
23
   CL = tgetstr("cl", &_tptr);
24
   IC = tgetstr("ic", &_tptr);
25
   DC = tgetstr("dc", &_tptr);
26
-  BC = tgetstr("bc", &_tptr);
27
+  mcBC = tgetstr("bc", &_tptr);
28
   CR = tgetstr("cr", &_tptr);
29
   NL = tgetstr("nl", &_tptr);
30
   AC = tgetstr("ac", &_tptr);
31
@@ -2059,11 +2060,11 @@ int win_init(int fg, int bg, int attr)
32
   _has_am = tgetflag("am");
33
   _mv_standout = tgetflag("ms");
34
   if (tgetflag("bs")) {
35
-    if (BC == NULL)
36
-      BC = "\b";
37
+    if (mcBC == NULL)
38
+      mcBC = "\b";
39
   }
40
   else
41
-    BC = NULL;
42
+    mcBC = NULL;
43
 
44
   /* Special IBM box-drawing characters */
45
   D_UL  = 201;
(-)comms/minicom/files/patch-sysdep1.c (-55 lines)
Removed Link Here
1
--- src/sysdep1.c.orig	2009-12-12 15:47:47 UTC
2
+++ src/sysdep1.c
3
@@ -65,13 +65,13 @@ static void m_setrts(int fd)
4
   if (portfd_is_socket)
5
     return;
6
 #endif
7
-#if defined(TIOCM_RTS) && defined(TIOCMODG)
8
+#if defined(TIOCM_RTS) && defined(TIOCMGET)
9
   {
10
     int mcs=0;
11
 
12
-    ioctl(fd, TIOCMODG, &mcs);
13
+    ioctl(fd, TIOCMGET, &mcs);
14
     mcs |= TIOCM_RTS;
15
-    ioctl(fd, TIOCMODS, &mcs);
16
+    ioctl(fd, TIOCMSET, &mcs);
17
   }
18
 #endif
19
 }
20
@@ -180,11 +180,11 @@ int m_getdcd(int fd)
21
     return portfd_is_connected;
22
   }
23
 #endif
24
-#ifdef TIOCMODG
25
+#ifdef TIOCMODGET
26
   {
27
     int mcs = 0;
28
 
29
-    if (ioctl(fd, TIOCMODG, &mcs) < 0)
30
+    if (ioctl(fd, TIOCMODGET, &mcs) < 0)
31
       return -1;
32
     return mcs & TIOCM_CAR ? 1 : 0;
33
   }
34
@@ -227,8 +227,8 @@ void m_savestate(int fd)
35
   ioctl(fd, TIOCLGET, &lsw);
36
 #  endif
37
 #endif
38
-#ifdef TIOCMODG
39
-  ioctl(fd, TIOCMODG, &m_word);
40
+#ifdef TIOCMGET
41
+  ioctl(fd, TIOCMGET, &m_word);
42
 #endif
43
 }
44
 
45
@@ -252,8 +252,8 @@ void m_restorestate(int fd)
46
   ioctl(fd, TIOCLSET, &lsw);
47
 #  endif
48
 #endif
49
-#ifdef TIOCMODS
50
-  ioctl(fd, TIOCMODS, &m_word);
51
+#ifdef TIOCMSET
52
+  ioctl(fd, TIOCMSET, &m_word);
53
 #endif
54
 }
55
 
(-)databases/db5/Makefile (-4 lines)
Lines 78-87 CONFIGURE_ARGS+= --enable-posixmutexes Link Here
78
CONFIGURE_ARGS+=	--with-mutex=POSIX/pthreads
78
CONFIGURE_ARGS+=	--with-mutex=POSIX/pthreads
79
.endif
79
.endif
80
80
81
post-patch:
82
	${REINPLACE_CMD} -e '/^DOCLIST/{s/csharp//;}' ${WRKSRC}/../dist/Makefile.in
83
	${REINPLACE_CMD} -Ee 's/[[:<:]]atomic_init[[:>:]]/db_atomic_init/g' ${WRKSRC}/../src/mp/mp* ${WRKSRC}/../src/mutex/mut_*
84
85
post-install:
81
post-install:
86
.for i in ${DBLIBS}
82
.for i in ${DBLIBS}
87
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${i}-${BDBVER}.so.0
83
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${i}-${BDBVER}.so.0
(-)databases/db6/Makefile (-4 lines)
Lines 78-87 CONFIGURE_ARGS+= --with-mutex=POSIX/pthreads Link Here
78
.endif
78
.endif
79
79
80
post-patch:
80
post-patch:
81
	${REINPLACE_CMD} -e '/^DOCLIST/{s/csharp//;}' ${WRKSRC}/../dist/Makefile.in
82
	${REINPLACE_CMD} -Ee 's/[[:<:]]atomic_init[[:>:]]/db_atomic_init/g' \
83
	    ${WRKSRC}/../src/mp/mp* ${WRKSRC}/../src/mutex/mut_* \
84
	    ${WRKSRC}/../src/dbinc/atomic.h
85
	${REINPLACE_CMD} -e 's/%%BDBVER%%/${BDBVER}/' ${WRKSRC}/../lang/sql/upgrade61.sh
81
	${REINPLACE_CMD} -e 's/%%BDBVER%%/${BDBVER}/' ${WRKSRC}/../lang/sql/upgrade61.sh
86
82
87
post-install:
83
post-install:
(-)databases/db6/files/patch-src_dbinc_mutex__int.h (-3 / +3 lines)
Lines 1-4 Link Here
1
--- src/dbinc/mutex_int.h.orig	2016-03-28 19:45:54 UTC
1
--- src/dbinc/mutex_int.h.orig	2017-04-13 14:06:20 UTC
2
+++ src/dbinc/mutex_int.h
2
+++ src/dbinc/mutex_int.h
3
@@ -9,6 +9,7 @@
3
@@ -9,6 +9,7 @@
4
 #ifndef _DB_MUTEX_INT_H_
4
 #ifndef _DB_MUTEX_INT_H_
Lines 8-14 Link Here
8
 #include "dbinc/atomic.h"
8
 #include "dbinc/atomic.h"
9
 
9
 
10
 #if defined(__cplusplus)
10
 #if defined(__cplusplus)
11
@@ -506,11 +507,11 @@ typedef unsigned int tsl_t;
11
@@ -487,11 +488,11 @@ typedef unsigned int tsl_t;
12
 #define	MUTEX_UNSET(tsl)	(*(volatile tsl_t *)(tsl) = 0)
12
 #define	MUTEX_UNSET(tsl)	(*(volatile tsl_t *)(tsl) = 0)
13
 #define	MUTEX_INIT(tsl)         (MUTEX_UNSET(tsl), 0)
13
 #define	MUTEX_INIT(tsl)         (MUTEX_UNSET(tsl), 0)
14
 #define	MUTEX_MEMBAR(x) \
14
 #define	MUTEX_MEMBAR(x) \
Lines 23-29 Link Here
23
 #endif
23
 #endif
24
 #endif
24
 #endif
25
 
25
 
26
@@ -652,7 +652,7 @@ MUTEX_SET(int *tsl)  {
26
@@ -633,7 +634,7 @@ MUTEX_SET(int *tsl)  {
27
 	 : "=&r" (__r), "+r" (tsl)
27
 	 : "=&r" (__r), "+r" (tsl)
28
 	 :
28
 	 :
29
 	 : "cr0", "memory");
29
 	 : "cr0", "memory");
(-)deskutils/baobab/Makefile (+1 lines)
Lines 25-30 USE_GNOME= cairo gtk30 Link Here
25
BINARY_ALIAS=	python3=${PYTHON_CMD}
25
BINARY_ALIAS=	python3=${PYTHON_CMD}
26
26
27
GLIB_SCHEMAS=	org.gnome.baobab.gschema.xml
27
GLIB_SCHEMAS=	org.gnome.baobab.gschema.xml
28
BINARY_ALIAS=	python3=${PYTHON_VERSION}
28
29
29
post-patch:
30
post-patch:
30
	@${REINPLACE_CMD} -e 's|MimeType=inode/directory;|MimeType=|g' \
31
	@${REINPLACE_CMD} -e 's|MimeType=inode/directory;|MimeType=|g' \
(-)deskutils/cairo-dock/Makefile (-29 / +48 lines)
Lines 23-67 USE_GITHUB= yes Link Here
23
GH_ACCOUNT=	Cairo-Dock
23
GH_ACCOUNT=	Cairo-Dock
24
GH_PROJECT=	${PORTNAME}-core
24
GH_PROJECT=	${PORTNAME}-core
25
25
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=		yes
27
USES=		cmake compiler:c++11-lang gettext gl gnome localbase:ldflags \
27
USES=			cmake compiler:c++11-lang gettext gl gnome \
28
		pkgconfig
28
			localbase:ldflags pkgconfig shebangfix
29
USE_GL=		glu
29
USE_GL=			glu
30
USE_GNOME=	glib20 gtk30 librsvg2 libxml2
30
USE_GNOME=		glib20 gtk30 librsvg2 libxml2
31
USE_LDCONFIG=	yes
31
USE_LDCONFIG=		yes
32
CMAKE_ARGS=	-Dinstall-pc-path:STRING="${LOCALBASE}/libdata/pkgconfig" \
32
SHEBANG_FILES=		data/desktop-manager/cairo-dock-session \
33
		-DROOT_PREFIX:PATH=${STAGEDIR} \
33
			data/scripts/cairo-dock-package-theme.sh \
34
		-DCMAKE_INSTALL_MANDIR:PATH=man \
34
			data/scripts/help_scripts.sh \
35
			data/scripts/initial-setup.sh \
36
			misc/cairo-dock_theme-creator.sh \
37
			po/misc/add-descriptions.sh po/misc/add-readme.sh
38
CMAKE_ARGS=		-DCMAKE_INSTALL_MANDIR:PATH=man \
39
			-Dinstall-pc-path:STRING="${LOCALBASE}/libdata/pkgconfig" \
40
			-DROOT_PREFIX:PATH=${STAGEDIR}
41
OPTIONS_DEFINE=		WAYLAND X11
42
OPTIONS_DEFAULT=	EGL WAYLAND X11
43
OPTIONS_RADIO=		GL
44
OPTIONS_RADIO_GL=	EGL GLX
35
45
36
OPTIONS_DEFINE=	X11 WAYLAND
46
EGL_DESC=	${GLX_DESC:S/X11/Native/}
37
OPTIONS_DEFAULT=EGL WAYLAND X11
47
EGL_CMAKE_BOOL=	enable-egl-support
38
OPTIONS_RADIO=	GL
48
EGL_USE=	GL=egl
39
OPTIONS_RADIO_GL=	GLX EGL
40
49
41
EGL_DESC=		${GLX_DESC:S/X11/Native/}
50
GLX_USE=	GL=gl
42
EGL_CMAKE_BOOL=		enable-egl-support
51
GLX_IMPLIES=	X11
43
EGL_USE=		GL=egl
44
45
GLX_USE=		GL=gl
46
GLX_IMPLIES=		X11
47
52
48
WAYLAND_LIB_DEPENDS=	libwayland-client.so:graphics/wayland
53
WAYLAND_LIB_DEPENDS=	libwayland-client.so:graphics/wayland
49
WAYLAND_USE=		GL=egl
54
WAYLAND_USE=		GL=egl
50
WAYLAND_CMAKE_BOOL=	enable-wayland-support
55
WAYLAND_CMAKE_BOOL=	enable-wayland-support
51
WAYLAND_IMPLIES=	EGL
56
WAYLAND_IMPLIES=	EGL
52
57
53
X11_USES=		xorg
58
X11_USES=	xorg
54
X11_USE=		XORG=x11,xcomposite,xinerama,xrandr,xrender,xtst
59
X11_USE=	XORG=x11,xcomposite,xinerama,xrandr,xrender,xtst
55
X11_CMAKE_BOOL=		enable-x11-support
60
X11_CMAKE_BOOL=	enable-x11-support
56
61
57
post-patch:
62
post-patch:
58
	@${FIND} ${WRKSRC} -type f -name "*" | ${XARGS} ${REINPLACE_CMD} -e \
63
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g;' \
59
	    's|/usr/share/pixmaps/|${LOCALBASE}/share/pixmaps/|g; \
64
	${WRKSRC}/data/cairo-dock \
60
	     s|/usr/bin/cairo-dock|${LOCALBASE}/bin/cairo-dock|g; \
65
	${WRKSRC}/data/themes/default-theme-panel/launchers/01firefox.desktop \
61
	     s|/bin/bash|${LOCALBASE}/bin/bash|g; \
66
	${WRKSRC}/data/themes/default-theme-panel/launchers/01gcalctool.desktop \
62
	     s|/usr/share/applications|${LOCALBASE}/share/applications|g; \
67
	${WRKSRC}/data/themes/default-theme-panel/launchers/01libreoffice-calc.desktop \
63
	     s|/usr/share/icons|${LOCALBASE}/share/icons|g; \
68
	${WRKSRC}/data/themes/default-theme-panel/launchers/01libreoffice-impress.desktop \
64
	     s|%%LOCALBASE%%|${LOCALBASE}|g;'
69
	${WRKSRC}/data/themes/default-theme-panel/launchers/01libreoffice-writer.desktop \
70
	${WRKSRC}/data/themes/default-theme-panel/launchers/01pidgin.desktop \
71
	${WRKSRC}/data/themes/default-theme-panel/launchers/01thunderbird.desktop \
72
	${WRKSRC}/data/themes/default-theme-panel/launchers/01ubuntu-software-center.desktop \
73
	${WRKSRC}/data/themes/default-theme/launchers/01firefox.desktop \
74
	${WRKSRC}/data/themes/default-theme/launchers/01gcalctool.desktop \
75
	${WRKSRC}/data/themes/default-theme/launchers/01gimp.desktop \
76
	${WRKSRC}/data/themes/default-theme/launchers/01gnome-terminal.desktop \
77
	${WRKSRC}/data/themes/default-theme/launchers/01ooo-writer.desktop \
78
	${WRKSRC}/data/themes/default-theme/launchers/01pidgin.desktop \
79
	${WRKSRC}/data/themes/default-theme/launchers/01thunderbird.desktop \
80
	${WRKSRC}/data/themes/default-theme/launchers/01ubuntu-software-center.desktop \
81
	${WRKSRC}/src/cairo-dock-user-menu.c \
82
	${WRKSRC}/src/gldit/cairo-dock-class-manager.c \
83
	${WRKSRC}/src/gldit/cairo-dock-gui-factory.c \
65
84
66
post-install:
85
post-install:
67
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgldi.so
86
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgldi.so
(-)deskutils/cairo-dock/files/patch-src_gldit_cairo-dock-file-manager.c (-2 / +2 lines)
Lines 1-4 Link Here
1
--- src/gldit/cairo-dock-file-manager.c.orig	2014-10-15 14:16:34 UTC
1
--- src/gldit/cairo-dock-file-manager.c.orig	2015-02-19 15:03:40 UTC
2
+++ src/gldit/cairo-dock-file-manager.c
2
+++ src/gldit/cairo-dock-file-manager.c
3
@@ -21,7 +21,11 @@
3
@@ -21,7 +21,11 @@
4
 #include <string.h>      // memset
4
 #include <string.h>      // memset
Lines 12-18 Link Here
12
 #include <errno.h>  // errno
12
 #include <errno.h>  // errno
13
 
13
 
14
 #include "gldi-config.h"
14
 #include "gldi-config.h"
15
@@ -500,7 +504,7 @@ gboolean cairo_dock_copy_file (const gch
15
@@ -503,7 +507,7 @@ gboolean cairo_dock_copy_file (const gchar *cFilePath,
16
 	{
16
 	{
17
 		// perform in-kernel transfer (zero copy to user space)
17
 		// perform in-kernel transfer (zero copy to user space)
18
 		int size;
18
 		int size;
(-)deskutils/gcal/Makefile (-8 / +6 lines)
Lines 14-26 LICENSE= GPLv3+ Link Here
14
14
15
GNU_CONFIGURE=	yes
15
GNU_CONFIGURE=	yes
16
CONFIGURE_ENV=	MAKEINFO="${MAKEINFO} --no-split"
16
CONFIGURE_ENV=	MAKEINFO="${MAKEINFO} --no-split"
17
USES=		charsetfix shebangfix makeinfo tar:xz
17
USES=		charsetfix makeinfo shebangfix tar:xz
18
SHEBANG_FILES=	misc/gcalltx/gcalltxp.in misc/gcalltx/gcalltx.pl
18
SHEBANG_FILES=	misc/gcalltx/gcalltx.pl misc/gcalltx/gcalltxp.in
19
19
20
INFO=		gcal
20
INFO=		gcal
21
21
22
OPTIONS_DEFINE=	NLS
22
OPTIONS_DEFINE=		NLS
23
OPTIONS_SUB=	yes
23
OPTIONS_SUB=		yes
24
NLS_USES=		gettext
24
NLS_USES=		gettext
25
NLS_CONFIGURE_ENABLE=	nls
25
NLS_CONFIGURE_ENABLE=	nls
26
26
Lines 28-37 GCAL_SCRIPTS= daily/daily ddiff/ddiff ddiff/ddiffdrv dst/dst gcalltx/gcalltx \ Link Here
28
		gcalltx/gcalltxp moon/moon mrms/mrms srss/srss wloc/wlocdrv
28
		gcalltx/gcalltxp moon/moon mrms/mrms srss/srss wloc/wlocdrv
29
29
30
post-patch:
30
post-patch:
31
.for p in ${GCAL_SCRIPTS}
31
.for p in daily/daily ddiff/ddiff ddiff/ddiffdrv dst/dst gcalltx/gcalltx moon/moon mrms/mrms srss/srss wloc/wlocdrv
32
	@${REINPLACE_CMD} -e '/^ThisGcal=/s:=.*:=${PREFIX}/bin/gcal:' \
32
	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/misc/${p}.in
33
		-e '/^packagedatamiscdir=/s:=.*:=${DATADIR}/misc/${p:H}:' \
34
		${WRKSRC}/misc/${p}.in
35
.endfor
33
.endfor
36
34
37
post-install:
35
post-install:
(-)deskutils/rubrica/Makefile (-12 lines)
Lines 35-52 OPTIONS_SUB= yes Link Here
35
NLS_CONFIGURE_ENABLE=	nls
35
NLS_CONFIGURE_ENABLE=	nls
36
NLS_USES=		gettext
36
NLS_USES=		gettext
37
37
38
post-patch:
39
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
40
		's|-Wall -g|-Wall|g ; \
41
		 s|-Wmissing-prototypes -g|-Wmissing-prototypes|g'
42
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
43
	@${REINPLACE_CMD} -e 's|_Modifica|_Edit|' \
44
		-e 's|A_iuto|_Help|' \
45
		${WRKSRC}/interface/MainWindow.glade
46
	@${REINPLACE_CMD} -e \
47
		's|^Categories=.*|Categories=GNOME;Application;Office;System;Utility;|' \
48
		${WRKSRC}/rubrica2.desktop.in
49
50
post-patch-NLS-off:
38
post-patch-NLS-off:
51
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in
39
	@${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in
52
40
(-)deskutils/rubrica/files/patch-app_c (-11 lines)
Removed Link Here
1
--- src/app.c.orig	2016-01-08 10:28:54 UTC
2
+++ src/app.c
3
@@ -1339,7 +1339,7 @@ rubrica_app_init(RubricaApp* self)
4
   
5
   self->priv->cutted         = NULL;
6
   self->priv->notify         = notify_notification_new("Rubrica Addressbook",
7
-						      NULL, "info", NULL);
8
+						      "info", NULL);
9
   self->priv->active_plugin  = g_strdup("autodetect");
10
   self->priv->manager        = r_lib_get_manager();
11
   self->priv->print_settings = NULL;
(-)deskutils/rubrica/files/patch-callbacks_c (-11 lines)
Removed Link Here
1
--- src/callbacks.c.orig	2016-01-08 10:29:13 UTC
2
+++ src/callbacks.c
3
@@ -638,7 +638,7 @@ on_info_cb (GtkWidget* button, gpointer 
4
 	       "wrap-license",  FALSE,
5
 	       NULL);
6
   
7
-  gdk_pixbuf_unref (logo);
8
+  g_object_unref (logo);
9
        
10
   gtk_dialog_run (GTK_DIALOG(about));
11
   gtk_widget_destroy (about);
(-)deskutils/rubrica/files/patch-data_view_c (-66 lines)
Removed Link Here
1
--- src/data_view.c.orig	2016-01-08 10:28:41 UTC
2
+++ src/data_view.c
3
@@ -689,7 +689,7 @@ data_view_set_image(RubricaDataView* vie
4
   priv = RUBRICA_DATA_VIEW_GET_PRIVATE(view);
5
 
6
   gtk_image_set_from_pixbuf(GTK_IMAGE(priv->image), pixbuf);
7
-  gdk_pixbuf_unref(pixbuf);
8
+  g_object_unref(pixbuf);
9
 }
10
 
11
 
12
@@ -952,7 +952,7 @@ write_addresses(RubricaDataView* view, R
13
 
14
       data_view_write(body, "\n");
15
       data_view_write_pixbuf(body, pixbuf, _("Addresses"));      
16
-      gdk_pixbuf_unref(pixbuf);
17
+      g_object_unref(pixbuf);
18
 
19
       for (; address; address = r_card_get_next_address(R_CARD(card)))
20
 	{
21
@@ -1057,8 +1057,7 @@ write_work(RubricaDataView* view, RPerso
22
 
23
       data_view_write(body, "\n");
24
       data_view_write_pixbuf(body, pixbuf, _("Work"));
25
-      gdk_pixbuf_unref(pixbuf);
26
-
27
+      g_object_unref(pixbuf);
28
       data_view_write_line(body, _("Assignment"), assignment, TRUE);
29
       data_view_write_line(body, _("Organization"), organization, TRUE);
30
       data_view_write_line(body, _("Department"), department, TRUE);
31
@@ -1093,7 +1092,7 @@ write_net (RubricaDataView* view, RCard*
32
       
33
       data_view_write(body, "\n");
34
       data_view_write_pixbuf(body, pixbuf, _("Net"));
35
-      gdk_pixbuf_unref(pixbuf);
36
+      g_object_unref(pixbuf);
37
       
38
       for (; net; net = r_card_get_next_net_address(R_CARD(card)))
39
 	{	  
40
@@ -1165,7 +1164,7 @@ write_telephones(RubricaDataView* view, 
41
 
42
       data_view_write(body, "\n");
43
       data_view_write_pixbuf(body, pixbuf, _("Telephone"));
44
-      gdk_pixbuf_unref(pixbuf);
45
+      g_object_unref(pixbuf);
46
 
47
       for (; tel; tel = r_card_get_next_telephone(R_CARD(card)))
48
 	{
49
@@ -1210,7 +1209,7 @@ write_notes(RubricaDataView* view, RPers
50
       
51
       data_view_write(body, "\n");
52
       data_view_write_pixbuf(body, pixbuf, _("Notes"));
53
-      gdk_pixbuf_unref(pixbuf);
54
+      g_object_unref(pixbuf);
55
 
56
       if (has_partner)
57
 	{   
58
@@ -1257,7 +1256,7 @@ write_company_notes(RubricaDataView* vie
59
       data_view_write(body, "\n");
60
       data_view_write_pixbuf(body, pixbuf, _("Notes"));
61
       data_view_write(body, "\n");
62
-      gdk_pixbuf_unref(pixbuf);
63
+      g_object_unref(pixbuf);
64
 
65
       data_view_write(body, text);   
66
     }
(-)deskutils/rubrica/files/patch-rubrica2.schemas.in (-2 / +2 lines)
Lines 1-5 Link Here
1
--- rubrica2.schemas.in.orig	2010-06-20 14:23:50.000000000 +0200
1
--- rubrica2.schemas.in.orig	2008-02-04 13:57:05 UTC
2
+++ rubrica2.schemas.in	2013-04-03 20:40:05.000000000 +0200
2
+++ rubrica2.schemas.in
3
@@ -6,7 +6,7 @@
3
@@ -6,7 +6,7 @@
4
 		<applyto>/apps/rubrica2/file_format</applyto>
4
 		<applyto>/apps/rubrica2/file_format</applyto>
5
 		<owner>rubrica</owner>
5
 		<owner>rubrica</owner>
(-)devel/ElectricFence/Makefile (-1 / +4 lines)
Lines 15-21 USE_LDCONFIG= yes Link Here
15
CFLAGS+=	-D__USE_BSD
15
CFLAGS+=	-D__USE_BSD
16
16
17
MAKE_ARGS=	CC="${CC}"
17
MAKE_ARGS=	CC="${CC}"
18
PLIST_FILES=	bin/ef.sh lib/libefence.a lib/libefence.so.0 man/man3/efence.3.gz
18
PLIST_FILES=	bin/ef.sh \
19
		lib/libefence.a \
20
		lib/libefence.so.0 \
21
		man/man3/efence.3.gz
19
22
20
do-install:
23
do-install:
21
	${INSTALL_DATA} ${WRKSRC}/libefence.a ${STAGEDIR}${PREFIX}/lib
24
	${INSTALL_DATA} ${WRKSRC}/libefence.a ${STAGEDIR}${PREFIX}/lib
(-)devel/ElectricFence/files/patch-Makefile (-1 / +1 lines)
Lines 1-4 Link Here
1
--- Makefile.orig	1999-04-13 17:22:49 UTC
1
--- Makefile.orig	2020-01-27 13:08:36 UTC
2
+++ Makefile
2
+++ Makefile
3
@@ -1,8 +1,14 @@
3
@@ -1,8 +1,14 @@
4
 PIC= -fPIC
4
 PIC= -fPIC
(-)devel/ElectricFence/files/patch-ef.sh (-4 / +6 lines)
Lines 1-11 Link Here
1
--- ef.sh.orig	Wed May  2 21:17:33 2001
1
--- ef.sh.orig	2020-01-27 13:08:36 UTC
2
+++ ef.sh	Wed May  2 21:17:40 2001
2
+++ ef.sh
3
@@ -1,3 +1,3 @@
3
@@ -1,4 +1,4 @@
4
-#!/bin/bash
4
-#!/bin/bash
5
+#!/bin/sh
5
+#!/bin/sh
6
 
6
 
7
 #
7
 #
8
@@ -16,5 +16,5 @@
8
 # Simple script to run electric fence on stuff.  (needs libefence.so).
9
@@ -15,6 +15,6 @@ fi
10
 
9
 # Set the environment to load eletric fence.
11
 # Set the environment to load eletric fence.
10
 (\
12
 (\
11
-export LD_PRELOAD=libefence.so.0.0;\
13
-export LD_PRELOAD=libefence.so.0.0;\
(-)devel/ElectricFence/files/patch-efence.c (-3 / +3 lines)
Lines 1-5 Link Here
1
--- efence.c.orig	2019-02-26 17:53:52.941236000 +0100
1
--- efence.c.orig	2020-01-27 13:08:36 UTC
2
+++ efence.c	2019-02-26 17:56:18.688752000 +0100
2
+++ efence.c
3
@@ -38,6 +38,7 @@
3
@@ -38,6 +38,7 @@
4
 # include <pthread.h>
4
 # include <pthread.h>
5
 # include <semaphore.h>
5
 # include <semaphore.h>
Lines 8-14 Link Here
8
 
8
 
9
 #ifdef	malloc
9
 #ifdef	malloc
10
 #undef	malloc
10
 #undef	malloc
11
@@ -670,6 +671,27 @@
11
@@ -668,6 +669,27 @@ memalign(size_t alignment, size_t userSize)
12
 	release();
12
 	release();
13
 
13
 
14
 	return address;
14
 	return address;
(-)devel/ElectricFence/files/patch-longjmp (-27 lines)
Removed Link Here
1
--- eftest.c	Tue Jun  2 09:25:10 1998
2
+++ eftest.c	Tue Jun  2 09:24:58 1998
3
@@ -24,7 +24,7 @@
4
 extern int	EF_PROTECT_BELOW;
5
 extern int	EF_ALIGNMENT;
6
 
7
-static jmp_buf	env;
8
+static sigjmp_buf	env;
9
 
10
 /*
11
  * There is still too little standardization of the arguments and return
12
@@ -40,13 +40,13 @@
13
 )
14
  {
15
 	signal(PAGE_PROTECTION_VIOLATED_SIGNAL, SIG_DFL);
16
-	longjmp(env, 1);
17
+	siglongjmp(env, 1);
18
 }
19
 
20
 static int
21
 gotSegmentationFault(int (*test)(void))
22
 {
23
-	if ( setjmp(env) == 0 ) {
24
+	if ( sigsetjmp(env, 1) == 0 ) {
25
 		int			status;
26
 
27
 		signal(PAGE_PROTECTION_VIOLATED_SIGNAL
(-)devel/ElectricFence/files/patch-mmap-size (-28 lines)
Removed Link Here
1
Found at:
2
	http://www.redhat.com/archives/fedora-cvs-commits/2007-March/msg00788.html
3
4
Size is, correctly, size_t and mmap, correctly, takes
5
size_t as the size argument; the cast to int flunks
6
64bit thinking.
7
8
diff -Naur ElectricFence-2.2.2/page.c ElectricFence-2.2.3/page.c
9
--- page.c	2007-03-16 13:20:44.000000000 -0400
10
+++ page.c	2007-03-16 13:23:28.000000000 -0400
11
@@ -70,7 +70,7 @@
12
 	 */
13
 	allocation = (caddr_t) mmap(
14
 	 startAddr
15
-	,(int)size
16
+	,size
17
 	,PROT_READ|PROT_WRITE
18
 	,MAP_PRIVATE|MAP_ANONYMOUS
19
 	,-1
20
@@ -122,7 +122,7 @@
21
 	 */
22
 	allocation = (caddr_t) mmap(
23
 	 startAddr
24
-	,(int)size
25
+	,size
26
 	,PROT_READ|PROT_WRITE
27
 	,MAP_PRIVATE
28
 	,devZeroFd
(-)devel/ElectricFence/files/patch-page.c (-2 / +20 lines)
Lines 1-5 Link Here
1
--- page.c.orig	Sun Apr 11 14:45:26 1999
1
--- page.c.orig	2020-01-27 13:08:36 UTC
2
+++ page.c	Sat Aug 26 18:19:58 2000
2
+++ page.c
3
@@ -29,7 +29,7 @@
3
@@ -29,7 +29,7 @@
4
 
4
 
5
 static caddr_t	startAddr = (caddr_t) 0;
5
 static caddr_t	startAddr = (caddr_t) 0;
Lines 9-11 Link Here
9
 extern int	sys_nerr;
9
 extern int	sys_nerr;
10
 extern char *	sys_errlist[];
10
 extern char *	sys_errlist[];
11
 #endif
11
 #endif
12
@@ -70,7 +70,7 @@ Page_Create(size_t size)
13
 	 */
14
 	allocation = (caddr_t) mmap(
15
 	 startAddr
16
-	,(int)size
17
+	,size
18
 	,PROT_READ|PROT_WRITE
19
 	,MAP_PRIVATE|MAP_ANONYMOUS
20
 	,-1
21
@@ -122,7 +122,7 @@ Page_Create(size_t size)
22
 	 */
23
 	allocation = (caddr_t) mmap(
24
 	 startAddr
25
-	,(int)size
26
+	,size
27
 	,PROT_READ|PROT_WRITE
28
 	,MAP_PRIVATE
29
 	,devZeroFd
(-)devel/ElectricFence/files/patch-vaarg (-11 lines)
Removed Link Here
1
--- print.c	Thu Jan 19 23:54:26 1995
2
+++ print.c	Tue May 16 07:43:45 2000
3
@@ -99,7 +99,7 @@ vprint(const char * pattern, va_list arg
4
 				break;
5
 			case 'c':
6
 				{
7
-					char	c = va_arg(args, char);
8
+					char	c = va_arg(args, int);
9
 					
10
 					(void) write(2, &c, 1);
11
 				}
(-)devel/Makefile (+1 lines)
Lines 5150-5155 Link Here
5150
    SUBDIR += py-versiontools
5150
    SUBDIR += py-versiontools
5151
    SUBDIR += py-vine
5151
    SUBDIR += py-vine
5152
    SUBDIR += py-virtualenv
5152
    SUBDIR += py-virtualenv
5153
    SUBDIR += py-virtualenv20
5153
    SUBDIR += py-virtualenv-clone
5154
    SUBDIR += py-virtualenv-clone
5154
    SUBDIR += py-virtualenvwrapper
5155
    SUBDIR += py-virtualenvwrapper
5155
    SUBDIR += py-visitor
5156
    SUBDIR += py-visitor
(-)devel/adacurses/Makefile (-1 / +1 lines)
Lines 13-19 COMMENT= Ada95 bindings for ncurses Link Here
13
LICENSE=	MIT
13
LICENSE=	MIT
14
LICENSE_FILE=	${WRKSRC}/README
14
LICENSE_FILE=	${WRKSRC}/README
15
15
16
USES=		ada gmake pkgconfig ncurses:port tar:tgz
16
USES=		ada gmake pkgconfig ncurses tar:tgz
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	--with-ada-include=${PREFIX}/include/adacurses \
18
CONFIGURE_ARGS=	--with-ada-include=${PREFIX}/include/adacurses \
19
		--with-ada-objects=${PREFIX}/lib/adacurses \
19
		--with-ada-objects=${PREFIX}/lib/adacurses \
(-)devel/alog/Makefile (-5 lines)
Lines 32-42 DOCS_ALL_TARGET= doc Link Here
32
TEST_BUILD_DEPENDS=	${LOCALBASE}/lib/gnat/ahven.gpr:devel/ahven
32
TEST_BUILD_DEPENDS=	${LOCALBASE}/lib/gnat/ahven.gpr:devel/ahven
33
TEST_ALL_TARGET=	tests
33
TEST_ALL_TARGET=	tests
34
34
35
post-patch:
36
	${REINPLACE_CMD} -e '/^NUM_CPUS/d' ${WRKSRC}/Makefile
37
	${REINPLACE_CMD} -e 's/\(not-allowed\)/NONEXISTENT\/\1/' \
38
		${WRKSRC}/tests/facility_tests-fd.adb
39
40
do-install:
35
do-install:
41
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
36
	${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
42
		${STAGEDIR}${PREFIX}/lib/alog \
37
		${STAGEDIR}${PREFIX}/lib/alog \
(-)devel/autoconf/Makefile (-1 / +1 lines)
Lines 40-46 GENERIC_LINKS= autoconf autoheader autom4te autoreconf autoscan autoupdate \ Link Here
40
40
41
post-patch:
41
post-patch:
42
	@(cd ${WRKSRC}/man && \
42
	@(cd ${WRKSRC}/man && \
43
		for file in *.[1x]; do \
43
		for file in autoconf.1 autoheader.1 autom4te.1 autoreconf.1 autoscan.1 autoupdate.1 common.x config.guess.1 config.guess.x config.sub.1 config.sub.x ifnames.1 ifnames.x ; do \
44
			${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \
44
			${REINPLACE_CMD} -E 's,([^-]auto)(conf|make|reconf|update|header|scan),\1\2-${BUILD_VERSION},g ; \
45
						s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \
45
						s,(config\.guess|config\.sub|ifnames),\1-${BUILD_VERSION},g' $$file ; \
46
		done)
46
		done)
(-)devel/bison/Makefile (-4 lines)
Lines 34-41 NLS_CONFIGURE_OFF= ac_cv_libtextstyle=no Link Here
34
NLS_LIB_DEPENDS=	libtextstyle.so:devel/libtextstyle
34
NLS_LIB_DEPENDS=	libtextstyle.so:devel/libtextstyle
35
NLS_USES=		gettext
35
NLS_USES=		gettext
36
36
37
post-patch:
38
	@${REINPLACE_CMD} -e 's|$$(docdir)\(/examples\)|$$(datarootdir)\1/bison|' ${WRKSRC}/Makefile.in
39
	@${GREP} -l '_Noreturn void' ${WRKSRC}/lib/*.[ch] | ${XARGS} -J % ${REINPLACE_CMD} -e 's|\(.*\) _Noreturn void|_Noreturn \1 void|' %
40
41
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)devel/boost-libs/Makefile (-6 lines)
Lines 50-59 post-install: Link Here
50
50
51
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
51
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
52
52
53
	@${REINPLACE_CMD} \
54
		-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
55
		-e "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" \
56
		-e "s|%%PYTHON_LIBDIR%%|${PYTHON_LIBDIR}|g" \
57
		-e "s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g" ${PKGMESSAGE}
58
59
.include <bsd.port.mk>
53
.include <bsd.port.mk>
(-)devel/bzr/Makefile (-1 / +1 lines)
Lines 22-28 OPTIONS_DEFAULT= SFTP CA_BUNDLE Link Here
22
SFTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
22
SFTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
23
CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
23
CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
24
24
25
USES=		gettext python:2.7 shebangfix tar:xz
25
USES=		gettext python shebangfix tar:xz
26
SHEBANG_FILES=	bzr
26
SHEBANG_FILES=	bzr
27
USE_PYTHON=	distutils cython autoplist
27
USE_PYTHON=	distutils cython autoplist
28
PYDISTUTILS_PKGNAME=	bzr
28
PYDISTUTILS_PKGNAME=	bzr
(-)devel/cvschk/Makefile (-5 / +6 lines)
Lines 15-30 COMMENT= Quick offline checker for CVS modifications Link Here
15
15
16
LICENSE=	GPLv1
16
LICENSE=	GPLv1
17
17
18
USES=		perl5
18
USES=		perl5 shebangfix
19
USE_PERL5=	run
19
USE_PERL5=	run
20
NO_BUILD=	yes
20
NO_BUILD=	yes
21
NO_WRKSUBDIR=	yes
21
NO_WRKSUBDIR=	yes
22
SHEBANG_FILES=	${DISTNAME}
22
23
23
PLIST_FILES=	bin/cvschk man/man1/cvschk.1.gz
24
PLIST_FILES=	bin/cvschk \
25
		man/man1/cvschk.1.gz
24
26
25
do-configure:
27
do-extract:
26
	${SED} -e "s,^#!/usr/bin/perl -w,#! ${PERL} -w," \
28
	@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}
27
	<${DISTDIR}/${DISTNAME} >${WRKSRC}/${DISTNAME}
28
29
29
do-install:
30
do-install:
30
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin
31
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin
(-)devel/dee/Makefile (-1 / +1 lines)
Lines 16-22 LICENSE= GPLv3 Link Here
16
BUILD_DEPENDS=	vapigen:lang/vala
16
BUILD_DEPENDS=	vapigen:lang/vala
17
LIB_DEPENDS=	libicutu.so:devel/icu
17
LIB_DEPENDS=	libicutu.so:devel/icu
18
18
19
USES=		gmake gnome libtool localbase pathfix pkgconfig python:2.7
19
USES=		gmake gnome libtool localbase pathfix pkgconfig python
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USE_GNOME=	glib20 introspection:build pygobject3
21
USE_GNOME=	glib20 introspection:build pygobject3
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
(-)devel/git/Makefile (-45 / +42 lines)
Lines 24-30 CONFLICTS_INSTALL?= git-gui-[0-9]* git-lite-[0-9]* Link Here
24
USERS=		git_daemon
24
USERS=		git_daemon
25
GROUPS=		git_daemon
25
GROUPS=		git_daemon
26
26
27
SUB_FILES=	pkg-message gitweb.conf
27
SUB_FILES=	gitweb.conf pkg-message
28
28
29
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
30
CPPFLAGS+=	-isystem${LOCALBASE}/include
30
CPPFLAGS+=	-isystem${LOCALBASE}/include
Lines 32-73 LDFLAGS+= -L${LOCALBASE}/lib Link Here
32
MAKE_ARGS+=	DEVELOPER=
32
MAKE_ARGS+=	DEVELOPER=
33
MAKE_ENV+=	V=1
33
MAKE_ENV+=	V=1
34
USE_RC_SUBR=	git_daemon
34
USE_RC_SUBR=	git_daemon
35
SHEBANG_FILES=	*.perl */*.perl */*/*.perl */*.pl */*/*.pl */*/*/*.pl \
35
SHEBANG_FILES=	*.perl */*.perl */*.pl */*/*.perl */*/*.pl */*/*/*.pl \
36
		t/*/*/pre t/*/*/post t/Git-SVN/Utils/*.t \
36
		contrib/buildsystems/generate contrib/contacts/git-contacts \
37
		git-p4.py \
37
		contrib/credential/netrc/git-credential-netrc.perl \
38
		contrib/fast-import/import-zips.py \
38
		contrib/hg-to-git/hg-to-git.py \
39
		contrib/hg-to-git/hg-to-git.py \
39
		contrib/hooks/update-paranoid \
40
		contrib/hooks/multimail/post-receive.example \
41
		contrib/hooks/multimail/git_multimail.py \
40
		contrib/hooks/multimail/git_multimail.py \
42
		contrib/hooks/multimail/migrate-mailhook-config \
41
		contrib/hooks/multimail/migrate-mailhook-config \
43
		contrib/fast-import/import-zips.py \
42
		contrib/hooks/multimail/post-receive.example \
43
		contrib/hooks/update-paranoid \
44
		contrib/remote-helpers/git-remote-bzr \
44
		contrib/remote-helpers/git-remote-bzr \
45
		contrib/remote-helpers/git-remote-hg \
45
		contrib/remote-helpers/git-remote-hg \
46
		contrib/credential/netrc/git-credential-netrc.perl \
46
		contrib/svn-fe/svnrdump_sim.py git-p4.py t/*/*/post t/*/*/pre \
47
		contrib/buildsystems/generate contrib/contacts/git-contacts \
47
		t/Git-SVN/Utils/*.t templates/hooks--fsmonitor-watchman.sample
48
		contrib/svn-fe/svnrdump_sim.py \
49
		templates/hooks--fsmonitor-watchman.sample
50
TEST_TARGET=	test
48
TEST_TARGET=	test
51
49
52
CONFIGURE_ARGS=	--enable-pthreads=-pthread ac_cv_header_libcharset_h=no
50
CONFIGURE_ARGS=	--enable-pthreads=-pthread \
51
		ac_cv_header_libcharset_h=no
53
52
54
OPTIONS_RADIO=	PCRE_VERSION
53
OPTIONS_RADIO=			PCRE_VERSION
55
OPTIONS_RADIO_PCRE_VERSION=	PCRE PCRE2
54
OPTIONS_RADIO_PCRE_VERSION=	PCRE PCRE2
56
OPTIONS_DEFINE=	GUI SVN GITWEB CONTRIB P4 CVS HTMLDOCS PERL ICONV CURL \
55
OPTIONS_DEFINE=			CONTRIB CURL CVS GITWEB GUI HTMLDOCS ICONV NLS \
57
		SEND_EMAIL NLS SUBTREE
56
				P4 PERL SEND_EMAIL SUBTREE SVN
58
OPTIONS_DEFAULT=	CONTRIB P4 CVS PERL GITWEB ICONV CURL SEND_EMAIL PCRE \
57
OPTIONS_DEFAULT=		CONTRIB CURL CVS GITWEB ICONV P4 PCRE PERL \
59
			SUBTREE SVN
58
				SEND_EMAIL SUBTREE SVN
60
OPTIONS_SUB=	yes
59
OPTIONS_SUB=			yes
61
60
62
CONTRIB_DESC=	Install contributed scripts
61
CONTRIB_DESC=		Install contributed scripts
63
CURL_DESC=	Install curl support (provides HTTPS transport)
62
CURL_DESC=		Install curl support (provides HTTPS transport)
64
CVS_DESC=	Enable CVS support
63
CVS_DESC=		Enable CVS support
65
GITWEB_DESC=	Install gitweb
64
GITWEB_DESC=		Install gitweb
66
HTMLDOCS_DESC=	Install additional documentation
65
HTMLDOCS_DESC=		Install additional documentation
67
P4_DESC=	Enable Perforce support
66
P4_DESC=		Enable Perforce support
68
PCRE2_DESC=	Use Perl Compatible Regular Expressions (v2)
67
PCRE2_DESC=		Use Perl Compatible Regular Expressions (v2)
69
SEND_EMAIL_DESC=Enable the git-send-email(1) script
68
SEND_EMAIL_DESC=	Enable the git-send-email(1) script
70
SUBTREE_DESC=	Install git-subtree
69
SUBTREE_DESC=		Install git-subtree
71
70
72
NLS_USES=		gettext
71
NLS_USES=		gettext
73
NLS_MAKE_ARGS_OFF=	NO_GETTEXT=yes
72
NLS_MAKE_ARGS_OFF=	NO_GETTEXT=yes
Lines 97-108 CURL_MAKE_ENV= CURLDIR=${LOCALBASE} Link Here
97
CURL_BUILD_DEPENDS=	curl:ftp/curl
96
CURL_BUILD_DEPENDS=	curl:ftp/curl
98
CURL_RUN_DEPENDS=	curl:ftp/curl
97
CURL_RUN_DEPENDS=	curl:ftp/curl
99
CURL_LIB_DEPENDS=	libexpat.so:textproc/expat2
98
CURL_LIB_DEPENDS=	libexpat.so:textproc/expat2
100
CURL_MAKE_ARGS_OFF=	NO_CURL=1 NO_EXPAT=1
99
CURL_MAKE_ARGS_OFF=	NO_CURL=1 \
100
			NO_EXPAT=1
101
101
102
HTMLDOCS_DISTFILES=	${PORTNAME}-htmldocs-${DISTVERSION}${EXTRACT_SUFX}
102
HTMLDOCS_DISTFILES=	${PORTNAME}-htmldocs-${DISTVERSION}${EXTRACT_SUFX}
103
103
104
GUI_USES=		tk
104
GUI_USES=		tk
105
GUI_MAKE_ARGS=		TCL_PATH=${TCLSH} TCLTK_PATH=${WISH}
105
GUI_MAKE_ARGS=		TCL_PATH=${TCLSH} \
106
			TCLTK_PATH=${WISH}
106
GUI_MAKE_ARGS_OFF=	NO_TCLTK=yes
107
GUI_MAKE_ARGS_OFF=	NO_TCLTK=yes
107
108
108
SVN_RUN_DEPENDS=	p5-Term-ReadKey>=0:devel/p5-Term-ReadKey
109
SVN_RUN_DEPENDS=	p5-Term-ReadKey>=0:devel/p5-Term-ReadKey
Lines 112-118 SVN_RUN_DEPENDS+= p5-subversion-lts>=0:devel/p5-subversion Link Here
112
SVN_RUN_DEPENDS+=	p5-subversion>=0:devel/p5-subversion
113
SVN_RUN_DEPENDS+=	p5-subversion>=0:devel/p5-subversion
113
.endif
114
.endif
114
115
115
SUBTREE_BUILD_DEPENDS=	asciidoctor:textproc/rubygem-asciidoctor\
116
SUBTREE_BUILD_DEPENDS=	asciidoctor:textproc/rubygem-asciidoctor \
116
			xmlto:textproc/xmlto
117
			xmlto:textproc/xmlto
117
118
118
CVS_RUN_DEPENDS=	cvsps:devel/cvsps
119
CVS_RUN_DEPENDS=	cvsps:devel/cvsps
Lines 125-140 ALL_TARGET= all strip Link Here
125
.endif
126
.endif
126
127
127
.if ${PORT_OPTIONS:MP4} || ${PORT_OPTIONS:MCONTRIB}
128
.if ${PORT_OPTIONS:MP4} || ${PORT_OPTIONS:MCONTRIB}
128
USES+=		python
129
USES+=			python
129
CONFIGURE_ARGS+=	--with-python=${PYTHON_CMD}
130
CONFIGURE_ARGS+=	--with-python=${PYTHON_CMD}
130
.else
131
.else
131
CONFIGURE_ARGS+=	--without-python
132
CONFIGURE_ARGS+=	--without-python
132
.endif
133
.endif
133
134
134
.if empty(PORT_OPTIONS:MGUI)
135
.if empty(PORT_OPTIONS:MGUI)
135
RMMAN1+=	git-citool.1 \
136
RMMAN1+=	git-citool.1 git-gui.1 gitk.1
136
		git-gui.1 \
137
		gitk.1
138
.endif
137
.endif
139
138
140
.if empty(PORT_OPTIONS:MSVN)
139
.if empty(PORT_OPTIONS:MSVN)
Lines 142-150 RMMAN1+= git-svn.1 Link Here
142
.endif
141
.endif
143
142
144
.if empty(PORT_OPTIONS:MCVS)
143
.if empty(PORT_OPTIONS:MCVS)
145
RMMAN1+=	git-cvsimport.1 \
144
RMMAN1+=	git-cvsimport.1 git-cvsexportcommit.1 git-cvsserver.1
146
		git-cvsexportcommit.1 \
147
		git-cvsserver.1
148
RMMAN7+=	gitcvs-migration.7
145
RMMAN7+=	gitcvs-migration.7
149
.endif
146
.endif
150
147
Lines 207-216 post-install: Link Here
207
		${STAGEDIR}${PREFIX}/share/emacs/site-lisp/git/
204
		${STAGEDIR}${PREFIX}/share/emacs/site-lisp/git/
208
205
209
post-install-HTMLDOCS-on:
206
post-install-HTMLDOCS-on:
210
	# Manually remove the index.html symlink before installing, and then
207
# Manually remove the index.html symlink before installing, and then
211
	# recreate it after. This is necessary because the distfile is
208
# recreate it after. This is necessary because the distfile is
212
	# extracted with --no-same-owner. If the distfile is extracted as a
209
# extracted with --no-same-owner. If the distfile is extracted as a
213
	# non-root user then the symlink will have the incorrect owner.
210
# non-root user then the symlink will have the incorrect owner.
214
	${RM} ${WRKDIR}/htmldocs/index.html
211
	${RM} ${WRKDIR}/htmldocs/index.html
215
	${MKDIR} ${STAGEDIR}${DOCSDIR}
212
	${MKDIR} ${STAGEDIR}${DOCSDIR}
216
	(cd ${WRKDIR}/htmldocs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
213
	(cd ${WRKDIR}/htmldocs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
Lines 224-237 post-install-CONTRIB-on: Link Here
224
	@${ECHO_MSG} "===> Installing contributed scripts"
221
	@${ECHO_MSG} "===> Installing contributed scripts"
225
	${MKDIR} ${STAGEDIR}${PREFIX}/share/git-core/contrib
222
	${MKDIR} ${STAGEDIR}${PREFIX}/share/git-core/contrib
226
	${CP} -R ${WRKSRC}/contrib/* ${STAGEDIR}${PREFIX}/share/git-core/contrib
223
	${CP} -R ${WRKSRC}/contrib/* ${STAGEDIR}${PREFIX}/share/git-core/contrib
227
	# Symlink the completions from the contrib directory to where they
224
# Symlink the completions from the contrib directory to where they
228
	# will be useful
225
# will be useful
229
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
226
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
230
	@${LN} -s ../../share/git-core/contrib/completion/git-completion.bash \
227
	@${LN} -s ../../share/git-core/contrib/completion/git-completion.bash \
231
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/
228
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/
232
229
233
post-install-CONTRIB-off:
230
post-install-CONTRIB-off:
234
	# Install the contrib completions anyway
231
# Install the contrib completions anyway
235
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
232
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
236
	${INSTALL_SCRIPT} ${WRKSRC}/contrib/completion/git-completion.bash \
233
	${INSTALL_SCRIPT} ${WRKSRC}/contrib/completion/git-completion.bash \
237
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/
234
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/
(-)devel/gobject-introspection/Makefile (-7 / +22 lines)
Lines 2-15 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gobject-introspection
4
PORTNAME=	gobject-introspection
5
PORTVERSION=	1.56.1
5
PORTVERSION=	1.64.1
6
PORTREVISION=	1
7
PORTEPOCH=	1
6
PORTEPOCH=	1
8
CATEGORIES=	devel
7
CATEGORIES=	devel
9
MASTER_SITES=	GNOME
8
MASTER_SITES=	GNOME
10
DIST_SUBDIR=	gnome
9
DIST_SUBDIR=	gnome
11
10
12
MAINTAINER=	desktop@FreeBSD.org
11
MAINTAINER=	gnome@FreeBSD.org
13
COMMENT=	Generate interface introspection data for GObject libraries
12
COMMENT=	Generate interface introspection data for GObject libraries
14
13
15
LICENSE=	GPLv2+ LGPL20+
14
LICENSE=	GPLv2+ LGPL20+
Lines 23-37 LIB_DEPENDS= libffi.so:devel/libffi Link Here
23
22
24
PORTSCOUT=	limitw:1,even
23
PORTSCOUT=	limitw:1,even
25
24
26
USES=		bison gettext gmake gnome libtool localbase pathfix \
25
USES=		bison gettext gnome localbase meson \
27
		pkgconfig python:3.4+ tar:xz
26
		pkgconfig python:3.4+ tar:xz
28
GNU_CONFIGURE=	yes
29
USE_GNOME=	glib20
27
USE_GNOME=	glib20
30
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
31
CONFIGURE_ARGS=	--disable-doctool
29
32
INSTALL_TARGET=	install-strip
30
MESON_ARGS=	-Dpython=${PYTHON_CMD}
33
31
34
# Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
32
# Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
35
MAKE_ENV=	HOME=${WRKDIR}
33
MAKE_ENV=	HOME=${WRKDIR}
36
34
35
post-patch:
36
	@${REINPLACE_CMD} -e 's|@PYTHON_CMD@|/usr/bin/env ${PYTHON_VERSION}|g' \
37
		${WRKSRC}/tools/g-ir-tool-template.in
38
39
GIRLIBDIR=	${PREFIX}/lib/gobject-introspection/giscanner
40
41
post-install:
42
# generates .py[co] files for installed modules
43
# if that's not done, ${PYTHON_SITELIBDIR}/gps will be polluted
44
# with these files when module is imported from root user
45
	@${FIND} ${STAGEDIR}${PREFIX} -name \*.pyc -delete
46
	(cd ${STAGEDIR}${PREFIX} && \
47
	${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
48
		-d ${GIRLIBDIR} -f ${GIRLIBDIR:S;${PREFIX}/;;} && \
49
	${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
50
		-d ${GIRLIBDIR} -f ${GIRLIBDIR:S;${PREFIX}/;;})
51
37
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)devel/gobject-introspection/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1525378740
1
TIMESTAMP = 1586148225
2
SHA256 (gnome/gobject-introspection-1.56.1.tar.xz) = 5b2875ccff99ff7baab63a34b67f8c920def240e178ff50add809e267d9ea24b
2
SHA256 (gnome/gobject-introspection-1.64.1.tar.xz) = 80beae6728c134521926affff9b2e97125749b38d38744dc901f4010ee3e7fa7
3
SIZE (gnome/gobject-introspection-1.56.1.tar.xz) = 1397812
3
SIZE (gnome/gobject-introspection-1.64.1.tar.xz) = 1000280
(-)devel/gobject-introspection/files/patch-tests_Makefile.in (-20 lines)
Removed Link Here
1
--- tests/Makefile.in.orig	2017-04-17 10:01:31 UTC
2
+++ tests/Makefile.in
3
@@ -1257,7 +1257,7 @@ everything.h: everything-stamp.h
4
 	@true
5
 
6
 Everything-1.0.gir: libeverything-1.0.la Makefile
7
-	$(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate \
8
+	$(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error \
9
 	--namespace=Everything --nsversion=1.0 \
10
 	--libtool="$(LIBTOOL)" \
11
 	--add-include-path=$(top_builddir) --include=Gio-2.0 \
12
@@ -1266,7 +1266,7 @@ Everything-1.0.gir: libeverything-1.0.la Makefile
13
 	everything.h everything.c
14
 
15
 GIMarshallingTests-1.0.gir: libgimarshallingtests-1.0.la Makefile
16
-	$(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error --reparse-validate \
17
+	$(AM_V_GEN) $(INTROSPECTION_SCANNER) $(INTROSPECTION_SCANNER_ARGS) --warn-all --warn-error \
18
 	--namespace=GIMarshallingTests --symbol-prefix=gi_marshalling_tests --nsversion=1.0 \
19
 	--libtool="$(LIBTOOL)" \
20
 	--add-include-path=$(top_builddir) --include=Gio-2.0 \
(-)devel/gobject-introspection/pkg-plist (-56 / +74 lines)
Lines 22-27 include/gobject-introspection-1.0/gitypeinfo.h Link Here
22
include/gobject-introspection-1.0/gitypelib.h
22
include/gobject-introspection-1.0/gitypelib.h
23
include/gobject-introspection-1.0/gitypes.h
23
include/gobject-introspection-1.0/gitypes.h
24
include/gobject-introspection-1.0/giunioninfo.h
24
include/gobject-introspection-1.0/giunioninfo.h
25
include/gobject-introspection-1.0/giversion.h
25
include/gobject-introspection-1.0/giversionmacros.h
26
include/gobject-introspection-1.0/giversionmacros.h
26
include/gobject-introspection-1.0/givfuncinfo.h
27
include/gobject-introspection-1.0/givfuncinfo.h
27
lib/girepository-1.0/DBus-1.0.typelib
28
lib/girepository-1.0/DBus-1.0.typelib
Lines 32-37 lib/girepository-1.0/GLib-2.0.typelib Link Here
32
lib/girepository-1.0/GModule-2.0.typelib
33
lib/girepository-1.0/GModule-2.0.typelib
33
lib/girepository-1.0/GObject-2.0.typelib
34
lib/girepository-1.0/GObject-2.0.typelib
34
lib/girepository-1.0/Gio-2.0.typelib
35
lib/girepository-1.0/Gio-2.0.typelib
36
lib/girepository-1.0/Vulkan-1.0.typelib
35
lib/girepository-1.0/cairo-1.0.typelib
37
lib/girepository-1.0/cairo-1.0.typelib
36
lib/girepository-1.0/fontconfig-2.0.typelib
38
lib/girepository-1.0/fontconfig-2.0.typelib
37
lib/girepository-1.0/freetype2-2.0.typelib
39
lib/girepository-1.0/freetype2-2.0.typelib
Lines 44-49 lib/girepository-1.0/xrandr-1.3.typelib Link Here
44
lib/gobject-introspection/giscanner/__init__.py
46
lib/gobject-introspection/giscanner/__init__.py
45
lib/gobject-introspection/giscanner/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
47
lib/gobject-introspection/giscanner/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
46
lib/gobject-introspection/giscanner/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
48
lib/gobject-introspection/giscanner/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
49
lib/gobject-introspection/giscanner/__pycache__/_version.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
50
lib/gobject-introspection/giscanner/__pycache__/_version.cpython-%%PYTHON_SUFFIX%%.pyc
47
lib/gobject-introspection/giscanner/__pycache__/annotationmain.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
51
lib/gobject-introspection/giscanner/__pycache__/annotationmain.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
48
lib/gobject-introspection/giscanner/__pycache__/annotationmain.cpython-%%PYTHON_SUFFIX%%.pyc
52
lib/gobject-introspection/giscanner/__pycache__/annotationmain.cpython-%%PYTHON_SUFFIX%%.pyc
49
lib/gobject-introspection/giscanner/__pycache__/annotationparser.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
53
lib/gobject-introspection/giscanner/__pycache__/annotationparser.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
Lines 74-83 lib/gobject-introspection/giscanner/__pycache__/libtoolimporter.cpython-%%PYTHON Link Here
74
lib/gobject-introspection/giscanner/__pycache__/libtoolimporter.cpython-%%PYTHON_SUFFIX%%.pyc
78
lib/gobject-introspection/giscanner/__pycache__/libtoolimporter.cpython-%%PYTHON_SUFFIX%%.pyc
75
lib/gobject-introspection/giscanner/__pycache__/maintransformer.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
79
lib/gobject-introspection/giscanner/__pycache__/maintransformer.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
76
lib/gobject-introspection/giscanner/__pycache__/maintransformer.cpython-%%PYTHON_SUFFIX%%.pyc
80
lib/gobject-introspection/giscanner/__pycache__/maintransformer.cpython-%%PYTHON_SUFFIX%%.pyc
81
lib/gobject-introspection/giscanner/__pycache__/mdextensions.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
82
lib/gobject-introspection/giscanner/__pycache__/mdextensions.cpython-%%PYTHON_SUFFIX%%.pyc
77
lib/gobject-introspection/giscanner/__pycache__/message.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
83
lib/gobject-introspection/giscanner/__pycache__/message.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
78
lib/gobject-introspection/giscanner/__pycache__/message.cpython-%%PYTHON_SUFFIX%%.pyc
84
lib/gobject-introspection/giscanner/__pycache__/message.cpython-%%PYTHON_SUFFIX%%.pyc
79
lib/gobject-introspection/giscanner/__pycache__/msvccompiler.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
85
lib/gobject-introspection/giscanner/__pycache__/msvccompiler.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
80
lib/gobject-introspection/giscanner/__pycache__/msvccompiler.cpython-%%PYTHON_SUFFIX%%.pyc
86
lib/gobject-introspection/giscanner/__pycache__/msvccompiler.cpython-%%PYTHON_SUFFIX%%.pyc
87
lib/gobject-introspection/giscanner/__pycache__/pkgconfig.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
88
lib/gobject-introspection/giscanner/__pycache__/pkgconfig.cpython-%%PYTHON_SUFFIX%%.pyc
81
lib/gobject-introspection/giscanner/__pycache__/scannermain.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
89
lib/gobject-introspection/giscanner/__pycache__/scannermain.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
82
lib/gobject-introspection/giscanner/__pycache__/scannermain.cpython-%%PYTHON_SUFFIX%%.pyc
90
lib/gobject-introspection/giscanner/__pycache__/scannermain.cpython-%%PYTHON_SUFFIX%%.pyc
83
lib/gobject-introspection/giscanner/__pycache__/sectionparser.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
91
lib/gobject-introspection/giscanner/__pycache__/sectionparser.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
Lines 94-162 lib/gobject-introspection/giscanner/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%. Link Here
94
lib/gobject-introspection/giscanner/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.pyc
102
lib/gobject-introspection/giscanner/__pycache__/utils.cpython-%%PYTHON_SUFFIX%%.pyc
95
lib/gobject-introspection/giscanner/__pycache__/xmlwriter.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
103
lib/gobject-introspection/giscanner/__pycache__/xmlwriter.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
96
lib/gobject-introspection/giscanner/__pycache__/xmlwriter.cpython-%%PYTHON_SUFFIX%%.pyc
104
lib/gobject-introspection/giscanner/__pycache__/xmlwriter.cpython-%%PYTHON_SUFFIX%%.pyc
97
lib/gobject-introspection/giscanner/_giscanner.a
98
lib/gobject-introspection/giscanner/_giscanner.so
105
lib/gobject-introspection/giscanner/_giscanner.so
106
lib/gobject-introspection/giscanner/_version.py
99
lib/gobject-introspection/giscanner/annotationmain.py
107
lib/gobject-introspection/giscanner/annotationmain.py
100
lib/gobject-introspection/giscanner/annotationparser.py
108
lib/gobject-introspection/giscanner/annotationparser.py
101
lib/gobject-introspection/giscanner/ast.py
109
lib/gobject-introspection/giscanner/ast.py
102
lib/gobject-introspection/giscanner/cachestore.py
110
lib/gobject-introspection/giscanner/cachestore.py
103
lib/gobject-introspection/giscanner/ccompiler.py
111
lib/gobject-introspection/giscanner/ccompiler.py
104
lib/gobject-introspection/giscanner/codegen.py
112
lib/gobject-introspection/giscanner/codegen.py
105
lib/gobject-introspection/giscanner/collections/__init__.py
106
lib/gobject-introspection/giscanner/collections/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
107
lib/gobject-introspection/giscanner/collections/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
108
lib/gobject-introspection/giscanner/collections/__pycache__/counter.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
109
lib/gobject-introspection/giscanner/collections/__pycache__/counter.cpython-%%PYTHON_SUFFIX%%.pyc
110
lib/gobject-introspection/giscanner/collections/__pycache__/ordereddict.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
111
lib/gobject-introspection/giscanner/collections/__pycache__/ordereddict.cpython-%%PYTHON_SUFFIX%%.pyc
112
lib/gobject-introspection/giscanner/collections/counter.py
113
lib/gobject-introspection/giscanner/collections/ordereddict.py
114
lib/gobject-introspection/giscanner/docmain.py
113
lib/gobject-introspection/giscanner/docmain.py
115
lib/gobject-introspection/giscanner/doctemplates/C/callback.tmpl
114
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_doc.tmpl
116
lib/gobject-introspection/giscanner/doctemplates/C/class.tmpl
115
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_index.tmpl
117
lib/gobject-introspection/giscanner/doctemplates/C/constructor.tmpl
116
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_method.tmpl
118
lib/gobject-introspection/giscanner/doctemplates/C/default.tmpl
117
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_methods.tmpl
119
lib/gobject-introspection/giscanner/doctemplates/C/enum.tmpl
118
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_properties.tmpl
120
lib/gobject-introspection/giscanner/doctemplates/C/field.tmpl
119
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_signals.tmpl
121
lib/gobject-introspection/giscanner/doctemplates/C/function.tmpl
120
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_staticmethods.tmpl
122
lib/gobject-introspection/giscanner/doctemplates/C/interface.tmpl
121
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/_vfuncs.tmpl
123
lib/gobject-introspection/giscanner/doctemplates/C/method.tmpl
122
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/base.tmpl
124
lib/gobject-introspection/giscanner/doctemplates/C/namespace.tmpl
123
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/callback.tmpl
125
lib/gobject-introspection/giscanner/doctemplates/C/property.tmpl
124
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/class.tmpl
126
lib/gobject-introspection/giscanner/doctemplates/C/record.tmpl
125
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/default.tmpl
127
lib/gobject-introspection/giscanner/doctemplates/C/signal.tmpl
126
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/enum.tmpl
128
lib/gobject-introspection/giscanner/doctemplates/C/vfunc.tmpl
127
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/function.tmpl
129
lib/gobject-introspection/giscanner/doctemplates/Gjs/callback.tmpl
128
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/interface.tmpl
130
lib/gobject-introspection/giscanner/doctemplates/Gjs/class.tmpl
129
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/method.tmpl
131
lib/gobject-introspection/giscanner/doctemplates/Gjs/constructor.tmpl
130
lib/gobject-introspection/giscanner/doctemplates/devdocs/Gjs/namespace.tmpl
132
lib/gobject-introspection/giscanner/doctemplates/Gjs/default.tmpl
131
lib/gobject-introspection/giscanner/doctemplates/mallard/C/callback.tmpl
133
lib/gobject-introspection/giscanner/doctemplates/Gjs/enum.tmpl
132
lib/gobject-introspection/giscanner/doctemplates/mallard/C/class.tmpl
134
lib/gobject-introspection/giscanner/doctemplates/Gjs/field.tmpl
133
lib/gobject-introspection/giscanner/doctemplates/mallard/C/constructor.tmpl
135
lib/gobject-introspection/giscanner/doctemplates/Gjs/function.tmpl
134
lib/gobject-introspection/giscanner/doctemplates/mallard/C/default.tmpl
136
lib/gobject-introspection/giscanner/doctemplates/Gjs/interface.tmpl
135
lib/gobject-introspection/giscanner/doctemplates/mallard/C/enum.tmpl
137
lib/gobject-introspection/giscanner/doctemplates/Gjs/method.tmpl
136
lib/gobject-introspection/giscanner/doctemplates/mallard/C/field.tmpl
138
lib/gobject-introspection/giscanner/doctemplates/Gjs/namespace.tmpl
137
lib/gobject-introspection/giscanner/doctemplates/mallard/C/function.tmpl
139
lib/gobject-introspection/giscanner/doctemplates/Gjs/property.tmpl
138
lib/gobject-introspection/giscanner/doctemplates/mallard/C/interface.tmpl
140
lib/gobject-introspection/giscanner/doctemplates/Gjs/record.tmpl
139
lib/gobject-introspection/giscanner/doctemplates/mallard/C/method.tmpl
141
lib/gobject-introspection/giscanner/doctemplates/Gjs/signal.tmpl
140
lib/gobject-introspection/giscanner/doctemplates/mallard/C/namespace.tmpl
142
lib/gobject-introspection/giscanner/doctemplates/Gjs/vfunc.tmpl
141
lib/gobject-introspection/giscanner/doctemplates/mallard/C/property.tmpl
143
lib/gobject-introspection/giscanner/doctemplates/Python/callback.tmpl
142
lib/gobject-introspection/giscanner/doctemplates/mallard/C/record.tmpl
144
lib/gobject-introspection/giscanner/doctemplates/Python/class.tmpl
143
lib/gobject-introspection/giscanner/doctemplates/mallard/C/signal.tmpl
145
lib/gobject-introspection/giscanner/doctemplates/Python/constructor.tmpl
144
lib/gobject-introspection/giscanner/doctemplates/mallard/C/vfunc.tmpl
146
lib/gobject-introspection/giscanner/doctemplates/Python/default.tmpl
145
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/callback.tmpl
147
lib/gobject-introspection/giscanner/doctemplates/Python/enum.tmpl
146
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/class.tmpl
148
lib/gobject-introspection/giscanner/doctemplates/Python/field.tmpl
147
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/constructor.tmpl
149
lib/gobject-introspection/giscanner/doctemplates/Python/function.tmpl
148
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/default.tmpl
150
lib/gobject-introspection/giscanner/doctemplates/Python/interface.tmpl
149
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/enum.tmpl
151
lib/gobject-introspection/giscanner/doctemplates/Python/method.tmpl
150
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/field.tmpl
152
lib/gobject-introspection/giscanner/doctemplates/Python/namespace.tmpl
151
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/function.tmpl
153
lib/gobject-introspection/giscanner/doctemplates/Python/property.tmpl
152
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/interface.tmpl
154
lib/gobject-introspection/giscanner/doctemplates/Python/record.tmpl
153
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/method.tmpl
155
lib/gobject-introspection/giscanner/doctemplates/Python/signal.tmpl
154
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/namespace.tmpl
156
lib/gobject-introspection/giscanner/doctemplates/Python/vfunc.tmpl
155
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/property.tmpl
157
lib/gobject-introspection/giscanner/doctemplates/base.tmpl
156
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/record.tmpl
158
lib/gobject-introspection/giscanner/doctemplates/class.tmpl
157
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/signal.tmpl
159
lib/gobject-introspection/giscanner/doctemplates/namespace.tmpl
158
lib/gobject-introspection/giscanner/doctemplates/mallard/Gjs/vfunc.tmpl
159
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/callback.tmpl
160
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/class.tmpl
161
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/constructor.tmpl
162
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/default.tmpl
163
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/enum.tmpl
164
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/field.tmpl
165
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/function.tmpl
166
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/interface.tmpl
167
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/method.tmpl
168
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/namespace.tmpl
169
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/property.tmpl
170
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/record.tmpl
171
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/signal.tmpl
172
lib/gobject-introspection/giscanner/doctemplates/mallard/Python/vfunc.tmpl
173
lib/gobject-introspection/giscanner/doctemplates/mallard/base.tmpl
174
lib/gobject-introspection/giscanner/doctemplates/mallard/class.tmpl
175
lib/gobject-introspection/giscanner/doctemplates/mallard/namespace.tmpl
160
lib/gobject-introspection/giscanner/docwriter.py
176
lib/gobject-introspection/giscanner/docwriter.py
161
lib/gobject-introspection/giscanner/dumper.py
177
lib/gobject-introspection/giscanner/dumper.py
162
lib/gobject-introspection/giscanner/gdumpparser.py
178
lib/gobject-introspection/giscanner/gdumpparser.py
Lines 165-172 lib/gobject-introspection/giscanner/girwriter.py Link Here
165
lib/gobject-introspection/giscanner/introspectablepass.py
181
lib/gobject-introspection/giscanner/introspectablepass.py
166
lib/gobject-introspection/giscanner/libtoolimporter.py
182
lib/gobject-introspection/giscanner/libtoolimporter.py
167
lib/gobject-introspection/giscanner/maintransformer.py
183
lib/gobject-introspection/giscanner/maintransformer.py
184
lib/gobject-introspection/giscanner/mdextensions.py
168
lib/gobject-introspection/giscanner/message.py
185
lib/gobject-introspection/giscanner/message.py
169
lib/gobject-introspection/giscanner/msvccompiler.py
186
lib/gobject-introspection/giscanner/msvccompiler.py
187
lib/gobject-introspection/giscanner/pkgconfig.py
170
lib/gobject-introspection/giscanner/scannermain.py
188
lib/gobject-introspection/giscanner/scannermain.py
171
lib/gobject-introspection/giscanner/sectionparser.py
189
lib/gobject-introspection/giscanner/sectionparser.py
172
lib/gobject-introspection/giscanner/shlibs.py
190
lib/gobject-introspection/giscanner/shlibs.py
Lines 175-181 lib/gobject-introspection/giscanner/testcodegen.py Link Here
175
lib/gobject-introspection/giscanner/transformer.py
193
lib/gobject-introspection/giscanner/transformer.py
176
lib/gobject-introspection/giscanner/utils.py
194
lib/gobject-introspection/giscanner/utils.py
177
lib/gobject-introspection/giscanner/xmlwriter.py
195
lib/gobject-introspection/giscanner/xmlwriter.py
178
lib/libgirepository-1.0.a
179
lib/libgirepository-1.0.so
196
lib/libgirepository-1.0.so
180
lib/libgirepository-1.0.so.1
197
lib/libgirepository-1.0.so.1
181
lib/libgirepository-1.0.so.1.0.0
198
lib/libgirepository-1.0.so.1.0.0
Lines 193-198 share/gir-1.0/GLib-2.0.gir Link Here
193
share/gir-1.0/GModule-2.0.gir
210
share/gir-1.0/GModule-2.0.gir
194
share/gir-1.0/GObject-2.0.gir
211
share/gir-1.0/GObject-2.0.gir
195
share/gir-1.0/Gio-2.0.gir
212
share/gir-1.0/Gio-2.0.gir
213
share/gir-1.0/Vulkan-1.0.gir
196
share/gir-1.0/cairo-1.0.gir
214
share/gir-1.0/cairo-1.0.gir
197
share/gir-1.0/fontconfig-2.0.gir
215
share/gir-1.0/fontconfig-2.0.gir
198
share/gir-1.0/freetype2-2.0.gir
216
share/gir-1.0/freetype2-2.0.gir
(-)devel/libublio/Makefile (-10 / +4 lines)
Lines 12-17 COMMENT= User space caching library Link Here
12
12
13
LICENSE=	BSD2CLAUSE
13
LICENSE=	BSD2CLAUSE
14
14
15
USES=		uidfix
16
15
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
16
18
17
.if defined(NO_PROFILE) || defined(NOPROFILE) || defined(WITHOUT_PROFILE) || "${MK_PROFILE}" == "no"
19
.if defined(NO_PROFILE) || defined(NOPROFILE) || defined(WITHOUT_PROFILE) || "${MK_PROFILE}" == "no"
Lines 20-45 PLIST_SUB+= PROFLIB="@comment " Link Here
20
PLIST_SUB+=	PROFLIB=""
22
PLIST_SUB+=	PROFLIB=""
21
.endif
23
.endif
22
24
23
USES=		uidfix
24
25
SRCCONF=	/dev/null
25
SRCCONF=	/dev/null
26
MAKE_ENV+=	SRCCONF=${SRCCONF}
26
MAKE_ENV+=	SRCCONF=${SRCCONF}
27
27
28
SUB_FILES=	libublio.pc
28
SUB_FILES=	libublio.pc
29
SUB_LIST=	PREFIX=${PREFIX} PORTVERSION=${PORTVERSION}
29
SUB_LIST=	PORTVERSION=${PORTVERSION} \
30
		PREFIX=${PREFIX}
30
31
31
OPTIONS_DEFINE=	DOCS
32
OPTIONS_DEFINE=	DOCS
32
33
33
post-extract:
34
post-extract:
34
	@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
35
	@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
35
36
36
# this pre-install is only for debugging pointyhat failures
37
pre-install:
38
	@${ECHO_CMD} "===> Environment:"
39
	@${SETENV} | ${SORT} -f
40
	@${ECHO_CMD} "===> Makefiles used:"
41
	@${ECHO_CMD} ${.MAKEFILE_LIST}
42
43
post-install:
37
post-install:
44
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
38
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
45
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
39
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
(-)devel/lion/Makefile (-4 lines)
Lines 22-31 INCLUDES= base64.h connections.h io.h lfnmatch.h lgroup.h lion.h \ Link Here
22
		lion_rcsid.h lion_types.h misc.h pipe.h sockets.h \
22
		lion_rcsid.h lion_types.h misc.h pipe.h sockets.h \
23
		timers.h tls.h udp.h zlib.h
23
		timers.h tls.h udp.h zlib.h
24
24
25
post-patch:
26
	@${REINPLACE_CMD} -E 's,^(CC|LDFLAGS) *=,\1 ?=,' \
27
		${WRKSRC}/Makefile
28
29
do-install:
25
do-install:
30
	${INSTALL_DATA} ${WRKSRC}/liblion.a ${STAGEDIR}${PREFIX}/lib
26
	${INSTALL_DATA} ${WRKSRC}/liblion.a ${STAGEDIR}${PREFIX}/lib
31
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/lion
27
	@${MKDIR} ${STAGEDIR}${PREFIX}/include/lion
(-)devel/newt/Makefile (-10 / +4 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	newt
3
PORTNAME=	newt
4
PORTVERSION=	0.52.20
4
PORTVERSION=	0.52.21
5
PORTREVISION=	1
6
CATEGORIES=	devel
5
CATEGORIES=	devel
7
MASTER_SITES=	https://releases.pagure.org/newt/
6
MASTER_SITES=	https://releases.pagure.org/newt/
8
7
Lines 12-25 COMMENT= Not Eriks Windowing Toolkit: console I/O handling library Link Here
12
LICENSE=	GPLv2
11
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
14
13
15
LIB_DEPENDS=	libslang.so:devel/libslang2 \
14
LIB_DEPENDS=	libpopt.so:devel/popt \
16
		libpopt.so:devel/popt
15
		libslang.so:devel/libslang2
17
16
18
USES=		gmake ncurses pathfix
17
USES=		gmake ncurses pathfix
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
MAKE_ENV=	PCFLAGS="${CFLAGS}"
19
MAKE_ENV=	PCFLAGS="${CFLAGS}"
21
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
22
MAKE_JOBS_UNSAFE=	yes
23
21
24
CPPFLAGS+=	-I${LOCALBASE}/include
22
CPPFLAGS+=	-I${LOCALBASE}/include
25
LDFLAGS+=	-L${LOCALBASE}/lib -lncurses
23
LDFLAGS+=	-L${LOCALBASE}/lib -lncurses
Lines 37-43 OPTIONS_SUB= yes Link Here
37
NLS_USES=		gettext
35
NLS_USES=		gettext
38
NLS_CONFIGURE_ENABLE=	nls
36
NLS_CONFIGURE_ENABLE=	nls
39
PYTHON_USES=		python
37
PYTHON_USES=		python
40
PYTHON_CONFIGURE_WITH=	python
38
PYTHON_CONFIGURE_WITH=	python=python${PYTHON_VER}
41
TCL_USES=		tcl
39
TCL_USES=		tcl
42
TCL_CONFIGURE_ENV=	ac_cv_c_tclconfig=${TCL_LIBDIR:Q}
40
TCL_CONFIGURE_ENV=	ac_cv_c_tclconfig=${TCL_LIBDIR:Q}
43
TCL_CONFIGURE_WITH=	tcl
41
TCL_CONFIGURE_WITH=	tcl
Lines 56-65 post-patch: Link Here
56
		 /make -C/s|^|#| ; \
54
		 /make -C/s|^|#| ; \
57
		 /whiptcl.$$(SOEXT)/s|install|${TRUE}|' ${WRKSRC}/Makefile.in
55
		 /whiptcl.$$(SOEXT)/s|install|${TRUE}|' ${WRKSRC}/Makefile.in
58
56
59
post-patch-PYTHON-on:
60
	@${REINPLACE_CMD} -e \
61
		'/PYTHONVERS/s|=.*|=${PYTHON_VERSION}|' ${WRKSRC}/configure
62
63
post-install:
57
post-install:
64
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/whiptail
58
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/whiptail
65
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnewt.so
59
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnewt.so
(-)devel/newt/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1489932281
1
TIMESTAMP = 1595562796
2
SHA256 (newt-0.52.20.tar.gz) = 8d66ba6beffc3f786d4ccfee9d2b43d93484680ef8db9397a4fb70b5adbb6dbc
2
SHA256 (newt-0.52.21.tar.gz) = 265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac5abb31
3
SIZE (newt-0.52.20.tar.gz) = 181163
3
SIZE (newt-0.52.21.tar.gz) = 174895
(-)devel/pcre/Makefile (-1 / +37 lines)
Lines 89-96 CONFIGURE_ARGS+= --enable-jit Link Here
89
CONFIGURE_ARGS+=	--disable-jit
89
CONFIGURE_ARGS+=	--disable-jit
90
.endif
90
.endif
91
91
92
RSLIST=		${WRKSRC}/doc/pcre-config.1 ${WRKSRC}/doc/pcre.3 \
93
		${WRKSRC}/doc/pcre16.3 ${WRKSRC}/doc/pcre32.3 \
94
		${WRKSRC}/doc/pcre_assign_jit_stack.3 \
95
		${WRKSRC}/doc/pcre_compile.3 ${WRKSRC}/doc/pcre_compile2.3 \
96
		${WRKSRC}/doc/pcre_config.3 \
97
		${WRKSRC}/doc/pcre_copy_named_substring.3 \
98
		${WRKSRC}/doc/pcre_copy_substring.3 \
99
		${WRKSRC}/doc/pcre_dfa_exec.3 ${WRKSRC}/doc/pcre_exec.3 \
100
		${WRKSRC}/doc/pcre_free_study.3 \
101
		${WRKSRC}/doc/pcre_free_substring.3 \
102
		${WRKSRC}/doc/pcre_free_substring_list.3 \
103
		${WRKSRC}/doc/pcre_fullinfo.3 \
104
		${WRKSRC}/doc/pcre_get_named_substring.3 \
105
		${WRKSRC}/doc/pcre_get_stringnumber.3 \
106
		${WRKSRC}/doc/pcre_get_stringtable_entries.3 \
107
		${WRKSRC}/doc/pcre_get_substring.3 \
108
		${WRKSRC}/doc/pcre_get_substring_list.3 \
109
		${WRKSRC}/doc/pcre_jit_exec.3 \
110
		${WRKSRC}/doc/pcre_jit_stack_alloc.3 \
111
		${WRKSRC}/doc/pcre_jit_stack_free.3 \
112
		${WRKSRC}/doc/pcre_maketables.3 \
113
		${WRKSRC}/doc/pcre_pattern_to_host_byte_order.3 \
114
		${WRKSRC}/doc/pcre_refcount.3 ${WRKSRC}/doc/pcre_study.3 \
115
		${WRKSRC}/doc/pcre_utf16_to_host_byte_order.3 \
116
		${WRKSRC}/doc/pcre_utf32_to_host_byte_order.3 \
117
		${WRKSRC}/doc/pcre_version.3 ${WRKSRC}/doc/pcreapi.3 \
118
		${WRKSRC}/doc/pcrebuild.3 ${WRKSRC}/doc/pcrecallout.3 \
119
		${WRKSRC}/doc/pcrecompat.3 ${WRKSRC}/doc/pcrecpp.3 \
120
		${WRKSRC}/doc/pcregrep.1 ${WRKSRC}/doc/pcrejit.3 \
121
		${WRKSRC}/doc/pcrelimits.3 ${WRKSRC}/doc/pcrematching.3 \
122
		${WRKSRC}/doc/pcrepartial.3 ${WRKSRC}/doc/pcrepattern.3 \
123
		${WRKSRC}/doc/pcreperform.3 ${WRKSRC}/doc/pcreposix.3 \
124
		${WRKSRC}/doc/pcreprecompile.3 ${WRKSRC}/doc/pcresample.3 \
125
		${WRKSRC}/doc/pcrestack.3 ${WRKSRC}/doc/pcresyntax.3 \
126
		${WRKSRC}/doc/pcretest.1 ${WRKSRC}/doc/pcreunicode.3
127
92
post-patch:
128
post-patch:
93
	@${REINPLACE_CMD} -e "/^\.rs/d" ${WRKSRC}/doc/*.3 ${WRKSRC}/doc/*.1
129
	@${REINPLACE_CMD} -e "/^\.rs/d" ${RSLIST}
94
	@${REINPLACE_CMD} -e "s/£//g" ${WRKSRC}/doc/pcre_compile2.3
130
	@${REINPLACE_CMD} -e "s/£//g" ${WRKSRC}/doc/pcre_compile2.3
95
131
96
.include <bsd.port.post.mk>
132
.include <bsd.port.post.mk>
(-)devel/protobuf-c/Makefile (-1 lines)
Lines 25-31 CPPFLAGS+= -I${LOCALBASE}/include Link Here
25
LDFLAGS+=	-L${LOCALBASE}/lib
25
LDFLAGS+=	-L${LOCALBASE}/lib
26
26
27
OPTIONS_DEFINE=	DOXYGEN DOCS
27
OPTIONS_DEFINE=	DOXYGEN DOCS
28
OPTIONS_DEFAULT=	DOXYGEN
29
28
30
PORTDOCS=	*
29
PORTDOCS=	*
31
30
(-)devel/py-argcomplete/Makefile (-1 / +2 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	argcomplete
4
PORTNAME=	argcomplete
5
PORTVERSION=	1.12.0
5
PORTVERSION=	1.12.0
6
PORTREVISION=	1
6
CATEGORIES=	devel python
7
CATEGORIES=	devel python
7
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 26-32 NO_ARCH= yes Link Here
26
.include <bsd.port.pre.mk>
27
.include <bsd.port.pre.mk>
27
28
28
.if ${PYTHON_REL} < 3800
29
.if ${PYTHON_REL} < 3800
29
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.23<2:devel/py-importlib-metadata@${PY_FLAVOR}
30
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.23:devel/py-importlib-metadata@${PY_FLAVOR}
30
.endif
31
.endif
31
32
32
.include <bsd.port.post.mk>
33
.include <bsd.port.post.mk>
(-)devel/py-backports.functools_lru_cache/Makefile (+3 lines)
Lines 11-16 COMMENT= Backport of functools.lru_cache from Python 3.3 Link Here
11
11
12
LICENSE=	MIT
12
LICENSE=	MIT
13
13
14
DEPRECATED=	Python 2 is EOL upstream
15
EXPIRATION_DATE=	2020-12-31
16
14
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
17
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports>=0:devel/py-backports@${PY_FLAVOR}
18
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports>=0:devel/py-backports@${PY_FLAVOR}
16
19
(-)devel/py-backports.os/Makefile (+3 lines)
Lines 12-17 COMMENT= Backport of new features in Python's os module Link Here
12
LICENSE=	PSFL
12
LICENSE=	PSFL
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
DEPRECATED=	Python 2 is EOL upstream
16
EXPIRATION_DATE=	2020-12-31
17
15
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
18
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports>=0:devel/py-backports@${PY_FLAVOR} \
19
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports>=0:devel/py-backports@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR}
20
		${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR}
(-)devel/py-backports_abc/Makefile (+3 lines)
Lines 12-17 COMMENT= Backport of recent additions to the 'collections.abc' module Link Here
12
12
13
LICENSE=	PSFL
13
LICENSE=	PSFL
14
14
15
DEPRECATED=	Python 2 is EOL upstream
16
EXPIRATION_DATE=	2020-12-31
17
15
USES=		python:2.7
18
USES=		python:2.7
16
USE_PYTHON=	autoplist distutils
19
USE_PYTHON=	autoplist distutils
17
20
(-)devel/py-celery/Makefile (-2 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	celery
4
PORTNAME=	celery
5
PORTVERSION=	4.4.2
5
PORTVERSION=	4.4.4
6
CATEGORIES=	devel python
6
CATEGORIES=	devel python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 15-21 LICENSE_FILE= ${WRKSRC}/LICENSE Link Here
15
15
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}billiard>=3.3.0.21:devel/py-billiard@${PY_FLAVOR} \
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}billiard>=3.3.0.21:devel/py-billiard@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}pytz>=1.5:devel/py-pytz@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}pytz>=1.5:devel/py-pytz@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}kombu>=4.6.8:net/py-kombu@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}kombu>=4.6.10:net/py-kombu@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}vine>=1.3.0:devel/py-vine@${PY_FLAVOR}
19
		${PYTHON_PKGNAMEPREFIX}vine>=1.3.0:devel/py-vine@${PY_FLAVOR}
20
20
21
NO_ARCH=	yes
21
NO_ARCH=	yes
(-)devel/py-celery/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1586284339
1
TIMESTAMP = 1591193469
2
SHA256 (celery-4.4.2.tar.gz) = 108a0bf9018a871620936c33a3ee9f6336a89f8ef0a0f567a9001f4aa361415f
2
SHA256 (celery-4.4.4.tar.gz) = c2037b6a8463da43b19969a0fc13f9023ceca6352b4dd51be01c66fbbb13647e
3
SIZE (celery-4.4.2.tar.gz) = 1448133
3
SIZE (celery-4.4.4.tar.gz) = 1461880
(-)devel/py-coverage/Makefile (-1 / +3 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	coverage
3
PORTNAME=	coverage
4
PORTVERSION=	4.5.4
4
PORTVERSION=	5.2
5
CATEGORIES=	devel python
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 11-16 COMMENT= Code coverage measurement for Python Link Here
11
11
12
LICENSE=	BSD2CLAUSE
12
LICENSE=	BSD2CLAUSE
13
13
14
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
15
14
USES=		python
16
USES=		python
15
USE_PYTHON=	autoplist concurrent distutils
17
USE_PYTHON=	autoplist concurrent distutils
16
18
(-)devel/py-coverage/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1568761933
1
TIMESTAMP = 1595299825
2
SHA256 (coverage-4.5.4.tar.gz) = e07d9f1a23e9e93ab5c62902833bf3e4b1f65502927379148b6622686223125c
2
SHA256 (coverage-5.2.tar.gz) = 1874bdc943654ba46d28f179c1846f5710eda3aeb265ff029e0ac2b52daae404
3
SIZE (coverage-4.5.4.tar.gz) = 385185
3
SIZE (coverage-5.2.tar.gz) = 693669
(-)devel/py-gitpython/Makefile (-4 / +4 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	GitPython
3
PORTNAME=	GitPython
4
DISTVERSION=	2.1.11
4
DISTVERSION=	3.1.2
5
CATEGORIES=	devel python
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 12-20 COMMENT= Python Git Library Link Here
12
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ddt>=1.1.1:devel/py-ddt@${PY_FLAVOR} \
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gitdb>=4.0.1:devel/py-gitdb@${PY_FLAVOR}
16
		${PYTHON_PKGNAMEPREFIX}gitdb2>=2.0.0:devel/py-gitdb2@${PY_FLAVOR}
16
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ddt>=1.1.1:devel/py-ddt@${PY_FLAVOR} \
17
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
18
		${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
19
19
20
NO_ARCH=	yes
20
NO_ARCH=	yes
(-)devel/py-gitpython/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1545318709
1
TIMESTAMP = 1590775069
2
SHA256 (GitPython-2.1.11.tar.gz) = 8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8
2
SHA256 (GitPython-3.1.2.tar.gz) = 864a47472548f3ba716ca202e034c1900f197c0fb3a08f641c20c3cafd15ed94
3
SIZE (GitPython-2.1.11.tar.gz) = 428531
3
SIZE (GitPython-3.1.2.tar.gz) = 430474
(-)devel/py-gobject/Makefile (-12 / +9 lines)
Lines 3-10 Link Here
3
#   $MCom: ports/devel/py-gobject/Makefile,v 1.58 2012/12/30 18:15:16 mezz Exp $
3
#   $MCom: ports/devel/py-gobject/Makefile,v 1.58 2012/12/30 18:15:16 mezz Exp $
4
4
5
PORTNAME=	gobject
5
PORTNAME=	gobject
6
PORTVERSION=	2.28.6
6
PORTVERSION=	3.38.0
7
PORTREVISION=	9
8
CATEGORIES=	devel python
7
CATEGORIES=	devel python
9
MASTER_SITES=	GNOME/sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
8
MASTER_SITES=	GNOME/sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
10
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 16-36 COMMENT= Python bindings for GObject Link Here
16
15
17
LICENSE=	LGPL21
16
LICENSE=	LGPL21
18
17
19
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pycairo.pc:graphics/py-cairo@${PY_FLAVOR}
18
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/py3cairo.pc:graphics/py-cairo@${PY_FLAVOR}
20
LIB_DEPENDS+=	libffi.so:devel/libffi
19
LIB_DEPENDS+=	libffi.so:devel/libffi
21
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/pycairo.pc:graphics/py-cairo@${PY_FLAVOR}
20
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/py3cairo.pc:graphics/py-cairo@${PY_FLAVOR}
22
21
23
PORTSCOUT=	ignore:1
22
PORTSCOUT=	ignore:1
24
23
25
USES=		gmake gnome libtool pathfix pkgconfig python:2.7 shebangfix \
24
USES=		gmake gnome libtool pathfix pkgconfig python:3.5+ tar:xz
26
		tar:xz
25
# meson
27
USE_GNOME=	glib20 introspection:build,run
26
USE_GNOME=	glib20 introspection:build,run cairo
28
USE_PYTHON=	flavors
27
USE_PYTHON=	flavors distutils
29
GNU_CONFIGURE=	yes
30
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
31
CONFIGURE_ARGS=	--disable-docs --disable-introspection --with-ffi
29
32
INSTALL_TARGET=	install-strip
30
BINARY_ALIAS=	python3=${PYTHON_CMD}
33
SHEBANG_FILES=	codegen/*.py
34
31
35
CONFLICTS=	py*-gtk-0*
32
CONFLICTS=	py*-gtk-0*
36
PLIST_SUB=	PYTHON_VER="${PYTHON_VER}"
33
PLIST_SUB=	PYTHON_VER="${PYTHON_VER}"
(-)devel/py-gobject/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (gnome2/pygobject-2.28.6.tar.xz) = fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8
1
TIMESTAMP = 1600140878
2
SIZE (gnome2/pygobject-2.28.6.tar.xz) = 747248
2
SHA256 (gnome2/pygobject-3.38.0.tar.xz) = 0372d1bb9122fc19f500a249b1f38c2bb67485000f5887497b4b205b3e7084d5
3
SIZE (gnome2/pygobject-3.38.0.tar.xz) = 553892
(-)devel/py-gobject/files/patch-docs_Makefile.in (-11 lines)
Removed Link Here
1
--- docs/Makefile.in.orig	Sat May  5 01:25:03 2007
2
+++ docs/Makefile.in	Sat May  5 01:25:39 2007
3
@@ -223,7 +223,7 @@ XSL_FILES = \
4
 # fixxref cannot be included in XSL_FILES, because automake is touching it
5
 # so the date is newer then the files in HTML_FILES
6
 FIXXREF = xsl/fixxref.py
7
-TARGET_DIR = $(datadir)/gtk-doc/html/pygobject
8
+TARGET_DIR = $(prefix)/share/doc/pygobject
9
 CSSdir = $(TARGET_DIR)
10
 CSS_DATA = $(CSS_FILES)
11
 XSLdir = $(datadir)/pygobject/xsl
(-)devel/py-gobject/files/patch-gi_pygi-info.c (-28 lines)
Removed Link Here
1
--- gi/pygi-info.c.orig	2011-09-17 10:24:16.000000000 +0200
2
+++ gi/pygi-info.c	2011-09-17 10:24:40.000000000 +0200
3
@@ -162,9 +162,6 @@ _pygi_info_new (GIBaseInfo *info)
4
         case GI_INFO_TYPE_CONSTANT:
5
             type = &PyGIConstantInfo_Type;
6
             break;
7
-        case GI_INFO_TYPE_ERROR_DOMAIN:
8
-            type = &PyGIErrorDomainInfo_Type;
9
-            break;
10
         case GI_INFO_TYPE_UNION:
11
             type = &PyGIUnionInfo_Type;
12
             break;
13
@@ -481,7 +478,6 @@ _pygi_g_type_info_size (GITypeInfo *type
14
                 case GI_INFO_TYPE_INVALID:
15
                 case GI_INFO_TYPE_FUNCTION:
16
                 case GI_INFO_TYPE_CONSTANT:
17
-                case GI_INFO_TYPE_ERROR_DOMAIN:
18
                 case GI_INFO_TYPE_VALUE:
19
                 case GI_INFO_TYPE_SIGNAL:
20
                 case GI_INFO_TYPE_PROPERTY:
21
@@ -860,7 +856,6 @@ pygi_g_struct_info_is_simple (GIStructIn
22
                     case GI_INFO_TYPE_INVALID:
23
                     case GI_INFO_TYPE_FUNCTION:
24
                     case GI_INFO_TYPE_CONSTANT:
25
-                    case GI_INFO_TYPE_ERROR_DOMAIN:
26
                     case GI_INFO_TYPE_VALUE:
27
                     case GI_INFO_TYPE_SIGNAL:
28
                     case GI_INFO_TYPE_PROPERTY:
(-)devel/py-gobject/files/patch-gio-gio-types.defs (-29 lines)
Removed Link Here
1
--- gio/gio-types.defs.orig	2011-06-13 18:33:49.000000000 +0200
2
+++ gio/gio-types.defs	2013-09-13 01:14:09.000000000 +0200
3
@@ -526,7 +526,7 @@
4
   )
5
 )
6
 
7
-(define-enum MountMountFlags
8
+(define-flags MountMountFlags
9
   (in-module "gio")
10
   (c-name "GMountMountFlags")
11
   (gtype-id "G_TYPE_MOUNT_MOUNT_FLAGS")
12
@@ -545,7 +545,7 @@
13
   )
14
 )
15
 
16
-(define-enum DriveStartFlags
17
+(define-flags DriveStartFlags
18
   (in-module "gio")
19
   (c-name "GDriveStartFlags")
20
   (gtype-id "G_TYPE_DRIVE_START_FLAGS")
21
@@ -770,7 +770,7 @@
22
   )
23
 )
24
 
25
-(define-enum SocketMsgFlags
26
+(define-flags SocketMsgFlags
27
   (in-module "gio")
28
   (c-name "GSocketMsgFlags")
29
   (gtype-id "G_TYPE_SOCKET_MSG_FLAGS")
(-)devel/py-gobject/files/patch-pygobject-2.0.pc.in (-11 lines)
Removed Link Here
1
--- pygobject-2.0.pc.in.orig	2008-09-03 15:31:23.000000000 +0000
2
+++ pygobject-2.0.pc.in	2008-09-03 15:31:43.000000000 +0000
3
@@ -10,7 +10,7 @@
4
 # install additional headers.
5
 pygtkincludedir=${includedir}/pygtk-2.0
6
 fixxref=${datadir}/pygobject/xsl/fixxref.py
7
-pygdocs=${datadir}/gtk-doc/html/pygobject
8
+pygdocs=${datadir}/doc/pygobject
9
 defsdir=${datadir}/pygobject/2.0/defs
10
 codegendir=${datadir}/pygobject/2.0/codegen
11
 
(-)devel/py-gobject/pkg-plist (-190 / +91 lines)
Lines 1-190 Link Here
1
bin/pygobject-codegen-2.0
1
include/pygobject-3.0/pygobject.h
2
include/pygtk-2.0/pyglib.h
2
%%PYTHON_SITELIBDIR%%/PyGObject-3.38.0-py%%PYTHON_VER%%.egg-info/PKG-INFO
3
include/pygtk-2.0/pygobject.h
3
%%PYTHON_SITELIBDIR%%/PyGObject-3.38.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
4
lib/libpyglib-2.0-%%PYTHON_VERSION%%.so
4
%%PYTHON_SITELIBDIR%%/PyGObject-3.38.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
5
lib/libpyglib-2.0-%%PYTHON_VERSION%%.so.0
5
%%PYTHON_SITELIBDIR%%/PyGObject-3.38.0-py%%PYTHON_VER%%.egg-info/not-zip-safe
6
lib/libpyglib-2.0-%%PYTHON_VERSION%%.so.0.0.0
6
%%PYTHON_SITELIBDIR%%/PyGObject-3.38.0-py%%PYTHON_VER%%.egg-info/requires.txt
7
%%PYTHON_SITELIBDIR%%/glib/__init__.py
7
%%PYTHON_SITELIBDIR%%/PyGObject-3.38.0-py%%PYTHON_VER%%.egg-info/top_level.txt
8
%%PYTHON_SITELIBDIR%%/glib/__init__.pyc
8
%%PYTHON_SITELIBDIR%%/gi/__init__.py
9
%%PYTHON_SITELIBDIR%%/glib/__init__.pyo
9
%%PYTHON_SITELIBDIR%%/gi/__pycache__/__init__.cpython-37.opt-1.pyc
10
%%PYTHON_SITELIBDIR%%/glib/_glib.so
10
%%PYTHON_SITELIBDIR%%/gi/__pycache__/__init__.cpython-37.pyc
11
%%PYTHON_SITELIBDIR%%/glib/option.py
11
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_constants.cpython-37.opt-1.pyc
12
%%PYTHON_SITELIBDIR%%/glib/option.pyc
12
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_constants.cpython-37.pyc
13
%%PYTHON_SITELIBDIR%%/glib/option.pyo
13
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_error.cpython-37.opt-1.pyc
14
%%PYTHON_SITELIBDIR%%/gobject/__init__.py
14
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_error.cpython-37.pyc
15
%%PYTHON_SITELIBDIR%%/gobject/__init__.pyc
15
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_gtktemplate.cpython-37.opt-1.pyc
16
%%PYTHON_SITELIBDIR%%/gobject/__init__.pyo
16
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_gtktemplate.cpython-37.pyc
17
%%PYTHON_SITELIBDIR%%/gobject/_gobject.so
17
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_option.cpython-37.opt-1.pyc
18
%%PYTHON_SITELIBDIR%%/gobject/constants.py
18
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_option.cpython-37.pyc
19
%%PYTHON_SITELIBDIR%%/gobject/constants.pyc
19
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_ossighelper.cpython-37.opt-1.pyc
20
%%PYTHON_SITELIBDIR%%/gobject/constants.pyo
20
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_ossighelper.cpython-37.pyc
21
%%PYTHON_SITELIBDIR%%/gobject/propertyhelper.py
21
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_propertyhelper.cpython-37.opt-1.pyc
22
%%PYTHON_SITELIBDIR%%/gobject/propertyhelper.pyc
22
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_propertyhelper.cpython-37.pyc
23
%%PYTHON_SITELIBDIR%%/gobject/propertyhelper.pyo
23
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_signalhelper.cpython-37.opt-1.pyc
24
%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.py
24
%%PYTHON_SITELIBDIR%%/gi/__pycache__/_signalhelper.cpython-37.pyc
25
%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyc
25
%%PYTHON_SITELIBDIR%%/gi/__pycache__/docstring.cpython-37.opt-1.pyc
26
%%PYTHON_SITELIBDIR%%/gtk-2.0/dsextras.pyo
26
%%PYTHON_SITELIBDIR%%/gi/__pycache__/docstring.cpython-37.pyc
27
%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.py
27
%%PYTHON_SITELIBDIR%%/gi/__pycache__/importer.cpython-37.opt-1.pyc
28
%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.pyc
28
%%PYTHON_SITELIBDIR%%/gi/__pycache__/importer.cpython-37.pyc
29
%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/__init__.pyo
29
%%PYTHON_SITELIBDIR%%/gi/__pycache__/module.cpython-37.opt-1.pyc
30
%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/_gio.so
30
%%PYTHON_SITELIBDIR%%/gi/__pycache__/module.cpython-37.pyc
31
%%PYTHON_SITELIBDIR%%/gtk-2.0/gio/unix.so
31
%%PYTHON_SITELIBDIR%%/gi/__pycache__/pygtkcompat.cpython-37.opt-1.pyc
32
%%PYTHON_SITELIBDIR%%/pygtk.pth
32
%%PYTHON_SITELIBDIR%%/gi/__pycache__/pygtkcompat.cpython-37.pyc
33
%%PYTHON_SITELIBDIR%%/pygtk.py
33
%%PYTHON_SITELIBDIR%%/gi/__pycache__/types.cpython-37.opt-1.pyc
34
%%PYTHON_SITELIBDIR%%/pygtk.pyc
34
%%PYTHON_SITELIBDIR%%/gi/__pycache__/types.cpython-37.pyc
35
%%PYTHON_SITELIBDIR%%/pygtk.pyo
35
%%PYTHON_SITELIBDIR%%/gi/_constants.py
36
libdata/pkgconfig/pygobject-2.0.pc
36
%%PYTHON_SITELIBDIR%%/gi/_error.py
37
share/doc/pygobject/class-gioappinfo.html
37
%%PYTHON_SITELIBDIR%%/gi/_gi.so
38
share/doc/pygobject/class-gioapplaunchcontext.html
38
%%PYTHON_SITELIBDIR%%/gi/_gi_cairo.so
39
share/doc/pygobject/class-gioasyncresult.html
39
%%PYTHON_SITELIBDIR%%/gi/_gtktemplate.py
40
share/doc/pygobject/class-giobufferedinputstream.html
40
%%PYTHON_SITELIBDIR%%/gi/_option.py
41
share/doc/pygobject/class-giobufferedoutputstream.html
41
%%PYTHON_SITELIBDIR%%/gi/_ossighelper.py
42
share/doc/pygobject/class-giocancellable.html
42
%%PYTHON_SITELIBDIR%%/gi/_propertyhelper.py
43
share/doc/pygobject/class-giodatainputstream.html
43
%%PYTHON_SITELIBDIR%%/gi/_signalhelper.py
44
share/doc/pygobject/class-giodataoutputstream.html
44
%%PYTHON_SITELIBDIR%%/gi/docstring.py
45
share/doc/pygobject/class-giodrive.html
45
%%PYTHON_SITELIBDIR%%/gi/importer.py
46
share/doc/pygobject/class-gioemblem.html
46
%%PYTHON_SITELIBDIR%%/gi/module.py
47
share/doc/pygobject/class-gioemblemedicon.html
47
%%PYTHON_SITELIBDIR%%/gi/overrides/GIMarshallingTests.py
48
share/doc/pygobject/class-giofile.html
48
%%PYTHON_SITELIBDIR%%/gi/overrides/GLib.py
49
share/doc/pygobject/class-giofileattributeinfo.html
49
%%PYTHON_SITELIBDIR%%/gi/overrides/GObject.py
50
share/doc/pygobject/class-giofileenumerator.html
50
%%PYTHON_SITELIBDIR%%/gi/overrides/Gdk.py
51
share/doc/pygobject/class-giofileicon.html
51
%%PYTHON_SITELIBDIR%%/gi/overrides/GdkPixbuf.py
52
share/doc/pygobject/class-giofileinfo.html
52
%%PYTHON_SITELIBDIR%%/gi/overrides/Gio.py
53
share/doc/pygobject/class-giofileinputstream.html
53
%%PYTHON_SITELIBDIR%%/gi/overrides/Gtk.py
54
share/doc/pygobject/class-giofilemonitor.html
54
%%PYTHON_SITELIBDIR%%/gi/overrides/Pango.py
55
share/doc/pygobject/class-giofileoutputstream.html
55
%%PYTHON_SITELIBDIR%%/gi/overrides/__init__.py
56
share/doc/pygobject/class-giofilterinputstream.html
56
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GIMarshallingTests.cpython-37.opt-1.pyc
57
share/doc/pygobject/class-giofilteroutputstream.html
57
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GIMarshallingTests.cpython-37.pyc
58
share/doc/pygobject/class-gioicon.html
58
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GLib.cpython-37.opt-1.pyc
59
share/doc/pygobject/class-gioinputstream.html
59
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GLib.cpython-37.pyc
60
share/doc/pygobject/class-gioloadableicon.html
60
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GObject.cpython-37.opt-1.pyc
61
share/doc/pygobject/class-giomemoryinputstream.html
61
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GObject.cpython-37.pyc
62
share/doc/pygobject/class-giomemoryoutputstream.html
62
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gdk.cpython-37.opt-1.pyc
63
share/doc/pygobject/class-giomount.html
63
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gdk.cpython-37.pyc
64
share/doc/pygobject/class-giomountoperation.html
64
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GdkPixbuf.cpython-37.opt-1.pyc
65
share/doc/pygobject/class-giooutputstream.html
65
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/GdkPixbuf.cpython-37.pyc
66
share/doc/pygobject/class-gioseekable.html
66
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gio.cpython-37.opt-1.pyc
67
share/doc/pygobject/class-giosimpleasyncresult.html
67
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gio.cpython-37.pyc
68
share/doc/pygobject/class-giothemedicon.html
68
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gtk.cpython-37.opt-1.pyc
69
share/doc/pygobject/class-giounixinputstream.html
69
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Gtk.cpython-37.pyc
70
share/doc/pygobject/class-giounixoutputstream.html
70
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Pango.cpython-37.opt-1.pyc
71
share/doc/pygobject/class-giovolume.html
71
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/Pango.cpython-37.pyc
72
share/doc/pygobject/class-giovolumemonitor.html
72
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/__init__.cpython-37.opt-1.pyc
73
share/doc/pygobject/class-glibmaincontext.html
73
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/__init__.cpython-37.pyc
74
share/doc/pygobject/class-glibmainloop.html
74
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/keysyms.cpython-37.opt-1.pyc
75
share/doc/pygobject/class-gobject.html
75
%%PYTHON_SITELIBDIR%%/gi/overrides/__pycache__/keysyms.cpython-37.pyc
76
share/doc/pygobject/class-gobjectgboxed.html
76
%%PYTHON_SITELIBDIR%%/gi/overrides/keysyms.py
77
share/doc/pygobject/class-gobjectginterface.html
77
%%PYTHON_SITELIBDIR%%/gi/pygtkcompat.py
78
share/doc/pygobject/class-gobjectgpointer.html
78
%%PYTHON_SITELIBDIR%%/gi/repository/__init__.py
79
share/doc/pygobject/gio-class-reference.html
79
%%PYTHON_SITELIBDIR%%/gi/repository/__pycache__/__init__.cpython-37.opt-1.pyc
80
share/doc/pygobject/gio-constants.html
80
%%PYTHON_SITELIBDIR%%/gi/repository/__pycache__/__init__.cpython-37.pyc
81
share/doc/pygobject/gio-functions.html
81
%%PYTHON_SITELIBDIR%%/gi/types.py
82
share/doc/pygobject/giounix-class-reference.html
82
%%PYTHON_SITELIBDIR%%/pygtkcompat/__init__.py
83
share/doc/pygobject/glib-class-reference.html
83
%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/__init__.cpython-37.opt-1.pyc
84
share/doc/pygobject/glib-constants.html
84
%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/__init__.cpython-37.pyc
85
share/doc/pygobject/glib-functions.html
85
%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/generictreemodel.cpython-37.opt-1.pyc
86
share/doc/pygobject/gobject-class-reference.html
86
%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/generictreemodel.cpython-37.pyc
87
share/doc/pygobject/gobject-constants.html
87
%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/pygtkcompat.cpython-37.opt-1.pyc
88
share/doc/pygobject/gobject-functions.html
88
%%PYTHON_SITELIBDIR%%/pygtkcompat/__pycache__/pygtkcompat.cpython-37.pyc
89
share/doc/pygobject/index.html
89
%%PYTHON_SITELIBDIR%%/pygtkcompat/generictreemodel.py
90
share/doc/pygobject/index.sgml
90
%%PYTHON_SITELIBDIR%%/pygtkcompat/pygtkcompat.py
91
share/doc/pygobject/pygobject-introduction.html
91
libdata/pkgconfig/pygobject-3.0.pc
92
share/doc/pygobject/pygobject.devhelp
93
share/doc/pygobject/style.css
94
share/pygobject/2.0/codegen/__init__.py
95
share/pygobject/2.0/codegen/__init__.pyc
96
share/pygobject/2.0/codegen/__init__.pyo
97
share/pygobject/2.0/codegen/argtypes.py
98
share/pygobject/2.0/codegen/argtypes.pyc
99
share/pygobject/2.0/codegen/argtypes.pyo
100
share/pygobject/2.0/codegen/code-coverage.py
101
share/pygobject/2.0/codegen/code-coverage.pyc
102
share/pygobject/2.0/codegen/code-coverage.pyo
103
share/pygobject/2.0/codegen/codegen.py
104
share/pygobject/2.0/codegen/codegen.pyc
105
share/pygobject/2.0/codegen/codegen.pyo
106
share/pygobject/2.0/codegen/createdefs.py
107
share/pygobject/2.0/codegen/createdefs.pyc
108
share/pygobject/2.0/codegen/createdefs.pyo
109
share/pygobject/2.0/codegen/definitions.py
110
share/pygobject/2.0/codegen/definitions.pyc
111
share/pygobject/2.0/codegen/definitions.pyo
112
share/pygobject/2.0/codegen/defsconvert.py
113
share/pygobject/2.0/codegen/defsconvert.pyc
114
share/pygobject/2.0/codegen/defsconvert.pyo
115
share/pygobject/2.0/codegen/defsgen.py
116
share/pygobject/2.0/codegen/defsgen.pyc
117
share/pygobject/2.0/codegen/defsgen.pyo
118
share/pygobject/2.0/codegen/defsparser.py
119
share/pygobject/2.0/codegen/defsparser.pyc
120
share/pygobject/2.0/codegen/defsparser.pyo
121
share/pygobject/2.0/codegen/docextract.py
122
share/pygobject/2.0/codegen/docextract.pyc
123
share/pygobject/2.0/codegen/docextract.pyo
124
share/pygobject/2.0/codegen/docextract_to_xml.py
125
share/pygobject/2.0/codegen/docextract_to_xml.pyc
126
share/pygobject/2.0/codegen/docextract_to_xml.pyo
127
share/pygobject/2.0/codegen/docgen.py
128
share/pygobject/2.0/codegen/docgen.pyc
129
share/pygobject/2.0/codegen/docgen.pyo
130
share/pygobject/2.0/codegen/h2def.py
131
share/pygobject/2.0/codegen/h2def.pyc
132
share/pygobject/2.0/codegen/h2def.pyo
133
share/pygobject/2.0/codegen/mergedefs.py
134
share/pygobject/2.0/codegen/mergedefs.pyc
135
share/pygobject/2.0/codegen/mergedefs.pyo
136
share/pygobject/2.0/codegen/missingdefs.py
137
share/pygobject/2.0/codegen/missingdefs.pyc
138
share/pygobject/2.0/codegen/missingdefs.pyo
139
share/pygobject/2.0/codegen/mkskel.py
140
share/pygobject/2.0/codegen/mkskel.pyc
141
share/pygobject/2.0/codegen/mkskel.pyo
142
share/pygobject/2.0/codegen/override.py
143
share/pygobject/2.0/codegen/override.pyc
144
share/pygobject/2.0/codegen/override.pyo
145
share/pygobject/2.0/codegen/reversewrapper.py
146
share/pygobject/2.0/codegen/reversewrapper.pyc
147
share/pygobject/2.0/codegen/reversewrapper.pyo
148
share/pygobject/2.0/codegen/scanvirtuals.py
149
share/pygobject/2.0/codegen/scanvirtuals.pyc
150
share/pygobject/2.0/codegen/scanvirtuals.pyo
151
share/pygobject/2.0/codegen/scmexpr.py
152
share/pygobject/2.0/codegen/scmexpr.pyc
153
share/pygobject/2.0/codegen/scmexpr.pyo
154
share/pygobject/2.0/defs/gappinfo.override
155
share/pygobject/2.0/defs/gapplaunchcontext.override
156
share/pygobject/2.0/defs/gbufferedinputstream.override
157
share/pygobject/2.0/defs/gcancellable.override
158
share/pygobject/2.0/defs/gdatainputstream.override
159
share/pygobject/2.0/defs/gdrive.override
160
share/pygobject/2.0/defs/gfile.override
161
share/pygobject/2.0/defs/gfileattribute.override
162
share/pygobject/2.0/defs/gfileenumerator.override
163
share/pygobject/2.0/defs/gfileinfo.override
164
share/pygobject/2.0/defs/gfileinputstream.override
165
share/pygobject/2.0/defs/gfileiostream.override
166
share/pygobject/2.0/defs/gfileoutputstream.override
167
share/pygobject/2.0/defs/gicon.override
168
share/pygobject/2.0/defs/ginputstream.override
169
share/pygobject/2.0/defs/gio-types.defs
170
share/pygobject/2.0/defs/gio.defs
171
share/pygobject/2.0/defs/gio.override
172
share/pygobject/2.0/defs/giostream.override
173
share/pygobject/2.0/defs/gmemoryinputstream.override
174
share/pygobject/2.0/defs/gmemoryoutputstream.override
175
share/pygobject/2.0/defs/gmount.override
176
share/pygobject/2.0/defs/goutputstream.override
177
share/pygobject/2.0/defs/gresolver.override
178
share/pygobject/2.0/defs/gsocket.override
179
share/pygobject/2.0/defs/gvolume.override
180
share/pygobject/2.0/defs/gvolumemonitor.override
181
share/pygobject/2.0/defs/unix-types.defs
182
share/pygobject/2.0/defs/unix.defs
183
share/pygobject/2.0/defs/unix.override
184
share/pygobject/xsl/common.xsl
185
share/pygobject/xsl/devhelp.xsl
186
share/pygobject/xsl/fixxref.py
187
share/pygobject/xsl/html.xsl
188
share/pygobject/xsl/pdf-style.xsl
189
share/pygobject/xsl/pdf.xsl
190
share/pygobject/xsl/ref-html-style.xsl
(-)devel/py-ipywidgets/Makefile (-1 / +1 lines)
Lines 7-13 CATEGORIES= devel python Link Here
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
9
10
MAINTAINER=	swills@FreeBSD.org
10
MAINTAINER=	python@FreeBSD.org
11
COMMENT=	Interactive HTML widgets for Jupyter notebooks and the IPython kernel
11
COMMENT=	Interactive HTML widgets for Jupyter notebooks and the IPython kernel
12
12
13
LICENSE=	BSD3CLAUSE
13
LICENSE=	BSD3CLAUSE
(-)devel/py-jira/Makefile (-1 / +1 lines)
Lines 29-35 USES= python:3.5+ Link Here
29
USE_PYTHON=	autoplist distutils
29
USE_PYTHON=	autoplist distutils
30
30
31
OPTIONS_DEFINE=		MAGIC PARALLEL SHELL TESTS
31
OPTIONS_DEFINE=		MAGIC PARALLEL SHELL TESTS
32
OPTIONS_DEFAULT=	MAGIC PARALLEL SHELL
32
OPTIONS_DEFAULT=	MAGIC PARALLEL
33
33
34
MAGIC_DESC=	Enable Content-Type Auto-detection
34
MAGIC_DESC=	Enable Content-Type Auto-detection
35
PARALLEL_DESC=	Enable asynchronous requests
35
PARALLEL_DESC=	Enable asynchronous requests
(-)devel/py-jira/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
a Python library designed to ease the use of the JIRA REST API. Some basic
1
A Python library designed to ease the use of the JIRA REST API. Some basic
2
support for the GreenHopper REST API also exists.
2
support for the GreenHopper REST API also exists.
3
3
4
WWW: https://bitbucket.org/bspeakmon/jira-python
4
WWW: https://bitbucket.org/bspeakmon/jira-python
(-)devel/py-pre-commit/Makefile (-3 / +3 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	pre-commit
3
PORTNAME=	pre-commit
4
PORTVERSION=	1.21.0
4
PORTVERSION=	2.6.0
5
CATEGORIES=	devel python
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 22-29 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aspy.yaml>=0:devel/py-aspy.yaml@${PY_FLAVOR} Link Here
22
		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}virtualenv>=15.2:devel/py-virtualenv@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}virtualenv20>=20.0.8:devel/py-virtualenv20@${PY_FLAVOR} \
26
		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
26
		${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR}
27
27
28
USES=		python:3.6+ shebangfix
28
USES=		python:3.6+ shebangfix
29
USE_PYTHON=	autoplist distutils
29
USE_PYTHON=	autoplist distutils
(-)devel/py-pre-commit/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1594693753
1
TIMESTAMP = 1595291430
2
SHA256 (pre_commit-1.21.0.tar.gz) = 8f48d8637bdae6fa70cc97db9c1dd5aa7c5c8bf71968932a380628c25978b850
2
SHA256 (pre_commit-2.6.0.tar.gz) = 1657663fdd63a321a4a739915d7d03baedd555b25054449090f97bb0cb30a915
3
SIZE (pre_commit-1.21.0.tar.gz) = 145595
3
SIZE (pre_commit-2.6.0.tar.gz) = 151465
(-)devel/py-pytest-mock/Makefile (-4 / +1 lines)
Lines 1-14 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	pytest-mock
3
PORTNAME=	pytest-mock
4
PORTVERSION=	1.10.4
4
PORTVERSION=	3.2.0
5
CATEGORIES=	devel python
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
8
9
PATCH_SITES=	https://github.com/pytest-dev/${PORTNAME}/commit/
10
PATCHFILES=	b3badafebedea3605c90eb22a68adff2885a8bb0.patch:-p1
11
12
MAINTAINER=	olgeni@FreeBSD.org
9
MAINTAINER=	olgeni@FreeBSD.org
13
COMMENT=	Thin wrapper around the mock package for easier use with py.test
10
COMMENT=	Thin wrapper around the mock package for easier use with py.test
14
11
(-)devel/py-pytest-mock/distinfo (-5 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1557059422
1
TIMESTAMP = 1595302774
2
SHA256 (pytest-mock-1.10.4.tar.gz) = 5bf5771b1db93beac965a7347dc81c675ec4090cb841e49d9d34637a25c30568
2
SHA256 (pytest-mock-3.2.0.tar.gz) = 7122d55505d5ed5a6f3df940ad174b3f606ecae5e9bc379569cdcbd4cd9d2b83
3
SIZE (pytest-mock-1.10.4.tar.gz) = 18790
3
SIZE (pytest-mock-3.2.0.tar.gz) = 25569
4
SHA256 (b3badafebedea3605c90eb22a68adff2885a8bb0.patch) = 8c6d1028175b1a524cbcb1df3aeaa725fed9a1aa3ad0499a242ac65b65e855e0
5
SIZE (b3badafebedea3605c90eb22a68adff2885a8bb0.patch) = 1667
(-)devel/py-pytest/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	pytest
3
PORTNAME=	pytest
4
PORTVERSION=	4.5.0
4
PORTVERSION=	5.4.3
5
CATEGORIES=	devel python
5
CATEGORIES=	devel python
6
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)devel/py-pytest/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1557834909
1
TIMESTAMP = 1595300910
2
SHA256 (pytest-4.5.0.tar.gz) = 1a8aa4fa958f8f451ac5441f3ac130d9fc86ea38780dd2715e6d5c5882700b24
2
SHA256 (pytest-5.4.3.tar.gz) = 7979331bfcba207414f5e1263b5a0f8f521d0f457318836a7355531ed1a4c7d8
3
SIZE (pytest-4.5.0.tar.gz) = 943607
3
SIZE (pytest-5.4.3.tar.gz) = 1022353
(-)devel/regexx/Makefile (-2 / +4 lines)
Lines 14-22 LICENSE= LGPL21 Link Here
14
14
15
LIB_DEPENDS=	libpcre.so:devel/pcre
15
LIB_DEPENDS=	libpcre.so:devel/pcre
16
16
17
USES=		gmake pkgconfig libtool
17
USES=		gmake libtool pkgconfig
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
19
MAKE_ARGS=	ACLOCAL="${TRUE}" \
20
		AUTOCONF="${TRUE}" \
21
		AUTOHEADER="${TRUE}" \
20
		AUTOMAKE="${TRUE}"
22
		AUTOMAKE="${TRUE}"
21
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
22
24
(-)devel/regexx/files/patch-examples__simple.cc (-10 lines)
Removed Link Here
1
--- examples/simple.cc.orig	Tue Mar 13 23:42:21 2001
2
+++ examples/simple.cc	Sun Dec 22 03:09:56 2002
3
@@ -30,6 +30,7 @@
4
 #include <regexx.hh>
5
 
6
 using namespace regexx;
7
+using namespace std;
8
 
9
 //
10
 // This is the function to pass to replace() in
(-)devel/regexx/files/patch-src__Makefile.in (-11 lines)
Removed Link Here
1
--- src/Makefile.in.orig	2013-11-15 21:03:55.000000000 +0900
2
+++ src/Makefile.in	2013-11-15 21:04:18.000000000 +0900
3
@@ -74,7 +74,7 @@
4
 
5
 lib_LTLIBRARIES = libregexx.la
6
 libregexx_la_SOURCES = regexx.cc regexx.hh split.cc split.hh
7
-libregexx_la_LDFLAGS = -version-info 2:0:1 ../pcre/maketables.lo ../pcre/get.lo ../pcre/study.lo ../pcre/pcre.lo
8
+libregexx_la_LDFLAGS = -version-info 2:0:1
9
 include_HEADERS = regexx.hh split.hh
10
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
11
 CONFIG_CLEAN_FILES = 
(-)devel/regexx/files/patch-src__regex.hh (-47 lines)
Removed Link Here
1
--- src/regexx.hh.orig	Tue Mar 13 23:42:21 2001
2
+++ src/regexx.hh	Sun Dec 22 03:08:47 2002
3
@@ -94,7 +94,7 @@
4
 
5
   };
6
 
7
-  inline ostream& operator<<(ostream& _o, RegexxMatchAtom& _rxxma)
8
+  inline std::ostream& operator<<(std::ostream& _o, RegexxMatchAtom& _rxxma)
9
   {
10
     return _o << _rxxma.str();
11
   }
12
@@ -161,7 +161,7 @@
13
 
14
   };
15
 
16
-  inline ostream& operator<<(ostream& _o, RegexxMatch& _rxxm)
17
+  inline std::ostream& operator<<(std::ostream& _o, RegexxMatch& _rxxm)
18
   {
19
     return (_o << _rxxm.str());
20
   }
21
@@ -566,7 +566,7 @@
22
   }
23
 
24
   inline const std::string&
25
-  Regexx::replacef(std::string (*_func)(const RegexxMatch&), int _flags = 0)
26
+  Regexx::replacef(std::string (*_func)(const RegexxMatch&), int _flags)
27
     throw(CompileException)
28
   {
29
     exec(_flags&~nomatch);
30
@@ -580,7 +580,7 @@
31
   inline const std::string&
32
   Regexx::replacef(const std::string& _expr,
33
 		   std::string (*_func)(const RegexxMatch&),
34
-		   int _flags = 0)
35
+		   int _flags)
36
     throw(CompileException)
37
   {
38
     expr(_expr);
39
@@ -590,7 +590,7 @@
40
   inline const std::string&
41
   Regexx::replacef(const std::string& _str, const std::string& _expr,
42
 		   std::string (*_func)(const RegexxMatch&),
43
-		   int _flags = 0)
44
+		   int _flags)
45
     throw(CompileException)
46
   {
47
     str(_str);
(-)devel/regexx/files/patch-src__regexx.cc (-69 lines)
Removed Link Here
1
--- src/regexx.cc.orig	Tue Mar 13 22:42:21 2001
2
+++ src/regexx.cc	Sat Dec 29 08:27:24 2001
3
@@ -27,7 +27,7 @@
4
 // $Date: 2001/03/13 14:42:21 $
5
 
6
 #include "regexx.hh"
7
-#include "../pcre/pcre.h"
8
+#include "pcre.h"
9
 
10
 const unsigned int&
11
 regexx::Regexx::exec(int _flags)
12
@@ -43,13 +43,13 @@
13
     if(m_preg == NULL) {
14
       throw CompileException(errptr);
15
     }
16
-    pcre_fullinfo(m_preg, NULL, PCRE_INFO_CAPTURECOUNT, (void*)&m_capturecount);
17
+    pcre_fullinfo((const pcre *)m_preg, NULL, PCRE_INFO_CAPTURECOUNT, (void*)&m_capturecount);
18
     m_compiled = true;
19
   }
20
 
21
   if(!m_study && (_flags&study)) {
22
     const char *errptr;
23
-    m_extra = pcre_study(m_preg, 0, &errptr);
24
+    m_extra = pcre_study((const pcre *)m_preg, 0, &errptr);
25
     if(errptr != NULL)
26
       throw CompileException(errptr);
27
     m_study = true;
28
@@ -63,20 +63,20 @@
29
   int ssc;
30
   m_matches = 0;
31
 
32
-  ssc = pcre_exec(m_preg,m_extra,m_str.c_str(),m_str.length(),0,eflags,ssv,33);
33
+  ssc = pcre_exec((const pcre *)m_preg,(const pcre_extra *)m_extra,m_str.c_str(),m_str.length(),0,eflags,ssv,33);
34
   bool ret = (ssc > 0);
35
 
36
   if(_flags&global) {
37
     if(_flags&nomatch)
38
       while(ret) {
39
 	m_matches++;
40
-	ret = (pcre_exec(m_preg,m_extra,m_str.c_str(),m_str.length(),ssv[1],eflags,ssv,33) > 0);
41
+	ret = (pcre_exec((const pcre *)m_preg,(const pcre_extra *)m_extra,m_str.c_str(),m_str.length(),ssv[1],eflags,ssv,33) > 0);
42
       }
43
     else if(_flags&noatom)
44
       while(ret) {
45
 	m_matches++;
46
 	match.push_back(RegexxMatch(m_str,ssv[0],ssv[1]-ssv[0]));
47
-	ret = (pcre_exec(m_preg,m_extra,m_str.c_str(),m_str.length(),ssv[1],eflags,ssv,33) > 0);
48
+	ret = (pcre_exec((const pcre *)m_preg,(const pcre_extra *)m_extra,m_str.c_str(),m_str.length(),ssv[1],eflags,ssv,33) > 0);
49
       }
50
     else
51
       while(ret) {
52
@@ -89,7 +89,7 @@
53
 	  else
54
 	    match.back().atom.push_back(RegexxMatchAtom(m_str,0,0));
55
         }
56
-	ret = (pcre_exec(m_preg,m_extra,m_str.c_str(),m_str.length(),ssv[1],eflags,ssv,33) > 0);
57
+	ret = (pcre_exec((const pcre *)m_preg,(const pcre_extra *)m_extra,m_str.c_str(),m_str.length(),ssv[1],eflags,ssv,33) > 0);
58
       }
59
   }
60
   else {
61
@@ -114,7 +114,7 @@
62
 	  else
63
 	    match.back().atom.push_back(RegexxMatchAtom(m_str,0,0));
64
 	}
65
-	ret = (pcre_exec(m_preg,m_extra,m_str.c_str(),m_str.length(),ssv[1],eflags,ssv,33) > 0);
66
+	ret = (pcre_exec((const pcre *)m_preg,(const pcre_extra *)m_extra,m_str.c_str(),m_str.length(),ssv[1],eflags,ssv,33) > 0);
67
       }
68
     }
69
   }
(-)devel/regexx/files/patch-src__regexx.hh (-10 lines)
Removed Link Here
1
--- src/regexx.hh.orig	2013-11-15 21:02:42.000000000 +0900
2
+++ src/regexx.hh	2013-11-15 21:03:03.000000000 +0900
3
@@ -29,6 +29,7 @@
4
 #ifndef REGEXX_HH
5
 #define REGEXX_HH
6
 
7
+#include <cstdlib>
8
 #include <string>
9
 #include <vector>
10
 #include <split.hh>
(-)devel/zpu-binutils/files/patch-build.sh (-1 / +1 lines)
Lines 1-7 Link Here
1
--- build.sh.orig	2012-10-11 19:40:23.000000000 -0400
1
--- build.sh.orig	2012-10-11 19:40:23.000000000 -0400
2
+++ build.sh	2013-12-30 21:20:35.147443323 -0500
2
+++ build.sh	2013-12-30 21:20:35.147443323 -0500
3
@@ -1,18 +1,20 @@
3
@@ -1,18 +1,20 @@
4
+export CC=cc
4
+export CC=%%CC%%
5
+export DISTDIR=%%DISTDIR%%
5
+export DISTDIR=%%DISTDIR%%
6
 set -e
6
 set -e
7
 rm -rf build
7
 rm -rf build
(-)dns/checkdns/Makefile (-5 lines)
Lines 22-32 PORTDOCS= AUTHORS ChangeLog README THANKS TODO Link Here
22
22
23
OPTIONS_DEFINE=	DOCS
23
OPTIONS_DEFINE=	DOCS
24
24
25
post-patch:
26
	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/main.c \
27
		${WRKSRC}/INSTALL ${WRKSRC}/README ${WRKSRC}/checkdns.conf-dist
28
	@${REINPLACE_CMD} -e 's|CC = gcc|CC = ${CC} -include string.h|' ${WRKSRC}/Makefile
29
30
do-install:
25
do-install:
31
	${INSTALL_PROGRAM} ${WRKSRC}/checkdns ${STAGEDIR}${PREFIX}/bin/
26
	${INSTALL_PROGRAM} ${WRKSRC}/checkdns ${STAGEDIR}${PREFIX}/bin/
32
	${INSTALL_DATA} ${WRKSRC}/checkdns.conf-dist ${STAGEDIR}${PREFIX}/etc/
27
	${INSTALL_DATA} ${WRKSRC}/checkdns.conf-dist ${STAGEDIR}${PREFIX}/etc/
(-)dns/checkdns/files/patch-Makefile (-5 / +13 lines)
Lines 1-6 Link Here
1
--- Makefile.orig	Fri Nov 10 00:41:08 2006
1
--- Makefile.orig	2005-01-15 20:40:27 UTC
2
+++ Makefile	Fri Nov 10 00:41:25 2006
2
+++ Makefile
3
@@ -9,7 +9,15 @@
3
@@ -1,5 +1,5 @@
4
-#CC = gcc -ansi -pedantic -DDEBUG -g
5
-CC = gcc -ansi -pedantic
6
+#CC = cc -include string.h -ansi -pedantic -DDEBUG -g
7
+CC = cc -include string.h -ansi -pedantic
8
 
9
 INSTALL = install
10
 
11
@@ -9,12 +9,20 @@ compile: $(OBJS)
4
 	$(CC) -o checkdns $(OBJS)
12
 	$(CC) -o checkdns $(OBJS)
5
 
13
 
6
 install:
14
 install:
Lines 12-23 Link Here
12
+	mkdir -p ${PREFIX}/share/checkdns/lang
20
+	mkdir -p ${PREFIX}/share/checkdns/lang
13
+	cp -f checkdns.css ${PREFIX}/share/checkdns
21
+	cp -f checkdns.css ${PREFIX}/share/checkdns
14
+	cp -f lang/* ${PREFIX}/share/checkdns/lang
22
+	cp -f lang/* ${PREFIX}/share/checkdns/lang
23
 
15
+
24
+
16
+
25
+
17
 
18
 clean:
26
 clean:
19
 	rm -f $(OBJS) checkdns
27
 	rm -f $(OBJS) checkdns
20
@@ -17,4 +25,4 @@
28
 
21
 uninstall: clean
29
 uninstall: clean
22
 	rm /usr/local/bin/checkdns
30
 	rm /usr/local/bin/checkdns
23
 
31
 
(-)dns/idnkit/files/patch-configure (-14 / +20 lines)
Lines 17-34 Link Here
17
     ;;
17
     ;;
18
 esac
18
 esac
19
 
19
 
20
@@ -2633,7 +2633,37 @@ fi
20
@@ -2633,13 +2633,43 @@ fi
21
   ac_cv_flavor_gethostbyaddr=unknown
21
   ac_cv_flavor_gethostbyaddr=unknown
22
 else
22
 else
23
   cat > conftest.$ac_ext <<EOF
23
   cat > conftest.$ac_ext <<EOF
24
-#line 2637 "configure"
24
-#line 2637 "configure"
25
+#line 2648 "configure"
25
+#line 2648 "configure"
26
+#include "confdefs.h"
26
 #include "confdefs.h"
27
+
27
 
28
+    #include <stddef.h>
28
     #include <stddef.h>
29
+    #include <sys/types.h>
29
     #include <sys/types.h>
30
+    #include <sys/socket.h>
30
     #include <sys/socket.h>
31
+    #include <netdb.h>
31
     #include <netdb.h>
32
+    struct hostent *gethostbyaddr(const void *addr, int len, int type) {
32
+    struct hostent *gethostbyaddr(const void *addr, int len, int type) {
33
+	return NULL;
33
+	return NULL;
34
+    }
34
+    }
Lines 53-69 Link Here
53
+else
53
+else
54
+  cat > conftest.$ac_ext <<EOF
54
+  cat > conftest.$ac_ext <<EOF
55
+#line 2678 "configure"
55
+#line 2678 "configure"
56
 #include "confdefs.h"
56
+#include "confdefs.h"
57
 
57
+
58
     #include <stddef.h>
58
+    #include <stddef.h>
59
@@ -2675,6 +2705,10 @@ echo "$ac_t""$ac_cv_flavor_gethostbyaddr
59
+    #include <sys/types.h>
60
+    #include <sys/socket.h>
61
+    #include <netdb.h>
62
     struct hostent *gethostbyaddr(const char *addr, int len, int type) {
63
 	return NULL;
64
     }
65
@@ -2674,6 +2704,10 @@ echo "$ac_t""$ac_cv_flavor_gethostbyaddr" 1>&6
66
     glibc)
60
 	ac_cv_type_ghba_addr_t='const char *'
67
 	ac_cv_type_ghba_addr_t='const char *'
61
 	ac_cv_type_ghba_addrlen_t='size_t'
68
 	ac_cv_type_ghba_addrlen_t='size_t'
62
 	;;
69
+	;;
63
+    freebsd6)
70
+    freebsd6)
64
+	ac_cv_type_ghba_addr_t='const void *'
71
+	ac_cv_type_ghba_addr_t='const void *'
65
+	ac_cv_type_ghba_addrlen_t='int'
72
+	ac_cv_type_ghba_addrlen_t='int'
66
+	;;
73
 	;;
67
     traditional | none)
74
     traditional | none)
68
 	ac_cv_type_ghba_addr_t='const char *'
75
 	ac_cv_type_ghba_addr_t='const char *'
69
 	ac_cv_type_ghba_addrlen_t='int'
(-)dns/libbind/Makefile (-3 lines)
Lines 29-35 THREADS_CONFIGURE_ENABLE= threads Link Here
29
verify:	checksum
29
verify:	checksum
30
	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
30
	gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
31
31
32
post-patch:
33
	${REINPLACE_CMD} -e '/#include <utmp.h>/ d' ${WRKSRC}/irs/*.c
34
35
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)dns/libbind/files/patch-doc-Makefile.in (-27 lines)
Removed Link Here
1
--- doc/Makefile.in.orig	2009-03-04 01:09:51.000000000 +0100
2
+++ doc/Makefile.in	2012-04-24 00:04:48.884815527 +0200
3
@@ -175,24 +175,12 @@
4
 		${INSTALL_DATA} $${f}.${LIB_NETWORK_MAN_EXT} \
5
 		${MANDIR}/man${LIB_NETWORK_EXT}/$${f}.${LIB_NETWORK_EXT}; \
6
 	done
7
-	@set -x; N=${LIB_NETWORK_EXT}; for f in ${LIB_NETWORK_BASE}; do \
8
-		${INSTALL_DATA} $${f}.${LIB_NETWORK_CAT_EXT} \
9
-		${MANDIR}/cat${LIB_NETWORK_EXT}/$${f}.${LIB_NETWORK_EXT}; \
10
-	done
11
 	@set -x; N=${FORMAT_EXT}; for f in ${FORMAT_BASE}; do \
12
 		${INSTALL_DATA} $${f}.${FORMAT_MAN_EXT} \
13
 		${MANDIR}/man${FORMAT_EXT}/$${f}.${FORMAT_EXT}; \
14
 	done
15
-	@set -x; N=${FORMAT_EXT}; for f in ${FORMAT_BASE}; do \
16
-		${INSTALL_DATA} $${f}.${FORMAT_CAT_EXT} \
17
-		${MANDIR}/cat${FORMAT_EXT}/$${f}.${FORMAT_EXT}; \
18
-	done
19
 	@set -x; N=${DESC_EXT}; for f in ${DESC_BASE}; do \
20
 		${INSTALL_DATA} $${f}.${DESC_MAN_EXT} \
21
 		${MANDIR}/man${DESC_EXT}/$${f}.${DESC_EXT}; \
22
 	done
23
-	@set -x; N=${DESC_EXT}; for f in ${DESC_BASE}; do \
24
-		${INSTALL_DATA} $${f}.${DESC_CAT_EXT} \
25
-		${MANDIR}/cat${DESC_EXT}/$${f}.${DESC_EXT}; \
26
-	done
27
 
(-)dns/nsping/Makefile (-3 lines)
Lines 13-21 COMMENT= DNS "ping" Link Here
13
13
14
PLIST_FILES=	sbin/nsping man/man8/nsping.8.gz
14
PLIST_FILES=	sbin/nsping man/man8/nsping.8.gz
15
15
16
post-patch:
17
	${REINPLACE_CMD} -e "s/dprintf/debug_printf/g" ${WRKSRC}/nsping.*
18
19
do-install:
16
do-install:
20
		${INSTALL_PROGRAM} ${WRKSRC}/nsping ${STAGEDIR}${PREFIX}/sbin
17
		${INSTALL_PROGRAM} ${WRKSRC}/nsping ${STAGEDIR}${PREFIX}/sbin
21
		${INSTALL_DATA} ${WRKSRC}/nsping.8 ${STAGEDIR}${PREFIX}/man/man8
18
		${INSTALL_DATA} ${WRKSRC}/nsping.8 ${STAGEDIR}${PREFIX}/man/man8
(-)dns/nsping/files/patch-Makefile (-3 / +3 lines)
Lines 1-12 Link Here
1
--- Makefile.orig	Mon Nov 24 04:56:28 1997
1
--- Makefile.orig	1997-11-24 09:56:28 UTC
2
+++ Makefile	Fri Nov 12 15:53:26 1999
2
+++ Makefile
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-CFLAGS=	-g 
4
-CFLAGS=	-g 
5
+#CFLAGS=	-g 
5
+#CFLAGS=	-g 
6
 #Solaris
6
 #Solaris
7
 #CFLAGS= -g -Dsys5
7
 #CFLAGS= -g -Dsys5
8
 LDFLAGS=
8
 LDFLAGS=
9
@@ -10,6 +10,8 @@
9
@@ -10,6 +10,8 @@ TARGET= nsping
10
 OBJS= nsping.o dns-lib.o dns-rr.o
10
 OBJS= nsping.o dns-lib.o dns-rr.o
11
 SRCS= nsping.c dns-lib.c dns-rr.c
11
 SRCS= nsping.c dns-lib.c dns-rr.c
12
 HEADERS= nsping.h dns-lib.h dns-rr.h 
12
 HEADERS= nsping.h dns-lib.h dns-rr.h 
(-)dns/nsping/files/patch-dns-rr.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- dns-rr.c.orig	Mon Jul  4 12:02:22 2005
1
--- dns-rr.c.orig	1997-11-24 09:40:37 UTC
2
+++ dns-rr.c	Mon Jul  4 12:02:39 2005
2
+++ dns-rr.c
3
@@ -23,7 +23,7 @@
3
@@ -23,7 +23,7 @@ dns_rr_query(char *name, int type, u_char *buf) {
4
 
4
 
5
 	len = dns_string(name, dp, MAXDNAME);
5
 	len = dns_string(name, dp, MAXDNAME);
6
 	if(len < 0)
6
 	if(len < 0)
(-)dns/nsping/files/patch-nsping.c (-43 / +67 lines)
Lines 1-6 Link Here
1
--- nsping.c.orig	Wed Jul 20 15:23:29 2005
1
--- nsping.c.orig	1997-11-26 08:11:39 UTC
2
+++ nsping.c	Wed Feb 16 10:41:04 2005
2
+++ nsping.c
3
@@ -14,6 +14,9 @@
3
@@ -14,6 +14,9 @@ int snprintf(char *, int, char *, ...);
4
 #include <stdarg.h>
4
 #include <stdarg.h>
5
 #include <assert.h>
5
 #include <assert.h>
6
 
6
 
Lines 10-16 Link Here
10
 /* store state on sent queries */
10
 /* store state on sent queries */
11
 
11
 
12
 struct nsq {
12
 struct nsq {
13
@@ -26,8 +29,17 @@
13
@@ -26,8 +29,17 @@ struct nsq {
14
  * too much stuff through globals. Sorry.
14
  * too much stuff through globals. Sorry.
15
  */
15
  */
16
 
16
 
Lines 28-34 Link Here
28
 char *Zone 		= NULL;
28
 char *Zone 		= NULL;
29
 char *Hostname 		= NULL;
29
 char *Hostname 		= NULL;
30
 
30
 
31
@@ -55,7 +67,7 @@
31
@@ -55,7 +67,7 @@ int main(int argc, char **argv) {
32
 	struct timeval *tvp;
32
 	struct timeval *tvp;
33
 	struct itimerval itv;
33
 	struct itimerval itv;
34
 	u_int32_t address = INADDR_ANY;
34
 	u_int32_t address = INADDR_ANY;
Lines 37-43 Link Here
37
 	char *timearg = NULL;
37
 	char *timearg = NULL;
38
 	char c;
38
 	char c;
39
 	int i;
39
 	int i;
40
@@ -65,6 +77,10 @@
40
@@ -65,6 +77,10 @@ int main(int argc, char **argv) {
41
 		Queries[i].found = 1;
41
 		Queries[i].found = 1;
42
 	}
42
 	}
43
 
43
 
Lines 48-54 Link Here
48
 #define OPTS "z:h:t:p:dP:a:c:T:rR"
48
 #define OPTS "z:h:t:p:dP:a:c:T:rR"
49
 
49
 
50
 	while((c = getopt(argc, argv, OPTS)) != EOF) {
50
 	while((c = getopt(argc, argv, OPTS)) != EOF) {
51
@@ -105,15 +121,17 @@
51
@@ -105,15 +121,17 @@ int main(int argc, char **argv) {
52
 			break;			
52
 			break;			
53
 
53
 
54
 		case 'p':
54
 		case 'p':
Lines 69-75 Link Here
69
 			if(address == INADDR_NONE) {
69
 			if(address == INADDR_NONE) {
70
 				fprintf(stderr, "Unable to resolve local address.\n");
70
 				fprintf(stderr, "Unable to resolve local address.\n");
71
 				exit(1);
71
 				exit(1);
72
@@ -135,7 +153,7 @@
72
@@ -135,7 +153,7 @@ int main(int argc, char **argv) {
73
 		exit(1);
73
 		exit(1);
74
 	}
74
 	}
75
 
75
 
Lines 78-84 Link Here
78
 		fprintf(stderr, "Unable to resolve target server address.\n");
78
 		fprintf(stderr, "Unable to resolve target server address.\n");
79
 		fprintf(stderr, "Fatal error, exiting.\n");
79
 		fprintf(stderr, "Fatal error, exiting.\n");
80
 		exit(1);
80
 		exit(1);
81
@@ -147,7 +165,7 @@
81
@@ -147,7 +165,7 @@ int main(int argc, char **argv) {
82
 	       	exit(1);
82
 	       	exit(1);
83
 	}
83
 	}
84
 
84
 
Lines 87-93 Link Here
87
 		fprintf(stderr, "Fatal error, exiting.\n");
87
 		fprintf(stderr, "Fatal error, exiting.\n");
88
 		exit(1);
88
 		exit(1);
89
 	}
89
 	}
90
@@ -167,7 +185,7 @@
90
@@ -167,7 +185,7 @@ int main(int argc, char **argv) {
91
 	/* start the fun */
91
 	/* start the fun */
92
 
92
 
93
 	printf("NSPING %s (%s): %s = \"%s\", Type = \"IN %s\"\n",
93
 	printf("NSPING %s (%s): %s = \"%s\", Type = \"IN %s\"\n",
Lines 96-102 Link Here
96
 			Hostname ? "Hostname" : "Domain",
96
 			Hostname ? "Hostname" : "Domain",
97
 			Hostname ? Hostname : Zone,
97
 			Hostname ? Hostname : Zone,
98
 			type_int2string(Type));
98
 			type_int2string(Type));
99
@@ -189,10 +207,14 @@
99
@@ -189,10 +207,14 @@ int main(int argc, char **argv) {
100
 
100
 
101
 int guess_zone() {
101
 int guess_zone() {
102
 	char lhn[MAXDNAME];
102
 	char lhn[MAXDNAME];
Lines 111-117 Link Here
111
 
111
 
112
 	cp = strchr(lhn, '.');
112
 	cp = strchr(lhn, '.');
113
 	if(!cp || !(*(++cp)))
113
 	if(!cp || !(*(++cp)))
114
@@ -261,15 +283,19 @@
114
@@ -261,15 +283,19 @@ void probe(int sig) {
115
 	static int Start = 0;
115
 	static int Start = 0;
116
 	static int Pos    = 0;      
116
 	static int Pos    = 0;      
117
 
117
 
Lines 129-140 Link Here
129
-		Start = getpid();
129
-		Start = getpid();
130
+	if(!Start) {
130
+	if(!Start) {
131
+		Start = getpid() % MAX_ID;
131
+		Start = getpid() % MAX_ID;
132
+	  	dprintf("Start = %d\n", Start);
132
+	  	debug_printf("Start = %d\n", Start);
133
+	}
133
+	}
134
 
134
 
135
 	/* we're overwriting state from a query we never got a response
135
 	/* we're overwriting state from a query we never got a response
136
 	 * to, so at least note that we missed it.
136
 	 * to, so at least note that we missed it.
137
@@ -278,18 +304,16 @@
137
@@ -278,18 +304,16 @@ void probe(int sig) {
138
 	if(!Queries[Pos].found)
138
 	if(!Queries[Pos].found)
139
 		Missed++;
139
 		Missed++;
140
 
140
 
Lines 146-152 Link Here
146
 	/* get the DNS request */
146
 	/* get the DNS request */
147
 
147
 
148
-	l = dns_packet(&qp, Start + Sent);
148
-	l = dns_packet(&qp, Start + Sent);
149
+	dprintf("sending with id = %d\n", (Start + Sent) % MAX_ID);
149
+	debug_printf("sending with id = %d\n", (Start + Sent) % MAX_ID);
150
+	l = dns_packet(&qp, (Start + Sent) % MAX_ID); 
150
+	l = dns_packet(&qp, (Start + Sent) % MAX_ID); 
151
 
151
 
152
 	do {
152
 	do {
Lines 158-164 Link Here
158
 			if(errno != EINTR) {		
158
 			if(errno != EINTR) {		
159
 				perror("sendto");
159
 				perror("sendto");
160
 				return;
160
 				return;
161
@@ -299,7 +323,7 @@
161
@@ -299,7 +323,7 @@ void probe(int sig) {
162
 
162
 
163
 	/* if it was sent successfully, update state */
163
 	/* if it was sent successfully, update state */
164
 
164
 
Lines 167-173 Link Here
167
 	gettimeofday(&Queries[Pos].sent, NULL);
167
 	gettimeofday(&Queries[Pos].sent, NULL);
168
 	Queries[Pos].found = 0;
168
 	Queries[Pos].found = 0;
169
 
169
 
170
@@ -361,7 +385,10 @@
170
@@ -361,7 +385,10 @@ int dns_packet(u_char **qp, int id) {
171
 
171
 
172
 void handle_incoming() {
172
 void handle_incoming() {
173
 	u_char buffer[1024];
173
 	u_char buffer[1024];
Lines 178-200 Link Here
178
 	int sil = sizeof(si);
178
 	int sil = sizeof(si);
179
 	int l;
179
 	int l;
180
 
180
 
181
@@ -378,6 +405,7 @@
181
@@ -378,20 +405,22 @@ void handle_incoming() {
182
 
182
 
183
 		/* descriminate real responses from spurious crud */
183
 		/* descriminate real responses from spurious crud */
184
 
184
 
185
+#if 0
185
+#if 0
186
 		if(si.sin_addr.s_addr != Target_Address) {
186
 		if(si.sin_addr.s_addr != Target_Address) {
187
 			dprintf("Received packet from unexpected address %s.\n",
187
-			dprintf("Received packet from unexpected address %s.\n",
188
+			debug_printf("Received packet from unexpected address %s.\n",
188
 				inet_ntoa(si.sin_addr));
189
 				inet_ntoa(si.sin_addr));
189
@@ -389,6 +417,7 @@
190
 			continue;
191
 		}
192
 
193
 		if(si.sin_port != htons(Target_Port)) {
194
-			dprintf("Received packet from unexpected port %d.\n",
195
+			debug_printf("Received packet from unexpected port %d.\n",
190
 				ntohs(si.sin_port));
196
 				ntohs(si.sin_port));
191
 			continue;
197
 			continue;
192
 		}
198
 		}
193
+#endif
199
+#endif
194
 
200
 
195
 		if(l < sizeof(HEADER)) {
201
 		if(l < sizeof(HEADER)) {
196
 			dprintf("Short packet.\n");
202
-			dprintf("Short packet.\n");
197
@@ -420,7 +449,7 @@
203
+			debug_printf("Short packet.\n");
204
 			continue;
205
 		}
206
 		
207
@@ -420,7 +449,7 @@ void update(u_char *bp, int l) {
198
 	double triptime;
208
 	double triptime;
199
 
209
 
200
 	if(!Start)
210
 	if(!Start)
Lines 203-220 Link Here
203
 
213
 
204
 	gettimeofday(&tv, NULL);
214
 	gettimeofday(&tv, NULL);
205
 
215
 
206
@@ -437,8 +466,9 @@
216
@@ -431,14 +460,15 @@ void update(u_char *bp, int l) {
217
 			break;
218
 
219
 	if(i == QUERY_BACKLOG) {
220
-		dprintf("Packet with id %d not ours.\n", ntohs(hp->id));
221
+		debug_printf("Packet with id %d not ours.\n", ntohs(hp->id));
222
 		return;
223
 	} else 
207
 		Queries[i].found = 1;	
224
 		Queries[i].found = 1;	
208
 
225
 
209
 	/* figure out which query this was, using the DNS query ID */
226
 	/* figure out which query this was, using the DNS query ID */
210
-
227
-
211
+	dprintf("received with id = %d\n", ntohs(hp->id));
228
+	debug_printf("received with id = %d\n", ntohs(hp->id));
212
 	delta = ntohs(hp->id) - Start;
229
 	delta = ntohs(hp->id) - Start;
213
+	dprintf("delta = %d - %d = %d\n", ntohs(hp->id), Start, delta);
230
+	debug_printf("delta = %d - %d = %d\n", ntohs(hp->id), Start, delta);
214
 	
231
 	
215
 	/* figure out how long it took */
232
 	/* figure out how long it took */
216
 
233
 
217
@@ -494,7 +524,7 @@
234
@@ -494,7 +524,7 @@ void update(u_char *bp, int l) {
218
 	       hp->rcode == NOERROR ? "+" : "-",
235
 	       hp->rcode == NOERROR ? "+" : "-",
219
 	       delta,
236
 	       delta,
220
 	       l, 
237
 	       l, 
Lines 223-229 Link Here
223
 	       triptime,
240
 	       triptime,
224
 	       delta ? Ave : 0.0);
241
 	       delta ? Ave : 0.0);
225
 
242
 
226
@@ -512,6 +542,9 @@
243
@@ -512,6 +542,9 @@ void summarize(int sig) {
227
 	       "Ave/Max/Min: %8.3f / %8.3f / %8.3f\n",
244
 	       "Ave/Max/Min: %8.3f / %8.3f / %8.3f\n",
228
 	       Sent, Count, Missed ? Missed : Sent - Count, Lagged, Ave, Max, Min);
245
 	       Sent, Count, Missed ? Missed : Sent - Count, Lagged, Ave, Max, Min);
229
 
246
 
Lines 233-239 Link Here
233
 	exit(0);
250
 	exit(0);
234
 }
251
 }
235
 
252
 
236
@@ -555,18 +588,6 @@
253
@@ -555,18 +588,6 @@ struct timeval *timeval_subtract(struct timeval *out, 
237
 
254
 
238
 /* -------------------------------------------------------------------------- */
255
 /* -------------------------------------------------------------------------- */
239
 
256
 
Lines 252-258 Link Here
252
 /* map integer type codes to names, v/vrsa. Add new types here if you must. */
269
 /* map integer type codes to names, v/vrsa. Add new types here if you must. */
253
 
270
 
254
 struct type2str {
271
 struct type2str {
255
@@ -625,22 +646,40 @@
272
@@ -610,7 +631,7 @@ int type_string2int(char *string) {
273
 
274
 /* don't print if we're not in debug mode */
275
 
276
-void dprintf(char *fmt, ...) {
277
+void debug_printf(char *fmt, ...) {
278
 	va_list ap;
279
 
280
 	if(!Debug)
281
@@ -625,22 +646,40 @@ void dprintf(char *fmt, ...) {
256
 
282
 
257
 /* return a bound UDP socket */
283
 /* return a bound UDP socket */
258
 
284
 
Lines 288-294 Link Here
288
+		((struct sockaddr_in *)(&sss))->sin_family = AF_INET;
314
+		((struct sockaddr_in *)(&sss))->sin_family = AF_INET;
289
+		addrlen = sizeof(struct sockaddr_in);
315
+		addrlen = sizeof(struct sockaddr_in);
290
+	    	break;
316
+	    	break;
291
+
317
 
318
-	if(bind(sockfd, (struct sockaddr *)&si, sizeof(si)) < 0) {
292
+	    case AF_INET6:
319
+	    case AF_INET6:
293
+		((struct sockaddr_in6 *)(&sss))->sin6_addr = anyaddr;
320
+		((struct sockaddr_in6 *)(&sss))->sin6_addr = anyaddr;
294
+		((struct sockaddr_in6 *)(&sss))->sin6_port = htons(atoi(port)); 
321
+		((struct sockaddr_in6 *)(&sss))->sin6_port = htons(atoi(port)); 
Lines 296-327 Link Here
296
+		addrlen = sizeof(struct sockaddr_in6);
323
+		addrlen = sizeof(struct sockaddr_in6);
297
+	    	break;
324
+	    	break;
298
+	}
325
+	}
299
 
326
+
300
-	if(bind(sockfd, (struct sockaddr *)&si, sizeof(si)) < 0) {
301
+	if(bind(sockfd, (struct sockaddr *)&sss, addrlen) < 0) 
327
+	if(bind(sockfd, (struct sockaddr *)&sss, addrlen) < 0) 
302
+	{
328
+	{
303
 		perror("bind");
329
 		perror("bind");
304
 		return(-1);
330
 		return(-1);
305
 	}
331
 	}
306
@@ -652,19 +691,45 @@
332
@@ -652,19 +691,45 @@ int bind_udp_socket(u_int32_t address, u_int16_t port)
307
 
333
 
308
 /* wrap hostname resolution */
334
 /* wrap hostname resolution */
309
 
335
 
310
-u_int32_t resolve(char *name) {
336
-u_int32_t resolve(char *name) {
311
-	u_long addr;
337
-	u_long addr;
312
-
338
+struct addrinfo* resolve(char *name, char *port) { 
339
+	struct addrinfo hints, *res, *res0;
340
+    	int error;
341
+        const char *cause = NULL;
342
 
313
-	addr = inet_addr(name);
343
-	addr = inet_addr(name);
314
-	if(addr == INADDR_NONE) {
344
-	if(addr == INADDR_NONE) {
315
-		struct hostent *hp = gethostbyname(name);
345
-		struct hostent *hp = gethostbyname(name);
316
-		if(!hp)
346
-		if(!hp)
317
-			return(INADDR_NONE);
347
-			return(INADDR_NONE);
318
-
319
-		memcpy(&addr, hp->h_addr, 4);
320
+struct addrinfo* resolve(char *name, char *port) { 
321
+	struct addrinfo hints, *res, *res0;
322
+    	int error;
323
+        const char *cause = NULL;
324
+
325
+	memset(&hints, 0, sizeof(hints));
348
+	memset(&hints, 0, sizeof(hints));
326
+    	hints.ai_family = PF_UNSPEC;
349
+    	hints.ai_family = PF_UNSPEC;
327
+      	hints.ai_socktype = SOCK_DGRAM;
350
+      	hints.ai_socktype = SOCK_DGRAM;
Lines 330-336 Link Here
330
+	  errx(1, "%s", gai_strerror(error));
353
+	  errx(1, "%s", gai_strerror(error));
331
+	  return(NULL);
354
+	  return(NULL);
332
+	}
355
+	}
333
+
356
 
357
-		memcpy(&addr, hp->h_addr, 4);
334
+	res = res0;
358
+	res = res0;
335
+	switch (res->ai_family) {
359
+	switch (res->ai_family) {
336
+	    case AF_INET:
360
+	    case AF_INET:
Lines 360-366 Link Here
360
 }
384
 }
361
 
385
 
362
 
386
 
363
@@ -679,9 +744,7 @@
387
@@ -679,9 +744,7 @@ char *xstrdup(char *v) {
364
 /* -------------------------------------------------------------------------- */
388
 /* -------------------------------------------------------------------------- */
365
 
389
 
366
  void usage() {
390
  void usage() {
(-)dns/nsping/files/patch-nsping.h (-5 / +6 lines)
Lines 1-6 Link Here
1
--- nsping.h.orig	Wed Jul 20 15:23:39 2005
1
--- nsping.h.orig	1997-11-24 09:47:25 UTC
2
+++ nsping.h	Tue Feb 15 17:29:55 2005
2
+++ nsping.h
3
@@ -27,7 +27,7 @@
3
@@ -27,7 +27,7 @@ typedef unsigned short u_int16_t;
4
 #endif
4
 #endif
5
 
5
 
6
 #define QUERY_BACKLOG	1024
6
 #define QUERY_BACKLOG	1024
Lines 9-22 Link Here
9
 #define DEFAULT_SECOND_INTERVAL	1
9
 #define DEFAULT_SECOND_INTERVAL	1
10
 #define DEFAULT_USECOND_INTERVAL	0
10
 #define DEFAULT_USECOND_INTERVAL	0
11
 
11
 
12
@@ -40,11 +40,10 @@
12
@@ -40,11 +40,10 @@ void update(u_char *bp, int l);
13
 void summarize(int);
13
 void summarize(int);
14
 double trip_time(struct timeval *send_time, struct timeval *rcv);
14
 double trip_time(struct timeval *send_time, struct timeval *rcv);
15
 struct timeval *timeval_subtract(struct timeval *out, struct timeval *in);
15
 struct timeval *timeval_subtract(struct timeval *out, struct timeval *in);
16
-char *addr_string(u_int32_t address);
16
-char *addr_string(u_int32_t address);
17
-int bind_udp_socket(u_int32_t address, u_int16_t port);
17
-int bind_udp_socket(u_int32_t address, u_int16_t port);
18
-void dprintf(char *fmt, ...);
18
+int bind_udp_socket(char *port);
19
+int bind_udp_socket(char *port);
19
 void dprintf(char *fmt, ...);
20
+void debug_printf(char *fmt, ...);
20
 void usage(void);
21
 void usage(void);
21
 char *xstrdup(char *v);
22
 char *xstrdup(char *v);
22
-u_int32_t resolve(char *name);
23
-u_int32_t resolve(char *name);
(-)editors/cooledit/Makefile (-12 / +6 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	cooledit
4
PORTNAME=	cooledit
5
DISTVERSION=	3.17.28
5
DISTVERSION=	4.0.0
6
PORTREVISION=	3
7
CATEGORIES=	editors
6
CATEGORIES=	editors
8
MASTER_SITES=	SUNSITE/apps/editors/X/cooledit
7
MASTER_SITES=	SUNSITE/apps/editors/X/cooledit
9
8
Lines 13-34 COMMENT= Suite of utilities, including a GUI editor Link Here
13
LICENSE=	GPLv2
12
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
15
14
16
USES=		gettext gmake libtool python xorg # gettext is linked to despite .mo files having been deleted
15
LIB_DEPENDS=	libfreetype.so:print/freetype2
16
17
USES=		gettext-runtime gmake libtool pkgconfig python xorg
17
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
18
USE_XORG=	x11 xt
19
USE_XORG=	x11 xt
19
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
20
USE_GCC=	any
21
USE_GCC=	any
21
INSTALL_TARGET=	install-strip
22
INSTALL_TARGET=	install-strip
22
23
23
CPPFLAGS+=	-I${LOCALBASE}/include
24
CPPFLAGS+=	-I${PREFIX}/include
24
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
25
LDFLAGS+=	-lpthread -L${PREFIX}/lib
25
CFLAGS+=	-DHAVE_MBRTOWC
26
CFLAGS+=	-DHAVE_MBRTOWC
26
27
27
OPTIONS_DEFINE=	NEXT_LOOK
28
NEXT_LOOK_DESC=	Enable NeXT look
29
NEXT_LOOK_CONFIGURE_ENABLE=	NeXT-look
30
31
post-patch:
32
	@${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in
33
34
.include <bsd.port.mk>
28
.include <bsd.port.mk>
(-)editors/cooledit/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1527085795
1
TIMESTAMP = 1595154397
2
SHA256 (cooledit-3.17.28.tar.gz) = 4d8b664592737bb1d4b93e509fe185d712318f40fc3c5a36bbc522d87f6b686d
2
SHA256 (cooledit-4.0.0.tar.gz) = 88822d8436d4d81b5dabb909881a7e28ef3dd16b1302c0b430938cba8bb96c96
3
SIZE (cooledit-3.17.28.tar.gz) = 1265017
3
SIZE (cooledit-4.0.0.tar.gz) = 67719237
(-)editors/cooledit/files/patch-widget__widechar.c (-18 lines)
Removed Link Here
1
--- widget/widechar.c.orig	2017-08-04 19:12:31 UTC
2
+++ widget/widechar.c
3
@@ -227,6 +227,7 @@ static inline struct mb_rule apply_mb_ru
4
 static inline struct mb_rule apply_mb_rules_going_right (WEdit * edit, long byte_index, struct mb_rule mb_rule)
5
 {
6
 #ifdef HAVE_WCHAR_H
7
+#ifdef HAVE_MBRTOWC
8
     wchar_t wc;
9
     unsigned char p[16];
10
     int n;
11
@@ -253,6 +254,7 @@ static inline struct mb_rule apply_mb_ru
12
     mb_rule.end = 0;
13
     mb_rule.ch = -1;
14
 #endif
15
+#endif
16
     return mb_rule;
17
 }
18
 
(-)editors/cooledit/pkg-plist (+108 lines)
Lines 11-16 man/man1/cooledit.1.gz Link Here
11
man/man1/coolman.1.gz
11
man/man1/coolman.1.gz
12
man/man1/smalledit.1.gz
12
man/man1/smalledit.1.gz
13
%%DATADIR%%/c_utils.py
13
%%DATADIR%%/c_utils.py
14
%%DATADIR%%/fonts/8x13B-ISO8859-1.pcf.gz
15
%%DATADIR%%/fonts/8x13B.pcf.gz
16
%%DATADIR%%/fonts/Makefile.am
17
%%DATADIR%%/fonts/NotoColorEmoji.ttf
18
%%DATADIR%%/fonts/NotoEmoji-Regular.ttf
19
%%DATADIR%%/fonts/NotoKufiArabic-Regular.ttf
20
%%DATADIR%%/fonts/NotoMono-Regular.ttf
21
%%DATADIR%%/fonts/NotoNaskhArabicUI-Regular.ttf
22
%%DATADIR%%/fonts/NotoNastaliqUrdu-Regular.ttf
23
%%DATADIR%%/fonts/NotoSans-Regular.ttf
24
%%DATADIR%%/fonts/NotoSansAdlam-Regular.ttf
25
%%DATADIR%%/fonts/NotoSansAdlamUnjoined-Regular.ttf
26
%%DATADIR%%/fonts/NotoSansAnatolianHieroglyphs-Regular.ttf
27
%%DATADIR%%/fonts/NotoSansArmenian-Regular.ttf
28
%%DATADIR%%/fonts/NotoSansAvestan-Regular.ttf
29
%%DATADIR%%/fonts/NotoSansBalinese-Regular.ttf
30
%%DATADIR%%/fonts/NotoSansBamum-Regular.ttf
31
%%DATADIR%%/fonts/NotoSansBatak-Regular.ttf
32
%%DATADIR%%/fonts/NotoSansBengaliUI-Regular.ttf
33
%%DATADIR%%/fonts/NotoSansBrahmi-Regular.ttf
34
%%DATADIR%%/fonts/NotoSansBuginese-Regular.ttf
35
%%DATADIR%%/fonts/NotoSansBuhid-Regular.ttf
36
%%DATADIR%%/fonts/NotoSansCanadianAboriginal-Regular.ttf
37
%%DATADIR%%/fonts/NotoSansCarian-Regular.ttf
38
%%DATADIR%%/fonts/NotoSansChakma-Regular.ttf
39
%%DATADIR%%/fonts/NotoSansCham-Regular.ttf
40
%%DATADIR%%/fonts/NotoSansCherokee-Regular.ttf
41
%%DATADIR%%/fonts/NotoSansCoptic-Regular.ttf
42
%%DATADIR%%/fonts/NotoSansCuneiform-Regular.ttf
43
%%DATADIR%%/fonts/NotoSansCypriot-Regular.ttf
44
%%DATADIR%%/fonts/NotoSansDeseret-Regular.ttf
45
%%DATADIR%%/fonts/NotoSansDevanagariUI-Regular.ttf
46
%%DATADIR%%/fonts/NotoSansEgyptianHieroglyphs-Regular.ttf
47
%%DATADIR%%/fonts/NotoSansEthiopic-Regular.ttf
48
%%DATADIR%%/fonts/NotoSansGeorgian-Regular.ttf
49
%%DATADIR%%/fonts/NotoSansGlagolitic-Regular.ttf
50
%%DATADIR%%/fonts/NotoSansGothic-Regular.ttf
51
%%DATADIR%%/fonts/NotoSansGujaratiUI-Regular.ttf
52
%%DATADIR%%/fonts/NotoSansGurmukhiUI-Regular.ttf
53
%%DATADIR%%/fonts/NotoSansHanunoo-Regular.ttf
54
%%DATADIR%%/fonts/NotoSansHebrew-Regular.ttf
55
%%DATADIR%%/fonts/NotoSansImperialAramaic-Regular.ttf
56
%%DATADIR%%/fonts/NotoSansInscriptionalPahlavi-Regular.ttf
57
%%DATADIR%%/fonts/NotoSansInscriptionalParthian-Regular.ttf
58
%%DATADIR%%/fonts/NotoSansJavanese-Regular.ttf
59
%%DATADIR%%/fonts/NotoSansKaithi-Regular.ttf
60
%%DATADIR%%/fonts/NotoSansKannadaUI-Regular.ttf
61
%%DATADIR%%/fonts/NotoSansKayahLi-Regular.ttf
62
%%DATADIR%%/fonts/NotoSansKharoshthi-Regular.ttf
63
%%DATADIR%%/fonts/NotoSansKhmerUI-Regular.ttf
64
%%DATADIR%%/fonts/NotoSansLaoUI-Regular.ttf
65
%%DATADIR%%/fonts/NotoSansLepcha-Regular.ttf
66
%%DATADIR%%/fonts/NotoSansLimbu-Regular.ttf
67
%%DATADIR%%/fonts/NotoSansLinearB-Regular.ttf
68
%%DATADIR%%/fonts/NotoSansLisu-Regular.ttf
69
%%DATADIR%%/fonts/NotoSansLycian-Regular.ttf
70
%%DATADIR%%/fonts/NotoSansLydian-Regular.ttf
71
%%DATADIR%%/fonts/NotoSansMalayalamUI-Regular.ttf
72
%%DATADIR%%/fonts/NotoSansMandaic-Regular.ttf
73
%%DATADIR%%/fonts/NotoSansMeeteiMayek-Regular.ttf
74
%%DATADIR%%/fonts/NotoSansMongolian-Regular.ttf
75
%%DATADIR%%/fonts/NotoSansMono-Bold.ttf
76
%%DATADIR%%/fonts/NotoSansMonoCJKjp-Regular.otf
77
%%DATADIR%%/fonts/NotoSansMonoCJKkr-Regular.otf
78
%%DATADIR%%/fonts/NotoSansMonoCJKsc-Regular.otf
79
%%DATADIR%%/fonts/NotoSansMonoCJKtc-Regular.otf
80
%%DATADIR%%/fonts/NotoSansMyanmarUI-Regular.ttf
81
%%DATADIR%%/fonts/NotoSansNKo-Regular.ttf
82
%%DATADIR%%/fonts/NotoSansNewTaiLue-Regular.ttf
83
%%DATADIR%%/fonts/NotoSansOgham-Regular.ttf
84
%%DATADIR%%/fonts/NotoSansOlChiki-Regular.ttf
85
%%DATADIR%%/fonts/NotoSansOldItalic-Regular.ttf
86
%%DATADIR%%/fonts/NotoSansOldPersian-Regular.ttf
87
%%DATADIR%%/fonts/NotoSansOldSouthArabian-Regular.ttf
88
%%DATADIR%%/fonts/NotoSansOldTurkic-Regular.ttf
89
%%DATADIR%%/fonts/NotoSansOriyaUI-Regular.ttf
90
%%DATADIR%%/fonts/NotoSansOsage-Regular.ttf
91
%%DATADIR%%/fonts/NotoSansOsmanya-Regular.ttf
92
%%DATADIR%%/fonts/NotoSansPhagsPa-Regular.ttf
93
%%DATADIR%%/fonts/NotoSansPhoenician-Regular.ttf
94
%%DATADIR%%/fonts/NotoSansRejang-Regular.ttf
95
%%DATADIR%%/fonts/NotoSansRunic-Regular.ttf
96
%%DATADIR%%/fonts/NotoSansSamaritan-Regular.ttf
97
%%DATADIR%%/fonts/NotoSansSaurashtra-Regular.ttf
98
%%DATADIR%%/fonts/NotoSansShavian-Regular.ttf
99
%%DATADIR%%/fonts/NotoSansSinhalaUI-Regular.ttf
100
%%DATADIR%%/fonts/NotoSansSundanese-Regular.ttf
101
%%DATADIR%%/fonts/NotoSansSylotiNagri-Regular.ttf
102
%%DATADIR%%/fonts/NotoSansSymbols-Regular.ttf
103
%%DATADIR%%/fonts/NotoSansSymbols2-Regular.ttf
104
%%DATADIR%%/fonts/NotoSansSyriacEastern-Regular.ttf
105
%%DATADIR%%/fonts/NotoSansSyriacEstrangela-Regular.ttf
106
%%DATADIR%%/fonts/NotoSansSyriacWestern-Regular.ttf
107
%%DATADIR%%/fonts/NotoSansTagalog-Regular.ttf
108
%%DATADIR%%/fonts/NotoSansTagbanwa-Regular.ttf
109
%%DATADIR%%/fonts/NotoSansTaiLe-Regular.ttf
110
%%DATADIR%%/fonts/NotoSansTaiTham-Regular.ttf
111
%%DATADIR%%/fonts/NotoSansTaiViet-Regular.ttf
112
%%DATADIR%%/fonts/NotoSansTamilUI-Regular.ttf
113
%%DATADIR%%/fonts/NotoSansTeluguUI-Regular.ttf
114
%%DATADIR%%/fonts/NotoSansThaana-Regular.ttf
115
%%DATADIR%%/fonts/NotoSansThaiUI-Regular.ttf
116
%%DATADIR%%/fonts/NotoSansTibetan-Regular.ttf
117
%%DATADIR%%/fonts/NotoSansTifinagh-Regular.ttf
118
%%DATADIR%%/fonts/NotoSansUgaritic-Regular.ttf
119
%%DATADIR%%/fonts/NotoSansVai-Regular.ttf
120
%%DATADIR%%/fonts/NotoSansYi-Regular.ttf
121
%%DATADIR%%/fonts/sort.py
14
%%DATADIR%%/global.py
122
%%DATADIR%%/global.py
15
%%DATADIR%%/sh_utils.py
123
%%DATADIR%%/sh_utils.py
16
%%DATADIR%%/syntax/ada95.syntax
124
%%DATADIR%%/syntax/ada95.syntax
(-)editors/jove/Makefile (-14 lines)
Lines 20-37 USES= ncurses Link Here
20
MAKE_ARGS=	LIBS="${LDFLAGS} -lncurses"
20
MAKE_ARGS=	LIBS="${LDFLAGS} -lncurses"
21
WRKSRC=		${WRKDIR}/${PORTNAME}
21
WRKSRC=		${WRKDIR}/${PORTNAME}
22
22
23
OPTIONS_DEFINE=	EXTRADOCS
24
EXTRADOCS_DESC=	Build and install cmds.doc
25
EXTRADOCS_USES=	groff
26
OPTIONS_DEFAULT=
27
OPTIONS_SUB=	yes
28
29
post-patch:
30
# Fix collisions with getline(3)
31
	@${REINPLACE_CMD} 's|[[:<:]]getline[[:>:]]|get_line|g' ${WRKSRC}/*.c ${WRKSRC}/*.h
32
33
post-patch-EXTRADOCS-off:
34
	@${REINPLACE_CMD} -E 's|^(all:.*) doc/cmds\.doc$$|\1|' ${WRKSRC}/Makefile
35
	@${REINPLACE_CMD} 's|^CMDS.DOC = .*|CMDS.DOC=|' ${WRKSRC}/Makefile
36
37
.include <bsd.port.mk>
23
.include <bsd.port.mk>
(-)editors/jove/files/patch-io.c (+12 lines)
Lines 17-19 Link Here
17
 #else /* MSFILESYSTEM */
17
 #else /* MSFILESYSTEM */
18
 	tmpfd = open(tfname, O_CREAT|O_EXCL|O_BINARY|O_RDWR, S_IWRITE|S_IREAD);
18
 	tmpfd = open(tfname, O_CREAT|O_EXCL|O_BINARY|O_RDWR, S_IWRITE|S_IREAD);
19
 #endif /* MSFILESYSTEM */
19
 #endif /* MSFILESYSTEM */
20
@@ -1240,9 +1246,9 @@ int	Jr_Len;		/* length of Just Read Line */
21
 
22
 void
23
 #ifdef USE_PROTOTYPES
24
-getline proto((daddr addr, register char *buf))
25
+get_line proto((daddr addr, register char *buf))
26
 #else
27
-getline(addr, buf)
28
+get_line(addr, buf)
29
 daddr	addr;
30
 register char	*buf;
31
 #endif
(-)editors/ne/Makefile (-9 lines)
Lines 34-48 OPTIONS_DEFINE= DEBUG DOCS Link Here
34
34
35
DEBUG_MAKE_ARGS=	NE_DEBUG=1
35
DEBUG_MAKE_ARGS=	NE_DEBUG=1
36
36
37
post-patch:
38
	@${FIND} ${BUILD_WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
39
		's|"regex\.h"|<gnu/regex.h>|g'
40
	@${REINPLACE_CMD} -e \
41
		's|-O3|| ; \
42
		/[[:space:]]regex.o/d ; \
43
		 s|regex.h$$||g' ${BUILD_WRKSRC}/makefile
44
	@${REINPLACE_CMD} -e '/cp -pR/d' ${WRKSRC}/makefile
45
46
post-install:
37
post-install:
47
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ne
38
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ne
48
	${INSTALL_MAN} ${WRKSRC}/doc/ne.1 ${STAGEDIR}${MANPREFIX}/man/man1
39
	${INSTALL_MAN} ${WRKSRC}/doc/ne.1 ${STAGEDIR}${MANPREFIX}/man/man1
(-)editors/ne/files/patch-makefile (-3 / +3 lines)
Lines 1-6 Link Here
1
--- makefile.orig	2018-10-24 23:53:08 UTC
1
--- makefile.orig	2019-10-02 12:47:26 UTC
2
+++ makefile
2
+++ makefile
3
@@ -54,17 +54,17 @@ install:
3
@@ -54,17 +54,16 @@ install:
4
 	mkdir -p $(DESTDIR)$(PREFIX)/bin
4
 	mkdir -p $(DESTDIR)$(PREFIX)/bin
5
 	mkdir -p $(DESTDIR)$(PREFIX)/share/ne/syntax
5
 	mkdir -p $(DESTDIR)$(PREFIX)/share/ne/syntax
6
 	mkdir -p $(DESTDIR)$(PREFIX)/share/ne/macros
6
 	mkdir -p $(DESTDIR)$(PREFIX)/share/ne/macros
Lines 14-21 Link Here
14
 	cp -p syntax/*.jsf $(DESTDIR)$(PREFIX)/share/ne/syntax
14
 	cp -p syntax/*.jsf $(DESTDIR)$(PREFIX)/share/ne/syntax
15
 	cp -p macros/*     $(DESTDIR)$(PREFIX)/share/ne/macros
15
 	cp -p macros/*     $(DESTDIR)$(PREFIX)/share/ne/macros
16
-	cp -p doc/ne.1 $(DESTDIR)$(PREFIX)/share/man/man1
16
-	cp -p doc/ne.1 $(DESTDIR)$(PREFIX)/share/man/man1
17
-	cp -pR doc/html doc/ne.txt doc/default.* README.md COPYING NEWS CHANGES $(DESTDIR)$(PREFIX)/share/doc/ne
17
+#	cp -p doc/ne.1 $(DESTDIR)$(PREFIX)/share/man/man1
18
+#	cp -p doc/ne.1 $(DESTDIR)$(PREFIX)/share/man/man1
18
 	cp -pR doc/html doc/ne.txt doc/default.* README.md COPYING NEWS CHANGES $(DESTDIR)$(PREFIX)/share/doc/ne
19
 	if [ -f doc/ne.pdf ]; then cp -p doc/ne.pdf $(DESTDIR)$(PREFIX)/share/doc/ne ; fi
19
 	if [ -f doc/ne.pdf ]; then cp -p doc/ne.pdf $(DESTDIR)$(PREFIX)/share/doc/ne ; fi
20
-	cp -p doc/ne.info.gz $(DESTDIR)$(PREFIX)/share/info
20
-	cp -p doc/ne.info.gz $(DESTDIR)$(PREFIX)/share/info
21
+#	cp -p doc/ne.info.gz $(DESTDIR)$(PREFIX)/share/info
21
+#	cp -p doc/ne.info.gz $(DESTDIR)$(PREFIX)/share/info
(-)emulators/hercules/Makefile (-10 lines)
Lines 24-37 INSTALL_TARGET= install-strip Link Here
24
24
25
OPTIONS_DEFINE=	DOCS
25
OPTIONS_DEFINE=	DOCS
26
26
27
post-patch:
28
	@${REINPLACE_CMD} -e \
29
		's|SOL_TCP|IPPROTO_TCP|g' ${WRKSRC}/hscutl.c
30
	@${REINPLACE_CMD} \
31
		-e '/herclin_LDADD =/s/$$/ libhercu.la libhercd.la/' \
32
		-e '/hercules_LDADD =/s/$$/ libhercu.la libhercd.la/' \
33
		${WRKSRC}/Makefile.in
34
	@${REINPLACE_CMD} -e \
35
		'/^pkgdatadir/s|=.*|= $$(docdir)|' ${WRKSRC}/html/Makefile.in
36
37
.include <bsd.port.mk>
27
.include <bsd.port.mk>
(-)finance/xtrader/Makefile (-10 lines)
Lines 22-37 NO_WRKSUBDIR= yes Link Here
22
PLIST_FILES=	bin/xtrader \
22
PLIST_FILES=	bin/xtrader \
23
		%%DATADIR%%/sample.xt
23
		%%DATADIR%%/sample.xt
24
24
25
post-patch:
26
	${REINPLACE_CMD} -e 's|char|const char|' \
27
	    ${WRKSRC}/xtrader/src/Resource.cpp
28
	${REINPLACE_CMD} -e 's|static char|static const char|' \
29
	    ${WRKSRC}/xtrader/src/Resource.h
30
	${REINPLACE_CMD} -e 's|int(data)|(unsigned long)data|' \
31
	    ${WRKSRC}/xtrader/src/gui/XTrader.h
32
	${FIND} ${WRKSRC} -type f -name "*.cpp" -o -name "*.h" | ${XARGS} \
33
	   ${REINPLACE_CMD} -e '/^#include <FL/s|.h>$$|.H>|; s|fl_file_chooser|Fl_File_Chooser|g'
34
35
do-install:
25
do-install:
36
	@${MKDIR} ${STAGEDIR}${DATADIR}
26
	@${MKDIR} ${STAGEDIR}${DATADIR}
37
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/sample.xt ${STAGEDIR}${DATADIR}
27
	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/sample.xt ${STAGEDIR}${DATADIR}
(-)finance/xtrader/files/patch-Makefile.linux (-21 lines)
Removed Link Here
1
--- ./xtrader/Makefile.linux.orig	2004-10-22 00:21:08.000000000 +0200
2
+++ ./xtrader/Makefile.linux	2011-11-15 13:46:18.000000000 +0100
3
@@ -1,12 +1,12 @@
4
-COMP=			g++
5
-IFLAGS=			-I../util -Isrc -I/usr/local/include -I/usr/include/ptypes
6
-CFLAGS=			-march=i586 -O3 -Wall -Wno-format-y2k
7
-LFLAGS=			-L/usr/local/lib -lz -lfltk -lptypes  -lexpat -L/usr/X11R6/lib -lm -lXpm -lX11 -ldl -lpthread -lXft
8
-LFLAGS2=		-L/usr/local/lib -lfltk_ -lptypes -L/usr/X11R6/lib -lXpm -lX11 -ldl -lpthread
9
+COMP=			$(CXX)
10
+IFLAGS=			-I../util -Isrc -I$(LOCALBASE)/include -I$(LOCALBASE)/include/ptypes
11
+CFLAGS:=			$(CFLAGS) -Wno-format-y2k
12
+LFLAGS=			-L$(LOCALBASE)/lib -lz -lfltk -lptypes -lexpat -lm -lXpm -lX11 -pthread -lXft -lcompat
13
+LFLAGS2=		-L$(LOCALBASE)/lib -lfltk -lptypes -lXpm -lX11 -pthread
14
 XTRADER=		xtrader
15
 XTRADER2=		xtrader.static
16
 
17
-all:	$(XTRADER) $(XTRADER2)
18
+all:	$(XTRADER)
19
 
20
 XTRADER_OBJ=../util/MH.o ../util/MHCSVFile.o \
21
 		../util/MHDate.o ../util/MHDayChart.o ../util/MHDC.o \
(-)finance/xtrader/files/patch-util_fl_Fl_Table.cpp (-56 lines)
Removed Link Here
1
--- ./util/fl/Fl_Table.cpp.orig	2004-11-14 11:21:29.000000000 +0100
2
+++ ./util/fl/Fl_Table.cpp	2011-11-15 13:46:19.000000000 +0100
3
@@ -10,15 +10,15 @@
4
 #include "Fl_Select.h"
5
 #include "Fl_Find.h"
6
 #include "Fl_Defines.h"
7
-#include <FL/Fl.h>
8
-#include <FL/fl_ask.h>
9
-#include <FL/fl_draw.h>
10
-#include <FL/Fl_Choice.h>
11
-#include <FL/Fl_Check_Button.h>
12
-#include <FL/Fl_File_Chooser.h>
13
-#include <FL/Fl_Input.h>
14
-#include <FL/Fl_Scrollbar.h>
15
-#include <FL/fl_show_colormap.h>
16
+#include <FL/Fl.H>
17
+#include <FL/fl_ask.H>
18
+#include <FL/fl_draw.H>
19
+#include <FL/Fl_Choice.H>
20
+#include <FL/Fl_Check_Button.H>
21
+#include <FL/Fl_File_Chooser.H>
22
+#include <FL/Fl_Input.H>
23
+#include <FL/Fl_Scrollbar.H>
24
+#include <FL/fl_show_colormap.H>
25
 #include <stdlib.h>
26
 #include <stdio.h>
27
 #include <string.h>
28
@@ -962,7 +962,14 @@
29
     }
30
 }
31
 
32
-
33
+/**
34
+ * Callback for file chooser
35
+ */
36
+void tab_fc_callback(Fl_File_Chooser *fc, void *data)
37
+{
38
+	Fl_Table *t = static_cast<Fl_Table *>(data);
39
+	t->aData->value (fc->value(), t->aCurrRow, t->aCurrCol);
40
+}
41
 
42
 /**
43
 *  Start to edit a cell
44
@@ -983,9 +990,10 @@
45
 
46
     }
47
     else if (aData->editor_type (aCurrRow, aCurrCol, false) == FL_DLG_FILE_EDITOR) {
48
-        char* file = fl_file_chooser("Select File", "*", aData->value(aCurrRow, aCurrCol));
49
-        aData->value (file, aCurrRow, aCurrCol);
50
 
51
+        Fl_File_Chooser *fc = new Fl_File_Chooser("Select File", "*", Fl_File_Chooser::SINGLE, aData->value(aCurrRow, aCurrCol));
52
+        fc->callback(tab_fc_callback, this);
53
+        delete fc;
54
     }
55
     else {
56
         aEditWidget = aData->editor (aCurrRow, aCurrCol, force_custom);
(-)finance/xtrader/files/patch-util_fl_Fl_Table.h (-26 lines)
Removed Link Here
1
--- ./util/fl/Fl_Table.h.orig	2004-11-14 11:21:34.000000000 +0100
2
+++ ./util/fl/Fl_Table.h	2011-11-15 13:46:19.000000000 +0100
3
@@ -12,12 +12,13 @@
4
     #define snprintf _snprintf
5
 #endif
6
 
7
-#include <FL/Fl_Group.h>
8
+#include <FL/Fl_Group.H>
9
 #include "Fl_Table_Data.h"
10
 
11
 class Fl_Input;
12
 class Fl_Scrollbar;
13
 class Fl_Find;
14
+class Fl_File_Chooser;
15
 
16
 enum {
17
     FL_DATA_CHANGE = 1000,
18
@@ -121,6 +122,8 @@
19
     void                    get_cell_pos (int& row, int& col, int& xpos, int& ypos, int& width, int& height);
20
     void                    start_edit_mode (bool force = false);
21
     void                    set_cursor(int row, int col) {move_cursor (row - aCurrRow, col - aCurrCol);}
22
+	 friend                  void tab_fc_callback(Fl_File_Chooser *fc, void *data);
23
+
24
 };
25
 
26
 #endif
(-)finance/xtrader/files/patch-xtrader_src_dlg_DownloadDlg.cpp (-5 / +5 lines)
Lines 1-5 Link Here
1
--- ./xtrader/src/dlg/DownloadDlg.cpp.orig	2004-11-14 11:21:30.000000000 +0100
1
--- xtrader/src/dlg/DownloadDlg.cpp.orig	2004-11-14 10:21:30 UTC
2
+++ ./xtrader/src/dlg/DownloadDlg.cpp	2011-11-15 13:46:19.000000000 +0100
2
+++ xtrader/src/dlg/DownloadDlg.cpp
3
@@ -21,8 +21,8 @@
3
@@ -21,8 +21,8 @@
4
 #include "Enums.h"
4
 #include "Enums.h"
5
 #include "Progress.h"
5
 #include "Progress.h"
Lines 11-17 Link Here
11
 #include <MHDate.h>
11
 #include <MHDate.h>
12
 #include <MHDebug.h>
12
 #include <MHDebug.h>
13
 #include <MHFile.h>
13
 #include <MHFile.h>
14
@@ -164,13 +164,24 @@
14
@@ -164,13 +164,24 @@ void DownloadDlg::cb2 () {
15
 }
15
 }
16
 
16
 
17
 
17
 
Lines 23-31 Link Here
23
+	DownloadDlg *d = static_cast<DownloadDlg *>(data);
23
+	DownloadDlg *d = static_cast<DownloadDlg *>(data);
24
+	const char *file = fc->value();
24
+	const char *file = fc->value();
25
+	if (file && *file) d->aFile->value(file);
25
+	if (file && *file) d->aFile->value(file);
26
+
27
+}
28
 
26
 
27
+}
28
+
29
 /**
29
 /**
30
 * Browse for result file name
30
 * Browse for result file name
31
 */
31
 */
(-)finance/xtrader/files/patch-xtrader_src_dlg_DownloadDlg.h (-3 / +3 lines)
Lines 1-5 Link Here
1
--- ./xtrader/src/dlg/DownloadDlg.h.orig	2004-11-14 11:21:35.000000000 +0100
1
--- xtrader/src/dlg/DownloadDlg.h.orig	2004-11-14 10:21:35 UTC
2
+++ ./xtrader/src/dlg/DownloadDlg.h	2011-11-15 13:46:19.000000000 +0100
2
+++ xtrader/src/dlg/DownloadDlg.h
3
@@ -18,6 +18,7 @@
3
@@ -18,6 +18,7 @@
4
 #include <download/BaseDownload.h>
4
 #include <download/BaseDownload.h>
5
 
5
 
Lines 8-14 Link Here
8
 
8
 
9
 
9
 
10
 
10
 
11
@@ -51,6 +52,8 @@
11
@@ -51,6 +52,8 @@ class DownloadDlg : public Fl_Dialog { (private)
12
     Fl_Button*              aClose;
12
     Fl_Button*              aClose;
13
 
13
 
14
     void                    download (int type, const char* start, const char* stop, int action);
14
     void                    download (int type, const char* start, const char* stop, int action);
(-)finance/xtrader/files/patch-xtrader_src_dlg_ExportDlg.cpp (-3 / +3 lines)
Lines 1-5 Link Here
1
--- ./xtrader/src/dlg/ExportDlg.cpp.orig	2004-11-14 11:21:29.000000000 +0100
1
--- xtrader/src/dlg/ExportDlg.cpp.orig	2004-11-14 10:21:29 UTC
2
+++ ./xtrader/src/dlg/ExportDlg.cpp	2011-11-15 13:46:19.000000000 +0100
2
+++ xtrader/src/dlg/ExportDlg.cpp
3
@@ -14,9 +14,9 @@
3
@@ -14,9 +14,9 @@
4
 #include <help/Export.h>
4
 #include <help/Export.h>
5
 #include <MHDate.h>
5
 #include <MHDate.h>
Lines 13-19 Link Here
13
 
13
 
14
 
14
 
15
 
15
 
16
@@ -134,13 +134,23 @@
16
@@ -134,13 +134,23 @@ void ExportDlg::cb2 () {
17
 }
17
 }
18
 
18
 
19
 
19
 
(-)finance/xtrader/files/patch-xtrader_src_dlg_ExportDlg.h (-3 / +3 lines)
Lines 1-5 Link Here
1
--- ./xtrader/src/dlg/ExportDlg.h.orig	2004-11-14 11:21:35.000000000 +0100
1
--- xtrader/src/dlg/ExportDlg.h.orig	2004-11-14 10:21:35 UTC
2
+++ ./xtrader/src/dlg/ExportDlg.h	2011-11-15 13:46:19.000000000 +0100
2
+++ xtrader/src/dlg/ExportDlg.h
3
@@ -16,6 +16,7 @@
3
@@ -16,6 +16,7 @@
4
 #include <FL/Fl_Button.H>
4
 #include <FL/Fl_Button.H>
5
 
5
 
Lines 8-14 Link Here
8
 
8
 
9
 
9
 
10
 
10
 
11
@@ -45,6 +46,8 @@
11
@@ -45,6 +46,8 @@ class ExportDlg : public Fl_Dialog { (private)
12
     Fl_Button*              aBrowse;
12
     Fl_Button*              aBrowse;
13
     Fl_Button*              aHelp;
13
     Fl_Button*              aHelp;
14
     Fl_Button*              aClose;
14
     Fl_Button*              aClose;
(-)finance/xtrader/files/patch-xtrader_src_gui_ReportView.cpp (-5 / +6 lines)
Lines 1-5 Link Here
1
--- ./xtrader/src/gui/ReportView.cpp.orig	2004-11-14 11:21:30.000000000 +0100
1
--- xtrader/src/gui/ReportView.cpp.orig	2004-11-14 10:21:30 UTC
2
+++ ./xtrader/src/gui/ReportView.cpp	2011-11-15 13:46:19.000000000 +0100
2
+++ xtrader/src/gui/ReportView.cpp
3
@@ -21,13 +21,13 @@
3
@@ -21,13 +21,13 @@
4
 #include "Resource.h"
4
 #include "Resource.h"
5
 #include <MHDate.h>
5
 #include <MHDate.h>
Lines 20-30 Link Here
20
 #include <fl/Fl_Table.h>
20
 #include <fl/Fl_Table.h>
21
 #include <fl/Fl_Table_Data.h>
21
 #include <fl/Fl_Table_Data.h>
22
 
22
 
23
@@ -139,7 +139,15 @@
23
@@ -139,8 +139,16 @@ void ReportView::cbBrowser1 () {
24
 void ReportView::cbBrowser2 () {
24
 void ReportView::cbBrowser2 () {
25
 }
25
 }
26
 
26
 
27
-
28
+/**
27
+/**
29
+ * Callback for file chooser
28
+ * Callback for file chooser
30
+ */
29
+ */
Lines 35-43 Link Here
35
+	if (file && *file) r->Save (file);
34
+	if (file && *file) r->Save (file);
36
+}
35
+}
37
 
36
 
37
-
38
 /**
38
 /**
39
 *  Callback for buttons
39
 *  Callback for buttons
40
@@ -173,8 +181,9 @@
40
 */
41
@@ -173,8 +181,9 @@ void ReportView::cbButton (Fl_Button* button) {
41
             Report* r = ((ReportData*)aTable->data())->report();
42
             Report* r = ((ReportData*)aTable->data())->report();
42
 
43
 
43
             if (r) {
44
             if (r) {
(-)finance/xtrader/files/patch-xtrader_src_gui_XTrader.cpp (-6 / +7 lines)
Lines 1-5 Link Here
1
--- ./xtrader/src/gui/XTrader.cpp.orig	2004-11-14 11:21:30.000000000 +0100
1
--- xtrader/src/gui/XTrader.cpp.orig	2004-11-14 10:21:30 UTC
2
+++ ./xtrader/src/gui/XTrader.cpp	2011-11-15 13:46:19.000000000 +0100
2
+++ xtrader/src/gui/XTrader.cpp
3
@@ -34,11 +34,11 @@
3
@@ -34,11 +34,11 @@
4
 #include "table/SecurityData.h"
4
 #include "table/SecurityData.h"
5
 #include "table/SetData.h"
5
 #include "table/SetData.h"
Lines 16-22 Link Here
16
 #include <fl/Fl_Table_Data.h>
16
 #include <fl/Fl_Table_Data.h>
17
 #include <MHDate.h>
17
 #include <MHDate.h>
18
 #include <MHDebug.h>
18
 #include <MHDebug.h>
19
@@ -249,6 +249,34 @@
19
@@ -249,7 +249,35 @@ void XTrader::cbClose () {
20
 }
20
 }
21
 
21
 
22
 
22
 
Lines 27-33 Link Here
27
+{
27
+{
28
+	XTrader *xt = static_cast<XTrader *>(data);
28
+	XTrader *xt = static_cast<XTrader *>(data);
29
+	const char *file = fc->value();
29
+	const char *file = fc->value();
30
+
30
 
31
+	if (file && *file) {
31
+	if (file && *file) {
32
+		MHDate date;
32
+		MHDate date;
33
+		Import* import = 0;
33
+		Import* import = 0;
Lines 48-57 Link Here
48
+		delete import;
48
+		delete import;
49
+	}
49
+	}
50
+}
50
+}
51
 
51
+
52
 /**
52
 /**
53
 *  Callback for all menu items
53
 *  Callback for all menu items
54
@@ -291,28 +319,11 @@
54
 */
55
@@ -291,28 +319,11 @@ void XTrader::cbMenu (int id) {
55
                 break;
56
                 break;
56
 
57
 
57
             case Resource::MENU_IMPORT: {
58
             case Resource::MENU_IMPORT: {
(-)games/54321/Makefile (-8 lines)
Lines 22-35 post-extract: Link Here
22
	@${MKDIR} ${WRKSRC}/archs/${OPSYS}
22
	@${MKDIR} ${WRKSRC}/archs/${OPSYS}
23
	@${CP} ${FILESDIR}/variables.GNU ${WRKSRC}/archs/${OPSYS}
23
	@${CP} ${FILESDIR}/variables.GNU ${WRKSRC}/archs/${OPSYS}
24
24
25
post-patch:
26
	@${REINPLACE_CMD} -e \
27
		's|ARCH|OPSYS| ; \
28
		 s|:= -O|+=|' ${WRKSRC}/GNUmakefile
29
	@${REINPLACE_CMD} -e \
30
		's|SDL_main|main| ; \
31
		 s|../../data/|${DATADIR}/data/|' ${WRKSRC}/code/*.cpp
32
33
do-install:
25
do-install:
34
	(cd ${WRKSRC}/Release/bin/${OPSYS} && ${INSTALL_PROGRAM} 54321 \
26
	(cd ${WRKSRC}/Release/bin/${OPSYS} && ${INSTALL_PROGRAM} 54321 \
35
		${STAGEDIR}${PREFIX}/bin)
27
		${STAGEDIR}${PREFIX}/bin)
(-)games/eboard/Makefile (-11 / +11 lines)
Lines 25-46 USE_PERL5= build Link Here
25
USE_GNOME=	gtk20
25
USE_GNOME=	gtk20
26
SHEBANG_FILES=	configure
26
SHEBANG_FILES=	configure
27
27
28
CONFIGURE_ARGS=	--prefix=${PREFIX} \
28
CONFIGURE_ARGS=	--extra-inc=${LOCALBASE}/include \
29
		--extra-inc=${LOCALBASE}/include \
29
		--extra-ld=${LOCALBASE}/lib \
30
		--extra-ld=${LOCALBASE}/lib
30
		--prefix=${PREFIX}
31
31
32
INSTALL_TARGET=	install install-man
32
INSTALL_TARGET=	install install-man
33
33
34
OPTIONS_DEFINE=	JOYSTICK DOCS
34
OPTIONS_DEFINE=		DOCS JOYSTICK
35
JOYSTICK_DESC=	Enable joystick support
35
JOYSTICK_DESC=		Enable joystick support
36
JOYSTICK_BUILD_DEPENDS=	${LOCALBASE}/include/linux/joystick.h:devel/evdev-proto
36
JOYSTICK_BUILD_DEPENDS=	${LOCALBASE}/include/linux/joystick.h:devel/evdev-proto
37
37
38
DESKTOP_ENTRIES="eboard" \
38
DESKTOP_ENTRIES=	"eboard" \
39
		"Play chess" \
39
			"Play chess" \
40
		"${PREFIX}/share/pixmaps/eboard.xpm" \
40
			"${PREFIX}/share/pixmaps/eboard.xpm" \
41
		"eboard" \
41
			"eboard" \
42
		"Game;BoardGame;GTK;" \
42
			"Game;BoardGame;GTK;" \
43
		true
43
			true
44
44
45
.include <bsd.port.options.mk>
45
.include <bsd.port.options.mk>
46
46
(-)games/eboard/files/patch-c++11 (-17 lines)
Removed Link Here
1
libc++ doesn't like "using namespace std" in C++11
2
3
network.cc:466:59: error: invalid operands to binary expression ('__bind<int &, sockaddr *, unsigned long>' and 'int')
4
  if (bind(netsocket,(struct sockaddr *) &sin,sizeof(sin))==-1) {
5
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~
6
7
--- network.cc.orig	2008-02-22 15:51:22 UTC
8
+++ network.cc
9
@@ -463,7 +463,7 @@ int IncomingConnection::createSocket() {
10
   sin.sin_addr.s_addr = INADDR_ANY;
11
   sin.sin_port = htons(Port);
12
     
13
-  if (bind(netsocket,(struct sockaddr *) &sin,sizeof(sin))==-1) {
14
+  if (::bind(netsocket,(struct sockaddr *) &sin,sizeof(sin))==-1) {
15
     snprintf(errorMessage,128,_("Unable to bind on port %d."),Port);
16
     return(-1);
17
   }
(-)games/eboard/files/patch-configure (-2 / +27 lines)
Lines 1-11 Link Here
1
--- configure.orig	2020-01-02 23:06:25 UTC
1
--- configure.orig	2020-01-27 14:05:04 UTC
2
+++ configure
2
+++ configure
3
@@ -1,12 +1,12 @@
4
-#!/usr/bin/perl
5
+#!/usr/local/bin/perl
6
 
7
 use IO::Handle;
8
 
9
 my $prefix      = "/usr/local";
10
 my $package     = "eboard";
11
 my $version     = "1.1.1";
12
-my $cxx         = "g++";
13
-my @cxxflags    = ("-O6");
14
+my $cxx         = "c++";
15
+my @cxxflags    = ("-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  ");
16
 my @ldflags     = ("-lpthread");
17
 my @libs        = ();
18
 my $configh     = "config.h";
19
@@ -45,7 +45,7 @@ sub usage {
20
     print "\t--enable-debug       compile with gdb debugging info\n";
21
     print "\t--disable-nls        disable translation support\n";
22
 #    print "\t--disable-dgt        disable DGT board support\n";
23
-    print "\t--compiler=prog      use alternative compiler (default: g++)\n";
24
+    print "\t--compiler=prog      use alternative compiler (default: c++)\n";
25
     print "\t--extra-inc=list     additional include file search paths, separated by :\n";
26
     print "\t--extra-ld=list      additional library search paths, separated by :\n";
27
     print "\t--extra-libs=list    additional libraries separated by :\n";
3
@@ -104,7 +104,7 @@ sub run_cmd {
28
@@ -104,7 +104,7 @@ sub run_cmd {
4
 }
29
 }
5
 
30
 
6
 sub cplusplus_lang {
31
 sub cplusplus_lang {
7
-    my @compilers = ( $cxx, 'g++', 'c++' );
32
-    my @compilers = ( $cxx, 'g++', 'c++' );
8
+    my @compilers = ( $cxx, 'g++9', 'c++' );
33
+    my @compilers = ( $cxx, 'c++9', 'c++' );
9
     my $x;
34
     my $x;
10
     my $program = <<EOF;
35
     my $program = <<EOF;
11
 #include <list>
36
 #include <list>
(-)games/eboard/files/patch-libpng15 (-16 lines)
Removed Link Here
1
--- cimg.cc
2
+++ cimg.cc
3
@@ -94,11 +95,11 @@
4
       ct == PNG_COLOR_TYPE_GRAY_ALPHA)
5
     png_set_gray_to_rgb(pngp);
6
 
7
-  alloc(pngp->width,pngp->height);
8
+  alloc(width,height);
9
   if (!ok) { fclose(f); return; }
10
   ok = 0;
11
 
12
-  for(i=0;i<pngp->height;i++) {
13
+  for(i=0;i<height;i++) {
14
     png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL);
15
   }
16
 
(-)games/eboard/files/patch-main.cc (-3 / +3 lines)
Lines 1-6 Link Here
1
--- main.cc.orig	Mon Jan 22 18:57:40 2007
1
--- main.cc.orig	2020-01-27 14:05:04 UTC
2
+++ main.cc	Tue Jan 30 21:07:51 2007
2
+++ main.cc
3
@@ -139,7 +139,7 @@
3
@@ -139,7 +139,7 @@ void openJoystick(MainWindow *mw) {
4
   char devname[64];
4
   char devname[64];
5
 
5
 
6
   for(i=0;i<10;i++) {
6
   for(i=0;i<10;i++) {
(-)games/eboard/files/patch-network.cc (-6 / +15 lines)
Lines 1-6 Link Here
1
--- network.cc.orig	2008-02-22 16:51:22.000000000 +0100
1
--- network.cc.orig	2020-01-27 14:05:04 UTC
2
+++ network.cc	2008-12-29 11:24:10.000000000 +0100
2
+++ network.cc
3
@@ -566,6 +566,7 @@
3
@@ -463,7 +463,7 @@ int IncomingConnection::createSocket() {
4
   sin.sin_addr.s_addr = INADDR_ANY;
5
   sin.sin_port = htons(Port);
6
     
7
-  if (bind(netsocket,(struct sockaddr *) &sin,sizeof(sin))==-1) {
8
+  if (::bind(netsocket,(struct sockaddr *) &sin,sizeof(sin))==-1) {
9
     snprintf(errorMessage,128,_("Unable to bind on port %d."),Port);
10
     return(-1);
11
   }
12
@@ -566,6 +566,7 @@ PipeConnection::PipeConnection(int _pin,int _pout) {
4
   strcpy(HostName,"local pipe");
13
   strcpy(HostName,"local pipe");
5
   snprintf(HostAddress,96,"pipe[%d,%d]",pin,pout);
14
   snprintf(HostAddress,96,"pipe[%d,%d]",pin,pout);
6
   Quiet=0;
15
   Quiet=0;
Lines 8-14 Link Here
8
   MaxWaitTime = 60000.0; // 1 minute
17
   MaxWaitTime = 60000.0; // 1 minute
9
 }
18
 }
10
 
19
 
11
@@ -577,6 +578,7 @@
20
@@ -577,6 +578,7 @@ void PipeConnection::init() {
12
   strcpy(HostAddress,"unknown");
21
   strcpy(HostAddress,"unknown");
13
   memset(HelperBin,0,512);
22
   memset(HelperBin,0,512);
14
   Quiet=0;
23
   Quiet=0;
Lines 16-22 Link Here
16
   handshake.erase();
25
   handshake.erase();
17
   MaxWaitTime = 60000.0; // 1 minute
26
   MaxWaitTime = 60000.0; // 1 minute
18
 }
27
 }
19
@@ -612,6 +614,25 @@
28
@@ -612,6 +614,25 @@ PipeConnection::PipeConnection(char *host,int port, 
20
   Port=port;
29
   Port=port;
21
   g_strlcpy(HostName,host,128);
30
   g_strlcpy(HostName,host,128);
22
 
31
 
Lines 42-48 Link Here
42
   // build helper path
51
   // build helper path
43
   if (helpersuffix)
52
   if (helpersuffix)
44
     snprintf(z,256,"%s.%s",helperbin,helpersuffix);
53
     snprintf(z,256,"%s.%s",helperbin,helpersuffix);
45
@@ -728,7 +749,10 @@
54
@@ -728,7 +749,10 @@ int PipeConnection::open() {
46
     dup2(1,2);
55
     dup2(1,2);
47
 
56
 
48
     setpgid(getpid(),0); // to broadcast SIGKILL later
57
     setpgid(getpid(),0); // to broadcast SIGKILL later
(-)games/eboard/files/patch-network.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- network.h.orig	Mon Jan 15 23:59:58 2007
1
--- network.h.orig	2020-01-27 14:05:04 UTC
2
+++ network.h	Wed Jan 17 19:39:10 2007
2
+++ network.h
3
@@ -235,6 +235,7 @@
3
@@ -235,6 +235,7 @@ class PipeConnection : public BufferedConnection,
4
   int  pid;
4
   int  pid;
5
   int  toid; // timeout
5
   int  toid; // timeout
6
   string handshake;
6
   string handshake;
(-)games/eboard/files/patch-ntext.cc (-2 / +2 lines)
Lines 1-4 Link Here
1
--- ntext.cc.orig	2008-02-22 15:51:22 UTC
1
--- ntext.cc.orig	2020-01-27 14:05:04 UTC
2
+++ ntext.cc
2
+++ ntext.cc
3
@@ -237,7 +237,7 @@ void NText::setBG(int c) {
3
@@ -237,7 +237,7 @@ void NText::setBG(int c) {
4
 void NText::append(const char *text, int len, int color) {
4
 void NText::append(const char *text, int len, int color) {
Lines 9-15 Link Here
9
 
9
 
10
   if (len < 0) {
10
   if (len < 0) {
11
     discardExcess();
11
     discardExcess();
12
@@ -246,10 +246,8 @@ void NText::append(const char *text, int
12
@@ -246,10 +246,8 @@ void NText::append(const char *text, int len, int colo
13
 
13
 
14
   p = strchr(text, '\n');
14
   p = strchr(text, '\n');
15
   if (p!=NULL) {
15
   if (p!=NULL) {
(-)games/gracer/Makefile (-1 / +1 lines)
Lines 17-23 BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:x11-toolkits/plib Link Here
17
LIB_DEPENDS=	libgif.so:graphics/giflib \
17
LIB_DEPENDS=	libgif.so:graphics/giflib \
18
		libpng.so:graphics/png
18
		libpng.so:graphics/png
19
19
20
USES=		gl gmake jpeg localbase perl5 tcl
20
USES=		gl gmake jpeg localbase perl5 tcl xorg
21
USE_GL=		glut
21
USE_GL=		glut
22
USE_PERL5=	build
22
USE_PERL5=	build
23
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
(-)games/gracer/files/patch-ab (-10 lines)
Removed Link Here
1
Index: src/glhash.h
2
@@ -709,6 +709,8 @@
3
 	{"all_attrib_bits",	GL_ALL_ATTRIB_BITS},
4
 	{"client_pixel_store_bit",	GL_CLIENT_PIXEL_STORE_BIT},
5
 	{"client_vertex_array_bit",	GL_CLIENT_VERTEX_ARRAY_BIT},
6
+#ifdef GL_CLIENT_ALL_ATTRIB_BITS
7
 	{"client_all_attrib_bits",	GL_CLIENT_ALL_ATTRIB_BITS},
8
+#endif
9
 	{NULL, GL_NONE},
10
 };
(-)games/gracer/files/patch-ac2scene.c (-37 lines)
Removed Link Here
1
--- ac2scene/ac2scene.c.orig	Fri Apr  1 18:36:19 2005
2
+++ ac2scene/ac2scene.c	Fri Apr  1 18:36:48 2005
3
@@ -160,8 +160,6 @@
4
       return 1;
5
     }
6
     break;
7
-
8
-  default:
9
   }
10
 
11
   return 0;
12
@@ -232,8 +230,6 @@
13
       return 1;
14
     }
15
     break;
16
-
17
-  default:
18
   }
19
 
20
   return 0;
21
@@ -315,7 +311,6 @@
22
       return 1;
23
     }
24
     break;
25
-  default:
26
   }
27
 
28
   return 0;
29
@@ -397,8 +392,6 @@
30
       hints[i]->state = GR_SCENE_OPT_QUAD_STRIP_START;
31
       hints[i]->surf->elements = gr_new (GrSElement, num_quads * 2 + 2);
32
       break;
33
-
34
-    default:
35
     }
36
   }
37
 
(-)games/gracer/files/patch-glbind.c (-29 lines)
Removed Link Here
1
--- src/glbind.c.orig	Wed May  4 18:45:48 2005
2
+++ src/glbind.c	Wed May  4 18:46:20 2005
3
@@ -2147,8 +2147,6 @@
4
     TCL_CHECK(Tcl_GetIntFromObj(interp, objv[2], &i), ERROR);
5
     GL_CHECK(glLightModeli (pname, i));
6
     return 3;
7
-
8
-  default:
9
   }
10
 
11
 ERROR:
12
@@ -2886,8 +2884,6 @@
13
     }
14
     GL_CHECK(glTexEnvfv (GL_TEXTURE_ENV, pname, param));
15
     return 6;
16
-
17
-  default:
18
   }
19
 
20
 ERROR:
21
@@ -3078,8 +3074,6 @@
22
     param[0] = d;
23
     GL_CHECK(glTexParameterf (target, pname, param[0]));
24
     return 4;
25
-
26
-  default:
27
   }
28
 
29
 ERROR:
(-)games/gracer/files/patch-glutwidgets.c (-54 lines)
Removed Link Here
1
--- src/glutwidgets.c.orig	Wed May  4 18:47:07 2005
2
+++ src/glutwidgets.c	Wed May  4 18:48:56 2005
3
@@ -254,7 +254,6 @@
4
 	widget->x -= (width - screen_width) / 2;
5
 	widget->width += (width - screen_width);
6
 	break;
7
-      default:
8
       }
9
       switch (widget->anchor & GR_VERTICAL_MASK) {
10
       case GR_BOTTOM:
11
@@ -267,7 +266,6 @@
12
 	widget->y -= (height - screen_height) / 2;
13
 	widget->height += (width - screen_height);
14
 	break;
15
-      default:
16
       }
17
       glut_widget_calc_bbox (widget);
18
     }
19
@@ -325,8 +323,6 @@
20
 	glut_widget_set_focus (glut_next_focus_widget (NULL));
21
       }
22
       break;
23
-
24
-    default:
25
     }
26
   }
27
 
28
@@ -502,8 +498,6 @@
29
 	glut_widget_set_focus (widget);
30
       }
31
       break;
32
-
33
-    default:
34
     }
35
   }
36
 
37
@@ -1297,8 +1291,6 @@
38
     }
39
     glut_post_redisplay ();
40
     break;
41
-
42
-  default:
43
   }
44
 }
45
 
46
@@ -1569,8 +1561,6 @@
47
     case GR_RIGHT:
48
       width = glut_label_width (obj) / 2;
49
       break;
50
-
51
-    default:
52
     }
53
 
54
     glColor4fv (widget->fg_color[GR_STATE_NORMAL]);
(-)games/gracer/files/patch-gr_memory.h (-11 lines)
Removed Link Here
1
--- common/gr_memory.h.orig	Wed May  4 18:49:43 2005
2
+++ common/gr_memory.h	Wed May  4 18:49:45 2005
3
@@ -64,7 +64,7 @@
4
 void	gr_dlist_free			(GrDList *list);
5
 
6
 #define gr_FOREACH(l,p) \
7
-  for (; (l) != NULL && ((void *)(p) = (l)->data, 1); (l) = (l)->next) 
8
+  for (; (l) != NULL && ((p) = (l)->data, 1); (l) = (l)->next) 
9
 
10
 void	gr_ref_incr			(GrRef *ref);
11
 void	gr_ref_decr			(GrRef *ref);
(-)games/gracer/files/patch-gr_texture.c (-32 lines)
Removed Link Here
1
--- common/gr_texture.c.orig	2000-03-01 04:27:18 UTC
2
+++ common/gr_texture.c
3
@@ -274,7 +274,11 @@ read_gif_file (GrTexture *texture, char 
4
   int index;
5
   int width, height;
6
 
7
+#if GIFLIB_MAJOR >= 5
8
+  file = DGifOpenFileName (filename, NULL);
9
+#else
10
   file = DGifOpenFileName (filename);
11
+#endif
12
   if (!file)
13
     return -1;
14
 
15
@@ -419,7 +423,7 @@ read_png_file (GrTexture *texture, char 
16
   if (fread (header, 1, PNG_BYTES_TO_CHECK, file) != PNG_BYTES_TO_CHECK) {
17
     goto ERROR;
18
   }
19
-  if (!png_check_sig (header, PNG_BYTES_TO_CHECK)) {
20
+  if (png_sig_cmp (header, 0, PNG_BYTES_TO_CHECK)) {
21
     goto ERROR;
22
   }
23
 
24
@@ -431,7 +435,7 @@ read_png_file (GrTexture *texture, char 
25
   if (!info_ptr) {
26
     goto ERROR;
27
   }
28
-  if (setjmp (png_ptr->jmpbuf)) {
29
+  if (setjmp (png_jmpbuf(png_ptr))) {
30
     goto ERROR;
31
   }
32
   png_init_io (png_ptr, file);
(-)games/gracer/files/patch-gr_world.c (-11 lines)
Removed Link Here
1
--- src/gr_world.c.orig	Wed May  4 18:49:13 2005
2
+++ src/gr_world.c	Wed May  4 18:49:24 2005
3
@@ -167,8 +167,6 @@
4
     case GR_CLINE_B_TO_A:
5
       vehicle->lap_count --;
6
       break;
7
-
8
-    default:
9
     }
10
 
11
     tlist = entry->triggers;
(-)games/gracer/files/patch-src_glbind.c (-2 / +29 lines)
Lines 1-5 Link Here
1
--- src/glbind.c.orig	Mon Mar 10 15:31:50 2003
1
--- src/glbind.c.orig	2020-01-28 12:54:24 UTC
2
+++ src/glbind.c	Mon Mar 10 15:31:52 2003
2
+++ src/glbind.c
3
@@ -20,6 +20,7 @@
3
@@ -20,6 +20,7 @@
4
  */
4
  */
5
 
5
 
Lines 8-10 Link Here
8
 #include <GL/gl.h>
8
 #include <GL/gl.h>
9
 #include <GL/glut.h>
9
 #include <GL/glut.h>
10
 #include <string.h>
10
 #include <string.h>
11
@@ -2146,8 +2147,6 @@ gl_subcmd_lightmodel (Tcl_Interp *interp, int objc, Tc
12
     TCL_CHECK(Tcl_GetIntFromObj(interp, objv[2], &i), ERROR);
13
     GL_CHECK(glLightModeli (pname, i));
14
     return 3;
15
-
16
-  default:
17
   }
18
 
19
 ERROR:
20
@@ -2885,8 +2884,6 @@ gl_subcmd_texenv (Tcl_Interp *interp, int objc, Tcl_Ob
21
     }
22
     GL_CHECK(glTexEnvfv (GL_TEXTURE_ENV, pname, param));
23
     return 6;
24
-
25
-  default:
26
   }
27
 
28
 ERROR:
29
@@ -3077,8 +3074,6 @@ gl_subcmd_texparameter (Tcl_Interp *interp, int objc, 
30
     param[0] = d;
31
     GL_CHECK(glTexParameterf (target, pname, param[0]));
32
     return 4;
33
-
34
-  default:
35
   }
36
 
37
 ERROR:
(-)games/ladder/Makefile (-1 / +1 lines)
Lines 11-17 MASTER_SITES= http://www.srv.net/~kth/ \ Link Here
11
DISTNAME=	${PORTNAME}
11
DISTNAME=	${PORTNAME}
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	The old "ladder" game
14
COMMENT=	Historical "ladder" game
15
15
16
RESTRICTED=	possible copyright problems ?
16
RESTRICTED=	possible copyright problems ?
17
17
(-)games/ladder/files/patch-Makefile (-6 / +6 lines)
Lines 1-5 Link Here
1
--- Makefile.orig	1997-10-27 07:15:08.000000000 +0800
1
--- Makefile.orig	2020-01-28 12:55:18 UTC
2
+++ Makefile	2014-06-07 23:36:53.767950530 +0800
2
+++ Makefile
3
@@ -2,12 +2,13 @@ TARGET	= ladder
3
@@ -2,12 +2,13 @@ TARGET	= ladder
4
 SRCS	= ladder.c lplay.c ltime.c lscore.c lscreens.c
4
 SRCS	= ladder.c lplay.c ltime.c lscore.c lscreens.c
5
 OBJS	= ladder.o lplay.o ltime.o lscore.o lscreens.o
5
 OBJS	= ladder.o lplay.o ltime.o lscore.o lscreens.o
Lines 17-26 Link Here
17
 
17
 
18
 .SUFFIXES:	.o .c .m4
18
 .SUFFIXES:	.o .c .m4
19
 
19
 
20
@@ -22,6 +23,14 @@ $(TARGET):	$(OBJS)
20
@@ -21,6 +22,14 @@ $(TARGET):	$(OBJS)
21
 	$(CC) -o $(TARGET) $(LDFLAGS) $(OBJS) $(LIBS)
21
 
22
 
22
 $(OBJS):	ladder.h
23
 $(OBJS):	ladder.h
23
 
24
+
24
+clean:
25
+clean:
25
+	-$(RM)	$(OBJS) $(TARGET) *.core
26
+	-$(RM)	$(OBJS) $(TARGET) *.core
26
+
27
+
Lines 28-34 Link Here
28
+
29
+
29
+install:
30
+install:
30
+	$(BSD_INSTALL_PROGRAM) ladder $(DESTDIR)${PREFIX}/bin
31
+	$(BSD_INSTALL_PROGRAM) ladder $(DESTDIR)${PREFIX}/bin
31
+
32
 
32
 # ladder.c:	ladder.m4
33
 # ladder.c:	ladder.m4
33
 
34
 
34
 # lscreens.c:	lscreens.m4
(-)games/ladder/files/patch-ladder.c_1 (-11 lines)
Removed Link Here
1
--- ladder.c.org	Wed Feb 18 19:26:47 1998
2
+++ ladder.c	Wed Feb 18 19:33:09 1998
3
@@ -82,7 +82,7 @@
4
     mvaddstr(r,LM,"Version:    n/a");
5
     mvaddstr(r,RM0,"Up = k|8  Down = j|2  Left = h|4  Right = l|6");
6
     r++;
7
-    mvprintw(r,LM,"Terminal:   %s",termname());
8
+    mvprintw(r,LM,"Terminal:   %s",getenv("TERM"));
9
     mvaddstr(r,RM0,"Jump = Space   Stop = Other");
10
     r++;
11
     mvprintw(r,LM,"Play Speed: %d",speed + 1);
(-)games/ladder/files/patch-ladder.c_2 (-11 lines)
Removed Link Here
1
--- ladder.c.org	Mon Oct 27 00:07:23 1997
2
+++ ladder.c	Wed Feb 18 22:33:55 1998
3
@@ -14,7 +14,7 @@
4
     char *d = t;
5
     int i;
6
     
7
-    for( ; *s; *s++ ) 
8
+    for( ; *s; s++ ) 
9
         if( *s & 0200 )
10
             for( i = 210 - (unsigned char)*s; i; i-- )
11
                 *d++ = ' ';
(-)games/ladder/files/patch-ladder.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- ladder.h.org	Wed Feb 18 19:19:51 1998
1
--- ladder.h.orig	2020-01-28 12:55:18 UTC
2
+++ ladder.h	Wed Feb 18 19:26:29 1998
2
+++ ladder.h
3
@@ -1,4 +1,4 @@
3
@@ -1,4 +1,4 @@
4
-#include <ncurses/curses.h>
4
-#include <ncurses/curses.h>
5
+#include <ncurses.h>
5
+#include <ncurses.h>
(-)games/ladder/files/patch-lplay.c (-5 / +5 lines)
Lines 1-6 Link Here
1
--- lplay.c.org	Tue Nov 11 20:01:51 1997
1
--- lplay.c.orig	2020-01-28 12:55:18 UTC
2
+++ lplay.c	Wed Feb 18 22:33:56 1998
2
+++ lplay.c
3
@@ -54,7 +54,7 @@
3
@@ -54,7 +54,7 @@ static void ldscreen(void)
4
         mvaddstr(row,0,t);
4
         mvaddstr(row,0,t);
5
 
5
 
6
         /* find points of release */
6
         /* find points of release */
Lines 9-15 Link Here
9
         {
9
         {
10
             rel->row = row;
10
             rel->row = row;
11
             rel->col = s - t;
11
             rel->col = s - t;
12
@@ -67,7 +67,7 @@
12
@@ -67,7 +67,7 @@ static void ldscreen(void)
13
 
13
 
14
     /* find lad */
14
     /* find lad */
15
     for( row = 0; row < DIMROW; row++ ) 
15
     for( row = 0; row < DIMROW; row++ ) 
Lines 18-24 Link Here
18
         {
18
         {
19
             /* nasty, check for CLAD's surrounded by CFREEs */
19
             /* nasty, check for CLAD's surrounded by CFREEs */
20
             if( s[-1] != CFREE || s[1] != CFREE )
20
             if( s[-1] != CFREE || s[1] != CFREE )
21
@@ -433,6 +433,8 @@
21
@@ -433,6 +433,8 @@ static RESULT drv_lad(void)
22
                     else
22
                     else
23
                         dir = STOP;
23
                         dir = STOP;
24
                     break;
24
                     break;
(-)games/ladder/files/patch-lscore.c (-6 / +6 lines)
Lines 1-6 Link Here
1
--- lscore.c.org	Mon Oct 27 00:07:24 1997
1
--- lscore.c.orig	2020-01-28 12:55:18 UTC
2
+++ lscore.c	Wed Feb 18 22:33:56 1998
2
+++ lscore.c
3
@@ -21,7 +21,7 @@
3
@@ -21,7 +21,7 @@ static void lock_score(void)
4
     FILE *lfp;
4
     FILE *lfp;
5
 
5
 
6
     for( i = 3; i; i-- )
6
     for( i = 3; i; i-- )
Lines 9-15 Link Here
9
         {
9
         {
10
             fclose(lfp);
10
             fclose(lfp);
11
             sleep(2);
11
             sleep(2);
12
@@ -47,7 +47,7 @@
12
@@ -47,7 +47,7 @@ static void read_scores(void)
13
 
13
 
14
     lock_score();
14
     lock_score();
15
     memset(scores,0,sizeof(scores));
15
     memset(scores,0,sizeof(scores));
Lines 18-24 Link Here
18
     {
18
     {
19
         for( scp = scores; scp < &scores[MAXSCORE]; scp++ )
19
         for( scp = scores; scp < &scores[MAXSCORE]; scp++ )
20
             if( fscanf(sfp,"%d%d%d%d",
20
             if( fscanf(sfp,"%d%d%d%d",
21
@@ -67,8 +67,8 @@
21
@@ -67,8 +67,8 @@ static void percolate(void)
22
     SCORE *scp;
22
     SCORE *scp;
23
     for( scp = &scores[MAXSCORE]; scp > scores; scp-- )
23
     for( scp = &scores[MAXSCORE]; scp > scores; scp-- )
24
         if( scp[0].score >  scp[-1].score ||
24
         if( scp[0].score >  scp[-1].score ||
Lines 29-35 Link Here
29
         {
29
         {
30
             SCORE tmp = scp[0];
30
             SCORE tmp = scp[0];
31
             scp[0] = scp[-1];
31
             scp[0] = scp[-1];
32
@@ -113,7 +113,7 @@
32
@@ -113,7 +113,7 @@ void prt_score(int r, int c)
33
         if( scores[i].score )
33
         if( scores[i].score )
34
         {
34
         {
35
             printw("%5d00  %2d  ",scores[i].score,scores[i].level + 1);
35
             printw("%5d00  %2d  ",scores[i].score,scores[i].level + 1);
(-)games/ladder/files/patch-ltime.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- ltime.c.org	Mon Oct 27 00:07:24 1997
1
--- ltime.c.orig	2020-01-28 12:55:18 UTC
2
+++ ltime.c	Wed Feb 18 22:33:56 1998
2
+++ ltime.c
3
@@ -2,6 +2,7 @@
3
@@ -2,6 +2,7 @@
4
 #include <sys/types.h>
4
 #include <sys/types.h>
5
 #include <sys/times.h>
5
 #include <sys/times.h>
(-)games/minecraft-server/Makefile (-2 / +2 lines)
Lines 1-9 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	minecraft-server
3
PORTNAME=	minecraft-server
4
PORTVERSION=	1.16.1
4
PORTVERSION=	1.16.2
5
CATEGORIES=	games java
5
CATEGORIES=	games java
6
MASTER_SITES=	https://launcher.mojang.com/v1/objects/a412fd69db1f81db3f511c1463fd304675244077/
6
MASTER_SITES=	https://launcher.mojang.com/v1/objects/c5f6fb23c3876461d46ec380421e42b289789530/
7
DISTFILES=	server.jar
7
DISTFILES=	server.jar
8
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
8
DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
9
EXTRACT_ONLY=
9
EXTRACT_ONLY=
(-)games/minecraft-server/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1595102862
1
TIMESTAMP = 1599202877
2
SHA256 (minecraft-server-1.16.1/server.jar) = 2782d547724bc3ffc0ef6e97b2790e75c1df89241f9d4645b58c706f5e6c935b
2
SHA256 (minecraft-server-1.16.2/server.jar) = 2902ed3ff84e4f810a2c0620c6b6df9c3ef8488b272c61274d5eac2433876f39
3
SIZE (minecraft-server-1.16.1/server.jar) = 37968964
3
SIZE (minecraft-server-1.16.2/server.jar) = 37942337
(-)graphics/aview/Makefile (-5 lines)
Lines 19-27 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} Link Here
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--with-x=no
20
CONFIGURE_ARGS=	--with-x=no
21
21
22
post-patch:
23
	@${REINPLACE_CMD} -e 's|/bash|/sh|g' ${WRKSRC}/asciiview
24
	@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
25
		's|<malloc.h>|<stdlib.h>|g'
26
27
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)graphics/gauche-gl/Makefile (-5 lines)
Lines 35-45 INFO= gauche-gl-refe gauche-gl-refj Link Here
35
35
36
OPTIONS_DEFINE=	DOCS EXAMPLES
36
OPTIONS_DEFINE=	DOCS EXAMPLES
37
37
38
post-patch:
39
.for i in configure src/gauche-gl.c src/gauche-gl.h src/glut-lib.stub
40
	@${REINPLACE_CMD} -e '/glut.h/s|GLUT|GL|' ${WRKSRC}/${i}
41
.endfor
42
43
do-install:
38
do-install:
44
.for i in src lib
39
.for i in src lib
45
	@(cd ${WRKSRC}/${i} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
40
	@(cd ${WRKSRC}/${i} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
(-)graphics/gdchart/Makefile (-15 lines)
Lines 31-51 PLIST_SUB+= PROFILE="" Link Here
31
31
32
OPTIONS_DEFINE=	DOCS EXAMPLES
32
OPTIONS_DEFINE=	DOCS EXAMPLES
33
33
34
post-patch:
35
	@${REINPLACE_CMD} \
36
		-e 's/^#ifdef HAVE_JPEG/#ifndef NO_JPEG/' \
37
		-e 's/^#ifdef HAVE_LIBFREETYPE/#ifndef NO_LIBFREETYPE/' \
38
			${WRKSRC}/*.[ch]
39
# ft_samp.c and gdc_samp?.c miss #include "gdcpie.h"
40
	@${REINPLACE_CMD} \
41
		-e 's/^#include "gdc\.h"/#include "gdcpie.h"/' \
42
			${WRKSRC}/ft_samp.c \
43
			${WRKSRC}/gdc_samp?.c
44
# gdc_pie_samp.c misses #include "gdchart.h"
45
	@${REINPLACE_CMD} \
46
		-e 's/^#include "gdc\.h"/#include "gdchart.h"/' \
47
			${WRKSRC}/gdc_pie_samp.c
48
49
post-install-DOCS-on:
34
post-install-DOCS-on:
50
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
35
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
51
	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
36
	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
(-)graphics/gimp-refocus-plugin/Makefile (-6 lines)
Lines 41-52 ATLAS_CONFIGURE_ON= --with-lapack-libs="${LAPACKLIB} ${BLASLIB}" \ Link Here
41
41
42
OPTIMIZED_CFLAGS_CFLAGS=	-O3
42
OPTIMIZED_CFLAGS_CFLAGS=	-O3
43
43
44
post-patch:
45
	@${FIND} ${WRKSRC} -name Makefile.am \
46
		-exec ${REINPLACE_CMD} -e "s|; make|; ${MAKE_CMD}|" {} \;
47
	@${REINPLACE_CMD} -e "s|%%WRKSRC%%|${WRKSRC}|" \
48
		${WRKSRC}/configure.in
49
50
do-install:
44
do-install:
51
	@${MKDIR} ${STAGEDIR}${PREFIX}/${GIMP_PLUGIN_DIR}/
45
	@${MKDIR} ${STAGEDIR}${PREFIX}/${GIMP_PLUGIN_DIR}/
52
	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
46
	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \
(-)graphics/gimp-refocus-plugin/files/patch-configure.in (-7 / +8 lines)
Lines 1-18 Link Here
1
--- configure.in.orig	2003-01-30 19:29:29.000000000 -0200
1
--- configure.in.orig	2003-01-30 21:29:29 UTC
2
+++ configure.in	2014-04-01 22:37:57.000000000 -0300
2
+++ configure.in
3
@@ -1,8 +1,8 @@
3
@@ -1,9 +1,9 @@
4
 dnl Process this file with autoconf to produce a configure script.
4
 dnl Process this file with autoconf to produce a configure script.
5
 
5
 
6
-AC_INIT(README)
6
-AC_INIT(README)
7
-
8
-AM_INIT_AUTOMAKE(refocus, 0.9.0)
9
+AC_INIT([refocus],[0.9.0])
7
+AC_INIT([refocus],[0.9.0])
10
+AC_CONFIG_SRCDIR(README)
8
+AC_CONFIG_SRCDIR(README)
11
+AM_INIT_AUTOMAKE
9
+AM_INIT_AUTOMAKE
12
 
10
 
11
-AM_INIT_AUTOMAKE(refocus, 0.9.0)
12
-
13
 AC_PROG_CC
13
 AC_PROG_CC
14
 AC_CHECK_PROG(GCC3, gcc3, gcc3)
14
 AC_CHECK_PROG(GCC3, gcc3, gcc3)
15
@@ -12,31 +12,32 @@
15
 
16
@@ -12,31 +12,32 @@ if test "$GCC3" ; then
16
    AC_MSG_RESULT([using $CC as compiler])
17
    AC_MSG_RESULT([using $CC as compiler])
17
 fi
18
 fi
18
 
19
 
Lines 65-71 Link Here
65
 AM_PATH_GTK_2_0(2.0.0)
66
 AM_PATH_GTK_2_0(2.0.0)
66
 AM_PATH_GLIB_2_0(2.0.0)
67
 AM_PATH_GLIB_2_0(2.0.0)
67
 
68
 
68
@@ -96,15 +97,9 @@
69
@@ -96,15 +97,9 @@ if test x$enable_debug = xyes ; then
69
    AC_DEFINE(PREVIEW_DEBUG)
70
    AC_DEFINE(PREVIEW_DEBUG)
70
 fi
71
 fi
71
 
72
 
(-)graphics/gimp-refocus-plugin/files/patch-lib__Makefile.am (-7 lines)
Removed Link Here
1
--- lib/Makefile.am.orig	2003-01-30 19:29:52.000000000 -0200
2
+++ lib/Makefile.am	2014-04-01 22:13:34.000000000 -0300
3
@@ -1,4 +1,3 @@
4
-CFLAGS=-fomit-frame-pointer -O3 -funroll-all-loops
5
 
6
 
7
 noinst_LIBRARIES = liblapack.a libatlas.a libcblas.a
(-)graphics/gimp-refocus-plugin/files/patch-src__Makefile.am (-47 lines)
Removed Link Here
1
--- src/Makefile.am.orig	2003-01-30 19:30:18.000000000 -0200
2
+++ src/Makefile.am	2014-04-01 22:12:45.000000000 -0300
3
@@ -1,22 +1,28 @@
4
 ## Process this file with automake to produce Makefile.in
5
 
6
-INCLUDES=@GTK_CFLAGS@ @GIMP_CFLAGS@ -I @LAPACK_INCLUDE_DIR@
7
+INCLUDES=@GTK_CFLAGS@ @GIMP_CFLAGS@ @LAPACK_INCLUDES@
8
 
9
 bin_PROGRAMS = refocus
10
 noinst_PROGRAMS = test-matrix
11
 
12
-ldadd_atlas=-L@LAPACK_LIB_DIR@ -llapack -lcblas -latlas
13
+ldadd_atlas=@LAPACK_LIBS@
14
 
15
 noinst_HEADERS=bdclosure.h refocus.h matrix.h tilebuf.h conv.h fwlapack.h gimppreview.h prevman.h util.h
16
 EXTRA_DIST = dummy-plugin.c
17
 
18
 refocus_SOURCES = refocus.c conv.c gimppreview.c prevman.c util.c matrix.c tilebuf.c bdclosure.c fwlapack.c
19
-refocus_LDADD = @GTK_LIBS@ -lgimp ${ldadd_atlas}
20
-refocus_DEPENDENCIES=@LAPACK_LIB_DIR@/liblapack.a
21
+refocus_LDADD = -lm ${ldadd_atlas} @GIMP_LIBS@
22
+if HAVE_ATLAS
23
+else
24
+refocus_DEPENDENCIES=@BUNDLED_LAPACK_LIB_DIR@/liblapack.a
25
+endif
26
 
27
 test_matrix_SOURCES = matrix.c test-matrix.c fwlapack.c
28
 test_matrix_LDADD = -lm ${ldadd_atlas} @GLIB_LIBS@
29
-test_matrix_DEPENDENCIES=@LAPACK_LIB_DIR@/liblapack.a
30
+if HAVE_ATLAS
31
+else
32
+test_matrix_DEPENDENCIES=@BUNDLED_LAPACK_LIB_DIR@/liblapack.a
33
+endif
34
 
35
 install-bin: refocus
36
 	@if test "x@GIMPTOOL@" = "x" ; then \
37
@@ -36,8 +42,8 @@
38
 		@GIMPTOOL@ --install-admin-bin refocus ; \
39
 	fi
40
 
41
-@LAPACK_LIB_DIR@/liblapack.a:
42
-	cd @LAPACK_LIB_DIR@; make
43
+@BUNDLED_LAPACK_LIB_DIR@/liblapack.a:
44
+	cd @BUNDLED_LAPACK_LIB_DIR@; gmake
45
 
46
 %.s: %.c
47
 	${CC} ${CFLAGS} -S $< -o $@
(-)graphics/gimp-refocus-plugin/files/patch-src__conv.c (-34 lines)
Removed Link Here
1
--- src/conv.c	2014-03-27 20:00:17.000000000 -0300
2
+++ src/conv.c	2014-03-27 20:00:58.000000000 -0300
3
@@ -421,13 +421,19 @@
4
   gint x, buf_start_y, total_tiles, tile_nr = 0;
5
   /* Will be false when progress_update tells us that the data is no longer needed */
6
   gboolean ok = TRUE;
7
-
8
+  /*
9
+    tile_height()                 [util.c]
10
+    tile_width()                  [util.c]
11
+   */
12
   initialize_buf (&buf, source, mat_size / 2, sx, sy, width, height,
13
                   boundary_type);
14
   total_tiles = (1 + floor ((buf.x + buf.width - 1) / tile_width ())
15
                  - floor ((buf.x) / tile_width ())) *
16
     (1 + floor ((buf.y_limit - 1) / tile_height ())
17
      - floor ((buf.y) / tile_height ()));
18
+#ifdef RLXTEST
19
+  printf("convolve_image: total_tiles %d\n",total_tiles);
20
+#endif
21
 
22
   buf_start_y = buf.y;
23
   while (ok && shift_buf (&buf, source))
24
@@ -437,6 +443,10 @@
25
         {
26
           const gint ncolors = source->bpp - source->has_alpha;
27
           GimpTile *tile = tile_sink_get_tile (sink, x, buf.y);
28
+#ifdef RLXTEST
29
+          printf("convolve_image: x %d, y %d, tile->eheight %d\n",
30
+                 x, buf.y, tile->eheight);
31
+#endif
32
           convolve_tile (tile, pixpos_in_buf (&buf, x, buf.y), buf.row_stride,
33
                          ncolors, sink->bpp, mat->data, mat_size);
34
           tile_sink_tile_unref (sink, tile);
(-)graphics/gimp-refocus-plugin/files/patch-src__gimppreview.c (-384 lines)
Removed Link Here
1
--- src/gimppreview.c	2014-03-27 20:00:17.000000000 -0300
2
+++ src/gimppreview.c	2014-03-27 20:00:38.000000000 -0300
3
@@ -36,18 +36,18 @@
4
 #include "gimppreview.h"
5
 
6
 
7
-static void gimp_preview_init (GimpPreview * preview);
8
-static void gimp_preview_class_init (GimpPreviewClass * klass);
9
+static void gimp_preview_init (myGimpPreview * preview);
10
+static void gimp_preview_class_init (myGimpPreviewClass * klass);
11
 
12
 static void gimp_preview_plus_callback (GtkWidget * widget, gpointer data);
13
 static void gimp_preview_minus_callback (GtkWidget * widget, gpointer data);
14
 static gint gimp_preview_event (GtkWidget * widget, GdkEvent * event,
15
                                 gpointer data);
16
-static void gimp_preview_recompute_sizes (GimpPreview * preview,
17
+static void gimp_preview_recompute_sizes (myGimpPreview * preview,
18
                                           gdouble newscale);
19
-static void gimp_preview_update_preview (GimpPreview * preview);
20
+static void gimp_preview_update_preview (myGimpPreview * preview);
21
 
22
-static void gimp_preview_image_set_size (GimpPreview * preview, gint width,
23
+static void gimp_preview_image_set_size (myGimpPreview * preview, gint width,
24
                                          gint height);
25
 static void gimp_preview_size_request (GtkWidget * widget,
26
                                        GtkRequisition * requisition);
27
@@ -58,7 +58,7 @@
28
                                  GtkCallback callback,
29
                                  gpointer callback_data);
30
 gboolean gimp_preview_update_preview_idle_fun (gpointer data);
31
-void gimp_preview_schedule_update (GimpPreview * preview);
32
+void gimp_preview_schedule_update (myGimpPreview * preview);
33
 
34
 #define PROGRESS_BAR_HEIGHT (10)
35
 #define PREVIEW_SIZE (100)
36
@@ -94,11 +94,11 @@
37
 
38
 
39
 /*
40
- * Apps which use a GimpPreview widget should not be accessing the private
41
+ * Apps which use a myGimpPreview widget should not be accessing the private
42
  * data!
43
  */
44
 #define PREVIEW_DATA(preview) \
45
-        ((GimpPreviewData*)(GIMP_PREVIEW (preview)->private_data))
46
+        ((myGimpPreviewData*)(MY_GIMP_PREVIEW (preview)->private_data))
47
 
48
 typedef struct
49
 {
50
@@ -126,7 +126,7 @@
51
   GtkWidget *image;
52
   GtkWidget *progress_bar;
53
 }
54
-GimpPreviewData;
55
+myGimpPreviewData;
56
 
57
 
58
 /* Convert coordinate in preview space to image coordinates */
59
@@ -155,20 +155,20 @@
60
   if (!preview_type)
61
     {
62
       GTypeInfo preview_info = {
63
-        sizeof (GimpPreviewClass),
64
+        sizeof (myGimpPreviewClass),
65
         (GBaseInitFunc) NULL,
66
         (GBaseFinalizeFunc) NULL,
67
         (GClassInitFunc) gimp_preview_class_init,
68
         (GClassFinalizeFunc) NULL,
69
         (gconstpointer) NULL,   /* class_data */
70
-        sizeof (GimpPreview),
71
+        sizeof (myGimpPreview),
72
         0,                      /* n_preallocs */
73
         (GInstanceInitFunc) gimp_preview_init,
74
         (GTypeValueTable *) NULL /* value_table */
75
       };
76
 
77
       preview_type =
78
-        g_type_register_static (GTK_TYPE_CONTAINER, "GimpPreview",
79
+        g_type_register_static (GTK_TYPE_CONTAINER, "myGimpPreview",
80
                                 &preview_info, 0);
81
     }
82
 
83
@@ -181,7 +181,7 @@
84
  * by GTK's internal mechanisms.
85
  */
86
 static void
87
-gimp_preview_class_init (GimpPreviewClass * klass)
88
+gimp_preview_class_init (myGimpPreviewClass * klass)
89
 {
90
   GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
91
   GtkContainerClass *container_class = GTK_CONTAINER_CLASS (klass);
92
@@ -190,7 +190,7 @@
93
     g_signal_new ("update_preview",
94
                   G_TYPE_FROM_CLASS (klass),
95
                   G_SIGNAL_RUN_FIRST,
96
-                  G_STRUCT_OFFSET (GimpPreviewClass, update_preview),
97
+                  G_STRUCT_OFFSET (myGimpPreviewClass, update_preview),
98
                   NULL,
99
                   NULL,
100
                   g_cclosure_marshal_VOID__POINTER,
101
@@ -200,7 +200,7 @@
102
     g_signal_new ("preview_changed",
103
                   G_TYPE_FROM_CLASS (klass),
104
                   G_SIGNAL_RUN_FIRST,
105
-                  G_STRUCT_OFFSET (GimpPreviewClass, preview_changed),
106
+                  G_STRUCT_OFFSET (myGimpPreviewClass, preview_changed),
107
                   NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
108
 
109
   klass->update_preview = NULL;
110
@@ -212,7 +212,7 @@
111
 
112
 
113
 void
114
-gimp_preview_set_scale_amount(GimpPreview *preview, gdouble scale_amount)
115
+gimp_preview_set_scale_amount(myGimpPreview *preview, gdouble scale_amount)
116
 {
117
   /*
118
    * If the caller wants to set the scale amount, let them do so.
119
@@ -269,7 +269,7 @@
120
  * by GTK's internal mechanisms.
121
  */
122
 static void
123
-gimp_preview_init (GimpPreview * preview)
124
+gimp_preview_init (myGimpPreview * preview)
125
 {
126
   gchar buffer[10];
127
 
128
@@ -277,7 +277,7 @@
129
   GTK_WIDGET_SET_FLAGS (preview, GTK_NO_WINDOW);
130
   GTK_CONTAINER (preview)->resize_mode = GTK_RESIZE_IMMEDIATE;
131
 
132
-  preview->private_data = g_malloc0 (sizeof (GimpPreviewData));
133
+  preview->private_data = g_malloc0 (sizeof (myGimpPreviewData));
134
 
135
 
136
   PREVIEW_DATA (preview)->label = gtk_label_new ("");
137
@@ -307,7 +307,7 @@
138
 gimp_preview_new_with_args (GimpDrawable * drawable, gint cb_preview_size,
139
                             gdouble cb_scale_amount, gint cb_allow_scale)
140
 {
141
-  GimpPreview *preview;
142
+  myGimpPreview *preview;
143
   GtkWidget *frame;
144
   GtkWidget *hbox;
145
   GtkWidget *event_box;
146
@@ -337,14 +337,14 @@
147
 
148
 
149
   /* Now allocate the actual preview window. */
150
-  preview = GIMP_PREVIEW (g_object_new (gimp_preview_get_type (), NULL));
151
+  preview = MY_GIMP_PREVIEW (g_object_new (gimp_preview_get_type (), NULL));
152
 
153
   /* Set the scale amount. */
154
   gimp_preview_set_scale_amount(preview, cb_scale_amount);
155
 
156
   /* Save the drawable info. */
157
   preview->drawable = drawable;
158
-  preview->drawable_has_alpha = gimp_drawable_has_alpha (drawable->id);
159
+  preview->drawable_has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
160
 
161
   /* Calculate our preview size. */
162
   if (preview_size == PREVIEW_FIXED_SIZE)
163
@@ -352,8 +352,8 @@
164
       preview_width = i2p (drawable->width, preview->scale);
165
       preview_height = i2p (drawable->height, preview->scale);
166
 
167
-      GIMP_PREVIEW (preview)->width = preview_width;
168
-      GIMP_PREVIEW (preview)->height = preview_height;
169
+      MY_GIMP_PREVIEW (preview)->width = preview_width;
170
+      MY_GIMP_PREVIEW (preview)->height = preview_height;
171
     }
172
   else
173
     {
174
@@ -454,7 +454,7 @@
175
 static void
176
 gimp_preview_size_request (GtkWidget * widget, GtkRequisition * requisition)
177
 {
178
-  GimpPreview *preview = GIMP_PREVIEW (widget);
179
+  myGimpPreview *preview = MY_GIMP_PREVIEW (widget);
180
   GtkRequisition resize_box_requisition;
181
 
182
 #ifdef PREVIEW_DEBUG
183
@@ -478,7 +478,7 @@
184
 static void
185
 gimp_preview_size_allocate (GtkWidget * widget, GtkAllocation * allocation)
186
 {
187
-  GimpPreview *preview = GIMP_PREVIEW (widget);
188
+  myGimpPreview *preview = MY_GIMP_PREVIEW (widget);
189
   GtkAllocation resize_box_allocation, progress_bar_allocation,
190
     event_box_allocation;
191
   GtkRequisition resize_box_requisition;
192
@@ -543,7 +543,7 @@
193
                      gboolean include_internals,
194
                      GtkCallback callback, gpointer callback_data)
195
 {
196
-  GimpPreview *preview = GIMP_PREVIEW (container);
197
+  myGimpPreview *preview = MY_GIMP_PREVIEW (container);
198
 
199
   if (PREVIEW_DATA (preview)->resize_box)
200
     {
201
@@ -564,7 +564,7 @@
202
  * Plug-ins call this to do an update of the preview area.
203
  */
204
 void
205
-gimp_preview_update (GimpPreview * preview)
206
+gimp_preview_update (myGimpPreview * preview)
207
 {
208
   gimp_preview_recompute_sizes (preview, preview->scale);
209
   gimp_preview_update_preview (preview);
210
@@ -579,11 +579,11 @@
211
 static void
212
 gimp_preview_plus_callback (GtkWidget * widget, gpointer data)
213
 {
214
-  GimpPreview *preview;
215
+  myGimpPreview *preview;
216
   gchar buffer[10];
217
   gdouble new_scale;
218
 
219
-  preview = GIMP_PREVIEW (data);
220
+  preview = MY_GIMP_PREVIEW (data);
221
   if (PREVIEW_DATA (preview)->scale_n == PREVIEW_SCALE_LAST)
222
     return;
223
 
224
@@ -616,11 +616,11 @@
225
 static void
226
 gimp_preview_minus_callback (GtkWidget * widget, gpointer data)
227
 {
228
-  GimpPreview *preview;
229
+  myGimpPreview *preview;
230
   gchar buffer[10];
231
   gdouble new_scale;
232
 
233
-  preview = GIMP_PREVIEW (data);
234
+  preview = MY_GIMP_PREVIEW (data);
235
   if (PREVIEW_DATA (preview)->scale_n == 0)
236
     return;
237
 
238
@@ -651,12 +651,12 @@
239
 static gint
240
 gimp_preview_event (GtkWidget * widget, GdkEvent * event, gpointer data)
241
 {
242
-  GimpPreview *preview;
243
+  myGimpPreview *preview;
244
   GdkEventButton *button_event;
245
   gint x, y;
246
   gint dx, dy;
247
 
248
-  preview = GIMP_PREVIEW (data);
249
+  preview = MY_GIMP_PREVIEW (data);
250
   button_event = (GdkEventButton *) event;
251
 
252
   switch (event->type)
253
@@ -733,7 +733,7 @@
254
  * This function is also used for initializing the preview.
255
  */
256
 static void
257
-gimp_preview_recompute_sizes (GimpPreview * preview, gdouble new_scale)
258
+gimp_preview_recompute_sizes (myGimpPreview * preview, gdouble new_scale)
259
 {
260
 
261
   /* The center of the preview in image coordinates.
262
@@ -765,7 +765,7 @@
263
 }
264
 
265
 void
266
-gimp_preview_generate_update_event (GimpPreview * preview)
267
+gimp_preview_generate_update_event (myGimpPreview * preview)
268
      /* Signal the user that the preview must be updated */
269
 {
270
   const gdouble scale = preview->scale;
271
@@ -783,7 +783,7 @@
272
            0,
273
            preview->drawable->height - image_y);
274
 
275
-  GimpPreviewEvent preview_event;
276
+  myGimpPreviewEvent preview_event;
277
 
278
   preview_event.event_id = PREVIEW_DATA (preview)->current_event_id;
279
   preview_event.scale = preview->scale;
280
@@ -814,7 +814,7 @@
281
  * to step through source and destination!
282
  */
283
 static void
284
-gimp_preview_update_preview (GimpPreview * preview)
285
+gimp_preview_update_preview (myGimpPreview * preview)
286
 {
287
   GimpPixelRgn region;
288
   guchar *image_data = NULL;
289
@@ -1012,7 +1012,7 @@
290
 
291
 
292
 void
293
-gimp_preview_force_redraw (GimpPreview * preview)
294
+gimp_preview_force_redraw (myGimpPreview * preview)
295
 {
296
   gtk_widget_queue_draw (GTK_WIDGET (PREVIEW_DATA (preview)->image));
297
 }
298
@@ -1022,7 +1022,7 @@
299
 gboolean
300
 gimp_preview_update_preview_idle_fun (gpointer data)
301
 {
302
-  GimpPreview *preview = GIMP_PREVIEW (data);
303
+  myGimpPreview *preview = MY_GIMP_PREVIEW (data);
304
   gint event_id = PREVIEW_DATA (preview)->current_event_id;
305
 
306
 #ifdef PREVIEW_DEBUG
307
@@ -1041,7 +1041,7 @@
308
 }
309
 
310
 void
311
-gimp_preview_schedule_update (GimpPreview * preview)
312
+gimp_preview_schedule_update (myGimpPreview * preview)
313
 {
314
   PREVIEW_DATA (preview)->current_event_id++;
315
 
316
@@ -1082,7 +1082,7 @@
317
 }
318
 
319
 void
320
-gimp_preview_image_set_size (GimpPreview * preview, gint width, gint height)
321
+gimp_preview_image_set_size (myGimpPreview * preview, gint width, gint height)
322
 {
323
   const gint real_width = MIN (preview->max_width, width);
324
   const gint real_height = MIN (preview->max_height, height);
325
@@ -1120,8 +1120,8 @@
326
 
327
 /**
328
  * gimp_preview_draw_row:
329
- * @preview: the #GimpPreview
330
- * @event_id: event_id that was sent with the #GimpPreviewEvent.
331
+ * @preview: the #myGimpPreview
332
+ * @event_id: event_id that was sent with the #myGimpPreviewEvent.
333
  * @type: the format of the data (e.g. %GIMP_RGBA_IMAGE).
334
  * @row:the relative number of the row within the preview.
335
  * The top row of the preview is number 0.
336
@@ -1137,7 +1137,7 @@
337
  * with the same event-id will be ignored by the preview.
338
  **/
339
 gboolean
340
-gimp_preview_draw_row (GimpPreview * preview, const gint event_id,
341
+gimp_preview_draw_row (myGimpPreview * preview, const gint event_id,
342
                        GimpImageType type, gint row,
343
                        const guchar * const data)
344
 {
345
@@ -1247,8 +1247,8 @@
346
 
347
 /**
348
  * gimp_preview_draw_unscaled_row:
349
- * @preview: the #GimpPreview
350
- * @event_id: event_id that was sent with the #GimpPreviewEvent.
351
+ * @preview: the #myGimpPreview
352
+ * @event_id: event_id that was sent with the #myGimpPreviewEvent.
353
  * @type: the format of the data (e.g. %GIMP_RGBA_IMAGE).
354
  * @row:row is the relative position of the row w.r.t. preview_event->image_y.
355
  * The top row has number 0.
356
@@ -1267,7 +1267,7 @@
357
  * with the same event-id will be ignored by the preview.
358
  **/
359
 gboolean
360
-gimp_preview_draw_unscaled_row (GimpPreview * preview, const gint event_id,
361
+gimp_preview_draw_unscaled_row (myGimpPreview * preview, const gint event_id,
362
                                 GimpImageType type, const gint row,
363
                                 const guchar * const data)
364
 {
365
@@ -1445,8 +1445,8 @@
366
 
367
 /**
368
  * gimp_preview_progress_set_fraction:
369
- * @preview: the #GimpPreview.
370
- * @event_id: event_id that was sent with the #GimpPreviewEvent.
371
+ * @preview: the #myGimpPreview.
372
+ * @event_id: event_id that was sent with the #myGimpPreviewEvent.
373
  * @fraction: the fraction completed.
374
  *
375
  * Set the progress bar of the preview to @fraction completed.
376
@@ -1456,7 +1456,7 @@
377
  * with the same event-id will be ignored by the preview.
378
  **/
379
 gboolean
380
-gimp_preview_progress_set_fraction (GimpPreview * preview,
381
+gimp_preview_progress_set_fraction (myGimpPreview * preview,
382
                                     const gint event_id, double fraction)
383
 {
384
   const gboolean return_status =
(-)graphics/gimp-refocus-plugin/files/patch-src__gimppreview.h (-82 lines)
Removed Link Here
1
--- src/gimppreview.h	2014-03-27 20:00:17.000000000 -0300
2
+++ src/gimppreview.h	2014-03-27 20:00:38.000000000 -0300
3
@@ -32,25 +32,25 @@
4
 
5
 #define PREVIEW_FIXED_SIZE           0
6
 #define PREVIEW_DEFAULT_SIZE         -1
7
-#define GIMP_TYPE_PREVIEW            (gimp_preview_get_type ())
8
-#define GIMP_PREVIEW(obj)            (GTK_CHECK_CAST ((obj), GIMP_TYPE_PREVIEW, GimpPreview))
9
-#define GIMP_PREVIEW_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GIMP_TYPE_PREVIEW, GimpPreviewClass))
10
-#define GIMP_IS_PREVIEW(obj)         (GTK_CHECK_TYPE ((obj), GIMP_TYPE_PREVIEW))
11
-#define GIMP_IS_PREVIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_PREVIEW))
12
-typedef struct _GimpPreview GimpPreview;
13
-typedef struct _GimpPreviewClass GimpPreviewClass;
14
-typedef struct _GimpPreviewEvent GimpPreviewEvent;
15
+//#define GIMP_TYPE_PREVIEW            (gimp_preview_get_type ())
16
+#define MY_GIMP_PREVIEW(obj)            (GTK_CHECK_CAST ((obj), GIMP_TYPE_PREVIEW, myGimpPreview))
17
+#define MY_GIMP_PREVIEW_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), GIMP_TYPE_PREVIEW, myGimpPreviewClass))
18
+//#define GIMP_IS_PREVIEW(obj)         (GTK_CHECK_TYPE ((obj), GIMP_TYPE_PREVIEW))
19
+//#define GIMP_IS_PREVIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_PREVIEW))
20
+typedef struct _myGimpPreview myGimpPreview;
21
+typedef struct _myGimpPreviewClass myGimpPreviewClass;
22
+typedef struct _myGimpPreviewEvent myGimpPreviewEvent;
23
 
24
-struct _GimpPreviewClass
25
+struct _myGimpPreviewClass
26
 {
27
   GtkContainerClass parent_class;
28
 
29
-  void (*update_preview) (GimpPreview * preview, GimpPreviewEvent * event);
30
-  void (*preview_changed) (GimpPreview * preview);
31
+  void (*update_preview) (myGimpPreview * preview, myGimpPreviewEvent * event);
32
+  void (*preview_changed) (myGimpPreview * preview);
33
 };
34
 
35
 
36
-struct _GimpPreview
37
+struct _myGimpPreview
38
 {
39
   GtkContainer parent;
40
 
41
@@ -75,13 +75,13 @@
42
 };
43
 
44
 /**
45
- * GimpPreviewEvent:
46
+ * myGimpPreviewEvent:
47
  * @event_id: Id of this event. This is needed for gimp_preview_draw_row,
48
  * gimp_preview_draw_unscaled_row and gimp_preview_progress_set_fraction.
49
  * @scale: Current scale of the preview.
50
  *
51
  **/
52
-struct _GimpPreviewEvent
53
+struct _myGimpPreviewEvent
54
 {
55
   gint event_id;                /* Id of this event */
56
   gdouble scale;                /* Scale of preview */
57
@@ -113,20 +113,20 @@
58
                                        gint preview_size,
59
                                        gdouble scale_amount,
60
                                        gint allow_scale);
61
-void gimp_preview_update (GimpPreview * preview);
62
+void gimp_preview_update (myGimpPreview * preview);
63
 
64
-gboolean gimp_preview_draw_row (GimpPreview * preview, const gint event_id,
65
+gboolean gimp_preview_draw_row (myGimpPreview * preview, const gint event_id,
66
                                 GimpImageType type, const gint row,
67
                                 const guchar * const data);
68
 
69
-gboolean gimp_preview_draw_unscaled_row (GimpPreview * preview,
70
+gboolean gimp_preview_draw_unscaled_row (myGimpPreview * preview,
71
                                          const gint event_id,
72
                                          GimpImageType type, const gint row,
73
                                          const guchar * const data);
74
 
75
-void gimp_preview_force_redraw (GimpPreview * preview);
76
+void gimp_preview_force_redraw (myGimpPreview * preview);
77
 
78
-gboolean gimp_preview_progress_set_fraction (GimpPreview * preview,
79
+gboolean gimp_preview_progress_set_fraction (myGimpPreview * preview,
80
                                              const gint event_id,
81
                                              double fraction);
82
 
(-)graphics/gimp-refocus-plugin/files/patch-src__prevman.c (-29 lines)
Removed Link Here
1
--- src/prevman.c	2014-03-27 20:00:17.000000000 -0300
2
+++ src/prevman.c	2014-03-27 20:00:23.000000000 -0300
3
@@ -52,7 +52,7 @@
4
   tile_source->width = drawable->width;
5
   tile_source->height = drawable->height;
6
   tile_source->bpp = drawable->bpp;
7
-  tile_source->has_alpha = gimp_drawable_has_alpha (drawable->id);
8
+  tile_source->has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
9
   tile_source->un.drw.drawable = drawable;
10
   gimp_pixel_rgn_init (&tile_source->un.drw.pixel_rgn, drawable, x, y, width,
11
                        height, FALSE, FALSE);
12
@@ -144,7 +144,7 @@
13
   tile_sink->width = drawable->width;
14
   tile_sink->height = drawable->height;
15
   tile_sink->bpp = drawable->bpp;
16
-  tile_sink->has_alpha = gimp_drawable_has_alpha (drawable->id);
17
+  tile_sink->has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
18
   gimp_pixel_rgn_init (&tile_sink->un.drw.pixel_rgn, drawable, x, y, width,
19
                        height, TRUE, TRUE);
20
 }
21
@@ -159,7 +159,7 @@
22
   tile_sink->width = width;
23
   tile_sink->height = height;
24
   tile_sink->bpp = drawable->bpp;
25
-  tile_sink->has_alpha = gimp_drawable_has_alpha (drawable->id);
26
+  tile_sink->has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
27
   tile_sink->un.prv.data = g_new (guchar,
28
                                   tile_sink->width * tile_sink->height *
29
                                   tile_sink->bpp);
(-)graphics/gimp-refocus-plugin/files/patch-src__refocus.c (-124 lines)
Removed Link Here
1
--- src/refocus.c	2014-03-27 20:00:17.000000000 -0300
2
+++ src/refocus.c	2014-03-27 20:00:38.000000000 -0300
3
@@ -45,9 +45,9 @@
4
 
5
 /* Declare local functions. */
6
 static void query (void);
7
-static void run (char *name,
8
+static void run (const gchar *name,
9
                  gint nparams,
10
-                 GimpParam * param,
11
+                 const GimpParam * param,
12
                  gint * nreturn_vals, GimpParam ** return_vals);
13
 static gint dialog ();
14
 static void doit (void);
15
@@ -111,7 +111,6 @@
16
     {GIMP_PDB_FLOAT, "noise", "Noise to Signal ratio"},
17
   };
18
   static GimpParamDef *return_vals = NULL;
19
-  static gint nargs = (gint) (sizeof (args) / sizeof (args[0]));
20
   static gint nreturn_vals = 0;
21
 
22
   gimp_install_procedure ("plug_in_refocus",
23
@@ -123,15 +122,15 @@
24
                           "<Image>/Filters/Enhance/Refocus ...",
25
                           "RGB*, GRAY*",
26
                           GIMP_PLUGIN,
27
-                          nargs, nreturn_vals, args, return_vals);
28
+                          G_N_ELEMENTS(args), nreturn_vals, args, return_vals);
29
 }
30
 
31
 static void
32
-run (char *name, gint n_params, GimpParam * param,
33
+run (const gchar *name, gint n_params, const GimpParam * param,
34
      gint * nreturn_vals, GimpParam ** return_vals)
35
 {
36
   static GimpParam values[1];
37
-  GimpRunModeType run_mode;
38
+  GimpRunMode run_mode;
39
   GimpPDBStatusType status = GIMP_PDB_SUCCESS;
40
 
41
   (void) name;                  /* Shut up warnings about unused parameters. */
42
@@ -186,8 +185,8 @@
43
     {
44
 
45
       /*  Make sure that the drawable is gray or RGB color  */
46
-      if (gimp_drawable_is_rgb (drawable->id) ||
47
-          gimp_drawable_is_gray (drawable->id))
48
+      if (gimp_drawable_is_rgb (drawable->drawable_id) ||
49
+          gimp_drawable_is_gray (drawable->drawable_id))
50
         {
51
           doit ();
52
 
53
@@ -336,7 +335,7 @@
54
   (void) data;
55
   set_busy_cursor (widget, TRUE);
56
   update_matrix ();
57
-  gimp_preview_update (GIMP_PREVIEW (my_widgets.preview));
58
+  gimp_preview_update (MY_GIMP_PREVIEW (my_widgets.preview));
59
   set_busy_cursor (widget, FALSE);
60
 }
61
 
62
@@ -369,11 +368,11 @@
63
 {
64
   gint event_id = GPOINTER_TO_INT (data);
65
   return (gimp_preview_progress_set_fraction
66
-          (GIMP_PREVIEW (my_widgets.preview), event_id, arg));
67
+          (MY_GIMP_PREVIEW (my_widgets.preview), event_id, arg));
68
 }
69
 
70
 static void
71
-preview_callback (GtkWidget * widget, GimpPreviewEvent * event, gpointer data)
72
+preview_callback (GtkWidget * widget, myGimpPreviewEvent * event, gpointer data)
73
 {
74
   TileSource source;
75
   TileSink sink;
76
@@ -393,7 +392,7 @@
77
                                       im_width, im_height);
78
       tile_sink_init_for_preview (&sink, drawable, image_x, image_y,
79
                                   im_width, im_height);
80
-      gimp_preview_progress_set_fraction (GIMP_PREVIEW (my_widgets.preview),
81
+      gimp_preview_progress_set_fraction (MY_GIMP_PREVIEW (my_widgets.preview),
82
                                           event->event_id, 0);
83
       bd_closure_init (&update_progress_closure,
84
                        preview_progress_update_fun,
85
@@ -409,9 +408,9 @@
86
         {
87
           tile_sink_get_row (&sink, buf, image_x, image_y + row, im_width);
88
           event_is_current =
89
-            gimp_preview_draw_unscaled_row (GIMP_PREVIEW (my_widgets.preview),
90
+            gimp_preview_draw_unscaled_row (MY_GIMP_PREVIEW (my_widgets.preview),
91
                                             event->event_id,
92
-                                            gimp_drawable_type (drawable->id),
93
+                                            gimp_drawable_type (drawable->drawable_id),
94
                                             row, buf);
95
         };
96
       g_free (buf);
97
@@ -583,7 +582,7 @@
98
 
99
   gtk_widget_show (dlg);
100
   redraw_all ();
101
-  gimp_preview_update (GIMP_PREVIEW (preview));
102
+  gimp_preview_update (MY_GIMP_PREVIEW (preview));
103
   gtk_main ();
104
   gdk_flush ();
105
   return run_flag;
106
@@ -608,7 +607,7 @@
107
   gimp_progress_init ("Computing matrix");
108
   update_matrix ();
109
   gimp_progress_init ("Applying convolution");
110
-  gimp_drawable_mask_bounds (drawable->id, &sx1, &sy1, &sx2, &sy2);
111
+  gimp_drawable_mask_bounds (drawable->drawable_id, &sx1, &sy1, &sx2, &sy2);
112
   width = sx2 - sx1;
113
   height = sy2 - sy1;
114
   tile_source_init_from_drawable (&source, drawable, sx1, sy1, width, height);
115
@@ -618,7 +617,7 @@
116
                   matrix, 2 * my_config.mat_width + 1,
117
                   &update_progress_closure);
118
   gimp_drawable_flush (drawable);
119
-  gimp_drawable_merge_shadow (drawable->id, TRUE);
120
-  gimp_drawable_update (drawable->id, sx1, sy1, width, height);
121
+  gimp_drawable_merge_shadow (drawable->drawable_id, TRUE);
122
+  gimp_drawable_update (drawable->drawable_id, sx1, sy1, width, height);
123
   g_free (matrix);
124
 }
(-)graphics/gimp-refocus-plugin/files/patch-src__tilebuf.c (-189 lines)
Removed Link Here
1
--- src/tilebuf.c	2014-03-27 20:00:17.000000000 -0300
2
+++ src/tilebuf.c	2014-03-27 20:00:58.000000000 -0300
3
@@ -18,6 +18,7 @@
4
  * Version $Id: tilebuf.c,v 1.1.1.1 2003/01/30 21:30:19 ernstl Exp $
5
  */
6
 
7
+#include <stdio.h>
8
 #include "tilebuf.h"
9
 #include "util.h"
10
 #include <string.h>
11
@@ -39,6 +40,11 @@
12
 guchar *
13
 pixpos_in_buf (TileStripBuffer * buf, const gint x, const gint y)
14
 {
15
+  /*
16
+    & data = array(? lines x row_stride columns)
17
+    & pixpos_in_buf = &data[(x - real_x)*bytes_per_pixel, y - real_y]
18
+    & (real_x, real_y) = origin of tile.
19
+   */
20
   return (&buf->data[buf->row_stride * (y - buf->real_y) +
21
                      buf->bpp * (x - buf->real_x)]);
22
 }
23
@@ -140,7 +146,10 @@
24
 
25
         for (x = x_lo - 1; x >= buf->real_x; x--)
26
           {
27
-            copy_col (buf, 2 * x_lo - x, y_start, y_end - y_start, x);
28
+            gint sx = 2 * x_lo - x;
29
+            copy_col (buf,
30
+                      sx<=buf->real_x+buf->real_width-1?sx:buf->real_x+buf->real_width-1,
31
+                      y_start, y_end - y_start, x);
32
           };
33
       }
34
       break;
35
@@ -171,7 +180,9 @@
36
 
37
         for (x = x_hi; x < buf->real_x + buf->real_width; x++)
38
           {
39
-            copy_col (buf, 2 * (x_hi - 1) - x, y_start, y_end - y_start, x);
40
+            gint sx = 2 * (x_hi - 1) - x;
41
+            copy_col (buf, sx>=buf->real_x?sx:buf->real_x,
42
+                      y_start, y_end - y_start, x);
43
           };
44
       }
45
       break;
46
@@ -200,7 +211,10 @@
47
 
48
         for (y = y_lo - 1; y >= buf->real_y; y--)
49
           {
50
-            copy_row (buf, buf->real_x, 2 * y_lo - y, buf->real_width, y);
51
+            gint sy = 2 * y_lo - y;
52
+            copy_row (buf, buf->real_x,
53
+                      sy<=buf->real_y+buf->real_height-1?sy:buf->real_y+buf->real_height-1,
54
+                      buf->real_width, y);
55
           };
56
       }
57
       break;
58
@@ -212,7 +226,7 @@
59
 static void
60
 fix_bottom_boundary (TileStripBuffer * buf, const gint y_hi)
61
 {
62
-  if (y_hi >= buf->real_y + buf->real_height)
63
+  if (y_hi >= buf->real_y + buf->real_height)       /* (1) */
64
     {
65
       return;
66
     };
67
@@ -226,12 +240,32 @@
68
       break;
69
     case TB_BOUNDARY_MIRROR:
70
       {
71
-        register gint y;
72
+        register gint y2;
73
 
74
-        for (y = y_hi; y < buf->real_y + buf->real_height; y++)
75
+        /*if (y_hi < buf->y_limit)*/
76
+        for (y2 = y_hi; y2 < buf->real_y + buf->real_height; y2++) /*(2)*/
77
           {
78
-            copy_row (buf, buf->real_x, 2 * (y_hi - 1) - y, buf->real_width,
79
-                      y);
80
+            /*
81
+              &1 y < y_hi              [domain of y, definition of y_hi, (1)]
82
+              &2 y_hi <= y2 < buf->real_y + buf->real_height  [(1),(2)]
83
+              &3 i = 0, 1, ...
84
+              &4 y=y_hi-i-1 -> y2=y_hi+i               [definition of mirror]
85
+              &5 y = y2 - 2*i - 1                      [4]
86
+              &6 y = 2*y2 - 2*i - y2 - 1               [5,algebra]
87
+              &7 y = 2*y_hi - y2 - 1                   [4,6]
88
+            */
89
+            gint y =  2*y_hi - y2 - 1;
90
+            if (y < buf->real_y) break;
91
+#ifdef RLXTEST
92
+           printf("fix_bottom_boundary: Copying row %d to %d, width %d, buf_loc %d %d, real_y %d\n",
93
+                  2*y_hi - y2 - 1, y2, buf->real_width,
94
+                  buf->row_stride * (2*y_hi - y2 - 1 - buf->real_y) +
95
+                   buf->bpp * (buf->real_x - buf->real_x),
96
+                  buf->row_stride * (y2 - buf->real_y) +
97
+                   buf->bpp * (buf->real_x - buf->real_x),
98
+                   buf->real_y);
99
+#endif
100
+            copy_row (buf, buf->real_x, y, buf->real_width,y2);
101
           };
102
       }
103
       break;
104
@@ -253,7 +287,21 @@
105
   const gint y_lo = MAX (buf->real_y, source->y);
106
   const gint y_hi = MIN (buf->real_y + buf->real_height,
107
                          source->y + source->height);
108
-
109
+  /*
110
+    y:  domain of y.
111
+    & 0 <= y.  y is a 0-index.
112
+    & | & y in the source image
113
+        & 0 <=  source->y <= y < source->y + source->height
114
+      | & y in the buffer
115
+        & 0 <= buf->real_y <= y < buf->real_y + buf->real_height
116
+    x:  domain of x = domain of y with mapping y -> x, height -> width.
117
+   */
118
+
119
+#ifdef RLXTEST
120
+  printf("buf->real_y %d, buf->real_height %d, source->y %d, source->heigh %d, y_hi %d\n",
121
+         buf->real_y,  buf->real_height,
122
+       source->y, source->height, y_hi);
123
+#endif
124
   fix_left_boundary (buf, x_lo, first_time ? buf->y : buf->y + tile_height (),
125
                      y_hi);
126
   fix_right_boundary (buf, x_hi,
127
@@ -262,7 +310,15 @@
128
     {
129
       fix_top_boundary (buf, y_lo);
130
     };
131
+#ifdef RLXTEST
132
+  printf("fix_boundaries: Now goto fix_bottom_boundary: y_hi %d, real_y + real_height %d, data[%d]\n",
133
+         y_hi, buf->real_y + buf->real_height,
134
+         buf->real_height * buf->row_stride);
135
+#endif
136
   fix_bottom_boundary (buf, y_hi);
137
+#ifdef RLXTEST
138
+  printf("bottom boundary fixed\n");
139
+#endif
140
 }
141
 
142
 void
143
@@ -309,6 +365,14 @@
144
   gint x;
145
   gboolean not_finished = TRUE;
146
 
147
+  /*
148
+    & y_limit = height of picture, if full picture.
149
+   */
150
+#ifdef RLXTEST
151
+  printf("buf->y %d + tile_height%d () >= buf->y_limit %d\n",
152
+         buf->y,tile_height(),buf->y_limit);
153
+#endif
154
+
155
   if (buf->first_time)
156
     {
157
       /* Buf must already have been initialized so there is nothing to do */
158
@@ -321,19 +385,31 @@
159
     }
160
   else
161
     {
162
+#ifdef RLXTEST
163
+      printf("shift_buf: tile_height %d\n", tile_height());
164
+#endif
165
       memmove (pixpos_in_buf (buf, buf->real_x,
166
                               buf->real_y),
167
                pixpos_in_buf (buf, buf->real_x,
168
                               buf->real_y + tile_height ()),
169
                buf->row_stride * (tile_height () + buf->border_width));
170
       buf->y += tile_height ();
171
+#ifdef RLXTEST
172
+      printf("shift_buf: y %d, y_limit %d\n", buf->y,  buf->y_limit);
173
+#endif
174
       buf->real_y = buf->y - buf->border_width;
175
       for (x = buf->x - tile_width ();
176
            x <= buf->x + buf->width; x += tile_width ())
177
         {
178
           copy_tile_to_buf (buf, source, x, buf->y + tile_height ());
179
+#ifdef RLXTEST
180
+          printf("shift_buf: x %d\n", x);
181
+#endif
182
         };
183
       fix_boundaries (buf, source, FALSE);
184
     };
185
+#ifdef RLXTEST
186
+  printf("shift_buf: done\n");
187
+#endif
188
   return (not_finished);
189
 }
(-)graphics/gimp-refocus-plugin/files/patch-src__util.c (-49 lines)
Removed Link Here
1
--- src/util.c	2014-03-27 20:00:17.000000000 -0300
2
+++ src/util.c	2014-03-27 20:00:58.000000000 -0300
3
@@ -18,6 +18,7 @@
4
  * Version $Id: util.c,v 1.1.1.1 2003/01/30 21:30:19 ernstl Exp $
5
  */
6
 
7
+#include <stdio.h>
8
 #include "util.h"
9
 #include <string.h>
10
 #include <math.h>
11
@@ -30,14 +31,38 @@
12
 gint
13
 floorm (gint a, gint b)
14
  /* return largest multiple of b that is <= a */
15
+ /*
16
+  & & m = floorm(a,b)
17
+    & a = b*m + r
18
+    &  0 <= r < b
19
+  */
20
 {
21
+#ifdef RLXTEST
22
+  printf("floorm: a/b %d, fl %g\n", a/b, floor ((gdouble) a / b));
23
+#endif
24
   return (b * floor ((gdouble) a / b));
25
 }
26
 
27
 gint
28
 ceilm (gint a, gint b)
29
  /* return least multiple of b that is >= a */
30
+ /*
31
+    & m = ceilm(a,b)
32
+    & a = b*m - r;
33
+    & m = a/b
34
+    % r = a%b
35
+    & -a = -b*m + r
36
+
37
+    & ceilm = (r == 0 ? b*m : (b+1)*m)
38
+  */
39
 {
40
+#ifdef RLXTEST
41
+  printf("ceil: a %d, b %d, -(-a/b) %d,a/b+(a%b != 0 ? 1:0) %d,  fl %g\n",
42
+         a,b,
43
+         -((-a)/b),
44
+          a/b+(a%b != 0 ? 1:0),
45
+         ceil ((gdouble) a / b) );
46
+#endif
47
   return (b * ceil ((gdouble) a / b));
48
 }
49
 
(-)graphics/hppsmtools/Makefile (-6 lines)
Lines 18-29 PORTDOCS= README changes.txt Link Here
18
18
19
OPTIONS_DEFINE=	DOCS
19
OPTIONS_DEFINE=	DOCS
20
20
21
post-patch:
22
	@${REINPLACE_CMD} -e 's|^CC=|#CC=|g ; \
23
		 s|-Wall -pedantic|$$(CFLAGS)|g' ${WRKSRC}/Makefile
24
	@${REINPLACE_CMD} -e '/typedef unsigned char/d' ${WRKSRC}/exif.h
25
	@${REINPLACE_CMD} -e '/<malloc.h>/d' ${WRKSRC}/psm*.c
26
27
do-install:
21
do-install:
28
.for file in psmdel psmdir psmget psmsho
22
.for file in psmdel psmdir psmget psmsho
29
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
23
	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
(-)graphics/opencolorio/Makefile (-33 / +39 lines)
Lines 2-23 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	opencolorio
4
PORTNAME=	opencolorio
5
DISTVERSIONPREFIX=	v
5
PORTVERSION=	g20200916
6
DISTVERSION=	1.1.1
6
PORTEPOCH=	1
7
PORTREVISION?=	1
8
CATEGORIES=	graphics multimedia
7
CATEGORIES=	graphics multimedia
9
8
10
MAINTAINER?=	FreeBSD@Shaneware.biz
9
MAINTAINER?=	FreeBSD@Shaneware.biz
11
COMMENT?=	Complete color management solution
10
COMMENT?=	Complete color management solution
12
11
13
LICENSE=	BSD3CLAUSE
12
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
14
16
15
USES=		alias cmake compiler:c++11-lang localbase:ldflags pkgconfig \
17
USES=		alias cmake compiler:c++11-lang localbase:ldflags pkgconfig \
16
		shebangfix
18
		shebangfix python:3.5+
17
19
18
USE_GITHUB=	yes
20
USE_GITHUB=	yes
19
GH_ACCOUNT=	imageworks
21
GH_ACCOUNT=	imageworks
20
GH_PROJECT=	OpenColorIO
22
GH_PROJECT=	OpenColorIO
23
GH_TAGNAME=	268238bd
21
24
22
CMAKE_ON=	USE_EXTERNAL_TINYXML USE_EXTERNAL_YAML
25
CMAKE_ON=	USE_EXTERNAL_TINYXML USE_EXTERNAL_YAML
23
CMAKE_OFF=	OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE OCIO_BUILD_STATIC
26
CMAKE_OFF=	OCIO_BUILD_JNIGLUE OCIO_BUILD_NUKE OCIO_BUILD_STATIC
Lines 26-34 CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} Link Here
26
CXXFLAGS_gcc=	-Wno-unused-function -Wno-error
29
CXXFLAGS_gcc=	-Wno-unused-function -Wno-error
27
CXXFLAGS_clang=	-Wno-deprecated-register
30
CXXFLAGS_clang=	-Wno-deprecated-register
28
31
29
SHEBANG_FILES=	share/sphinx/ExtractRstFromSourceCPP.py \
32
SHEBANG_FILES=	share/sphinx/ExtractRstFromSourceSimple.py share/sphinx/ExtractRstFromSourceCPP.py
30
		share/sphinx/ExtractRstFromSourceSimple.py \
31
		src/pyglue/createPyDocH.py
32
33
33
OPTIONS_DEFINE=		DOCS
34
OPTIONS_DEFINE=		DOCS
34
35
Lines 36-41 DOCS_CMAKE_BOOL= OCIO_BUILD_DOCS Link Here
36
37
37
PLIST_SUB+=		LIBVERS=${PORTVERSION}
38
PLIST_SUB+=		LIBVERS=${PORTVERSION}
38
39
40
CMAKE_OFF+=	OCIO_BUILD_TESTS OCIO_BUILD_GPU_TESTS
41
39
.if ${MACHINE_CPU:Msse2}
42
.if ${MACHINE_CPU:Msse2}
40
CMAKE_ON+=	OCIO_USE_SSE
43
CMAKE_ON+=	OCIO_USE_SSE
41
.else
44
.else
Lines 52-84 CMAKE_ON+= OCIO_BUILD_APPS USE_EXTERNAL_LCMS Link Here
52
CMAKE_OFF+=	OCIO_BUILD_SHARED OCIO_BUILD_PYGLUE
55
CMAKE_OFF+=	OCIO_BUILD_SHARED OCIO_BUILD_PYGLUE
53
LDFLAGS+=	-lOpenColorIO
56
LDFLAGS+=	-lOpenColorIO
54
USES+=		gl xorg
57
USES+=		gl xorg
55
USE_GL=		gl glu glut glew
58
USE_GL=		egl gl glu glut glew
56
USE_XORG=	xi xmu
59
USE_XORG=	xi xmu
57
PLIST=		${PKGDIR}/pkg-plist-tools
60
PLIST=		${PKGDIR}/pkg-plist-tools
58
EXTRA_PATCHES=	${PATCHDIR}/tools
59
.elif defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule
61
.elif defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule
60
LIB_DEPENDS=	libOpenImageIO.so:graphics/openimageio \
62
LIB_DEPENDS=	libOpenImageIO.so:graphics/openimageio \
61
		libOpenColorIO.so:graphics/opencolorio
63
		libOpenColorIO.so:graphics/opencolorio
62
USES+=		python
63
USE_PYTHON=	flavors
64
LDFLAGS+=	-lOpenColorIO
64
LDFLAGS+=	-lOpenColorIO
65
CMAKE_ON+=	OCIO_BUILD_PYGLUE OCIO_PYGLUE_LINK
65
CMAKE_ON+=	OCIO_BUILD_PYGLUE OCIO_PYGLUE_LINK
66
CMAKE_OFF+=	OCIO_BUILD_APPS OCIO_BUILD_SHARED
66
CMAKE_OFF+=	OCIO_BUILD_APPS OCIO_BUILD_SHARED
67
CMAKE_ARGS+=	-DPYTHON:FILEPATH=${PYTHON_CMD}
67
CMAKE_ARGS+=	-DPYTHON:FILEPATH=${PYTHON_CMD} -Dpystring_ROOT=${LOCALBASE}
68
PLIST=		${PKGDIR}/pkg-plist-pyglue
68
PLIST=		${PKGDIR}/pkg-plist-pyglue
69
USE_PYTHON=	flavors
69
.else # master port
70
.else # master port
70
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR}
71
CMAKE_ON+=	USE_EXTERNAL_LCMS OCIO_BUILD_SHARED
71
LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml \
72
CMAKE_OFF+=	OCIO_BUILD_APPS
72
		libyaml-cpp03.so:devel/yaml-cpp03
73
USES+=		gl xorg
74
USE_GL=		gl glu glut glew
75
USE_XORG=	xi xmu
76
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
77
		${PYTHON_PKGNAMEPREFIX}sphinx-tabs>0:textproc/py-sphinx-tabs@${PY_FLAVOR} \
78
		${PYTHON_PKGNAMEPREFIX}recommonmark>=0:textproc/py-recommonmark@${PY_FLAVOR} \
79
		${PYTHON_PKGNAMEPREFIX}testresources>=0:devel/py-testresources@${PY_FLAVOR} \
80
		${PYTHON_PKGNAMEPREFIX}sphinx_press_theme>=0:textproc/py-sphinx_press_theme@${PY_FLAVOR}
81
82
LIB_DEPENDS=	libexpat.so:textproc/expat2 \
83
		libHalf.so:graphics/ilmbase \
84
		liblcms2.so:graphics/lcms2 \
85
		libpystring.so:devel/pystring \
86
		libtinyxml.so:textproc/tinyxml \
87
		libyaml-cpp.so:devel/yaml-cpp
88
73
.if ${PORT_OPTIONS:MDOCS}
89
.if ${PORT_OPTIONS:MDOCS}
74
USES+=		python:2.7,build
90
USES+=		python:3.5+,build
75
.else
76
USES+=		python:build
77
.endif
91
.endif
78
USE_LDCONFIG=	yes
92
USE_LDCONFIG=	yes
79
CMAKE_ON+=	OCIO_BUILD_SHARED OCIO_BUILD_PYGLUE
93
CMAKE_ON+=	OCIO_BUILD_SHARED OCIO_BUILD_PYGLUE
80
CMAKE_OFF+=	OCIO_BUILD_APPS
94
CMAKE_OFF+=	OCIO_BUILD_APPS
81
CMAKE_ARGS+=	-DPYTHON:FILEPATH=${PYTHON_CMD}
95
CMAKE_ARGS+=	-DPYTHON:FILEPATH=${PYTHON_CMD} -DPYTHON_LIBRARY=${PYTHON_LIBDIR}
82
# we enable pyglue in master port. This makes the python module
96
# we enable pyglue in master port. This makes the python module
83
# available when generating docs, we leave the python header in place
97
# available when generating docs, we leave the python header in place
84
# but only install the python module with the py-opencolorio port
98
# but only install the python module with the py-opencolorio port
Lines 86-111 CMAKE_ARGS+= -DPYTHON:FILEPATH=${PYTHON_CMD} Link Here
86
# doc building fails using python3 - but the py-opencolorio port can still
100
# doc building fails using python3 - but the py-opencolorio port can still
87
# be used to build a python 3 module
101
# be used to build a python 3 module
88
PLIST=		${PKGDIR}/pkg-plist
102
PLIST=		${PKGDIR}/pkg-plist
89
EXTRA_PATCHES=	${PATCHDIR}/libs
90
.endif
103
.endif
91
104
92
post-patch:
105
.if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == tools
93
	@${REINPLACE_CMD} -e '/pkg_check_modules/ s|yaml-cpp|&03|' \
106
do-install:
94
		${WRKSRC}/CMakeLists.txt
107
.for BIN in ociobakelut ociocheck ociochecklut ocioconvert ociodisplay ociolutimage ociomakeclf ocioperf ociowrite
95
	@${REINPLACE_CMD} -e '/YAML_CPP_INCLUDE_DIR/ s|yaml-cpp|&03|' \
108
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/src/apps/${BIN}/${BIN} ${STAGEDIR}${PREFIX}/bin/${BIN}
96
		${WRKSRC}/CMakeLists.txt
109
.endfor
97
	@${REINPLACE_CMD} -e '/YAML_CPP_LIBRARY/ s|yaml-cpp|&03|' \
98
		${WRKSRC}/CMakeLists.txt
99
	@${REINPLACE_CMD} -e 's|yaml-cpp|&03|' ${WRKSRC}/src/core/OCIOYaml.cpp
100
.if ${SLAVE_PORT} == yes
101
	@${FIND} ${WRKSRC}/src/apps -name main.cpp | ${XARGS} \
102
		${REINPLACE_CMD} '/namespace OIIO/d'
103
.endif
110
.endif
104
105
.if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule
111
.if defined(OCIO_SLAVE) && ${OCIO_SLAVE} == pymodule
106
do-install:
112
do-install:
107
	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
113
	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
108
	${INSTALL_LIB} ${BUILD_WRKSRC}/src/pyglue/PyOpenColorIO.so ${STAGEDIR}${PYTHON_SITELIBDIR}
114
	${INSTALL_LIB} ${BUILD_WRKSRC}/src/bindings/python/PyOpenColorIO.so ${STAGEDIR}${PYTHON_SITELIBDIR}
109
.elif !defined(OCIO_SLAVE)
115
.elif !defined(OCIO_SLAVE)
110
post-install:
116
post-install:
111
	@${RM} -R ${STAGEDIR}${PYTHON_LIBDIR}
117
	@${RM} -R ${STAGEDIR}${PYTHON_LIBDIR}
(-)graphics/opencolorio/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1557638944
1
TIMESTAMP = 1600267246
2
SHA256 (imageworks-OpenColorIO-v1.1.1_GH0.tar.gz) = c9b5b9def907e1dafb29e37336b702fff22cc6306d445a13b1621b8a754c14c8
2
SHA256 (imageworks-OpenColorIO-g20200916-268238bd_GH0.tar.gz) = 0b004452ba1349e332ad711d89778ab16f71c653df563c75d033b56007f01e1e
3
SIZE (imageworks-OpenColorIO-v1.1.1_GH0.tar.gz) = 13828483
3
SIZE (imageworks-OpenColorIO-g20200916-268238bd_GH0.tar.gz) = 9577856
(-)graphics/opencolorio/files/libs/patch-CMakeLists.txt (-17 lines)
Removed Link Here
1
--- ./CMakeLists.txt.orig	2018-01-05 12:08:27 UTC
2
+++ ./CMakeLists.txt
3
@@ -596,7 +599,7 @@ if(TARGET OpenColorIO_STATIC)
4
         set(OCIO_STATIC_COMPILE_DEFINITIONS )
5
     endif()
6
 endif()
7
-install(EXPORT OpenColorIO DESTINATION cmake)
8
+install(EXPORT OpenColorIO DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules)
9
 file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
10
     "
11
     get_filename_component(OpenColorIO_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)
12
@@ -646,4 +649,4 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColo
13
     message(STATUS OPENCOLORIO_FOUND=\${OPENCOLORIO_FOUND})
14
     "
15
 )
16
-install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION .)
17
+install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules)
(-)graphics/opencolorio/files/libs/patch-src_core_CMakeLists.txt (-8 lines)
Removed Link Here
1
--- src/core/CMakeLists.txt.orig	2014-09-11 19:08:18 UTC
2
+++ src/core/CMakeLists.txt
3
@@ -90,4 +90,4 @@ message(STATUS "Create OpenColorIO.pc fr
4
 configure_file(${CMAKE_SOURCE_DIR}/export/pkgconfig/OpenColorIO.pc.in
5
     ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc @ONLY)
6
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc
7
-    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/)
8
+    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/libdata/pkgconfig/)
(-)graphics/opencolorio/files/patch-CMakeLists.txt (-32 lines)
Removed Link Here
1
--- CMakeLists.txt.orig	2018-01-05 12:08:27 UTC
2
+++ CMakeLists.txt
3
@@ -3,6 +3,10 @@ set(OCIO_VERSION_MAJOR 1)
4
 set(OCIO_VERSION_MINOR 1)
5
 set(OCIO_VERSION_PATCH 0)
6
 
7
+set(CMAKE_CXX_STANDARD 11)
8
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
9
+set(CMAKE_CXX_EXTENSIONS OFF)
10
+
11
 cmake_minimum_required(VERSION 2.8)
12
 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/share/cmake)
13
 if(NOT DEFINED CMAKE_FIRST_RUN)
14
@@ -218,8 +222,7 @@ else(USE_EXTERNAL_TINYXML)
15
         ## => great news when build staticaly since we do not want another client project have to link also with tinyxml when he want to use this project
16
         ## => could be problematic if the client project use another version of tinyxml... In this case build tinyxml as shared lib with all projects could be a solution
17
         ## => TODO: so maybe provide a simple cmake way to build 3rdParty as shared and auto install with this project ?
18
-        set_target_properties(TINYXML_LIB PROPERTIES COMPILE_FLAGS "-DTIXML_USE_STL -fPIC -fvisibility-inlines-hidden -fvisibility=hidden")
19
-        add_definitions(-DTIXML_USE_STL) ## needed to build correctly, and also need to be propagated in child projects (client projects)
20
+        set_target_properties(TINYXML_LIB PROPERTIES COMPILE_FLAGS "-fPIC -fvisibility-inlines-hidden -fvisibility=hidden")
21
         list(APPEND EXTERNAL_OBJECTS $<TARGET_OBJECTS:TINYXML_LIB>)
22
     else()
23
         find_package(Git REQUIRED) ## in order to apply patch (for crossplateform compatibility)
24
@@ -384,7 +387,7 @@ else()
25
     set(OCIO_INLINES_HIDDEN OFF)
26
 endif()
27
 
28
-set(EXTERNAL_COMPILE_FLAGS "-DTIXML_USE_STL ${YAML_CPP_COMPILE_FLAGS} ${GCC_COMPILE_FLAGS}")
29
+set(EXTERNAL_COMPILE_FLAGS "${YAML_CPP_COMPILE_FLAGS} ${GCC_COMPILE_FLAGS}")
30
 
31
 set(EXTERNAL_LINK_FLAGS "")
32
 set(EXTERNAL_LIBRARY_DIRS ${PROJECT_BINARY_DIR}/ext/dist/lib)
(-)graphics/opencolorio/files/patch-docs_CMakeLists.txt (-14 / +19 lines)
Lines 1-17 Link Here
1
--- docs/CMakeLists.txt.orig	2014-09-11 19:08:18 UTC
1
--- docs/CMakeLists.txt.orig	2020-09-16 03:35:02 UTC
2
+++ docs/CMakeLists.txt
2
+++ docs/CMakeLists.txt
3
@@ -110,12 +115,11 @@ add_custom_target(doc ALL
3
@@ -147,17 +147,14 @@ if(${Python_VERSION_MAJOR} GREATER_EQUAL 3)
4
 add_dependencies(doc Sphinx) 
4
     ### Installation ###
5
 
5
 
6
 install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
6
     install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
7
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
7
-            DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
8
+        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/opencolorio
8
+            DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/opencolorio
9
         PATTERN .* EXCLUDE
9
             PATTERN .* EXCLUDE
10
 )
10
     )
11
 
11
 
12
-find_package(LATEX)
12
     ###############################################################################
13
-if(PDFLATEX_COMPILER)
13
     ### PDF target ###
14
+if(0)
14
 
15
     
15
-    find_package(LATEX)
16
     add_custom_target(latex
16
-    package_root_message(LATEX)
17
         COMMAND PYTHONPATH=${PYTHONPATH} ${EXTDIST_BINPATH}/sphinx-build -b latex . ${CMAKE_CURRENT_BINARY_DIR}/build-latex
17
-
18
-    if(PDFLATEX_COMPILER)
19
+    if(0)
20
 
21
         add_custom_target(latex
22
             COMMAND
(-)graphics/opencolorio/files/patch-share_cmake_OCIOMacros.cmake (-11 lines)
Removed Link Here
1
--- share/cmake/OCIOMacros.cmake.orig	2015-08-29 00:58:36 UTC
2
+++ share/cmake/OCIOMacros.cmake
3
@@ -168,7 +168,7 @@ MACRO(OCIOFindPython)
4
         file(TO_CMAKE_PATH "${PYTHON_LIBRARY_DIRS_RAW}" PYTHON_LIBRARY_DIRS)
5
 
6
         FIND_LIBRARY(PYTHON_LIBRARY
7
-            NAMES "python${PYTHON_VERSION}"
8
+            NAMES "${PYTHON_VERSION}${PYTHON_ABIVER}"
9
             PATHS ${PYTHON_LIBRARY_DIRS}
10
             NO_DEFAULT_PATH # Don't be "helpful" and randomly grab library from /usr/lib etc
11
         )
(-)graphics/opencolorio/files/patch-src_core_Config.cpp (-11 lines)
Removed Link Here
1
--- src/core/Config.cpp.orig	2018-09-04 18:15:21 UTC
2
+++ src/core/Config.cpp
3
@@ -324,7 +324,7 @@ OCIO_NAMESPACE_ENTER
4
                 sanitytext_ = rhs.sanitytext_;
5
                 
6
                 cacheids_ = rhs.cacheids_;
7
-                cacheidnocontext_ = cacheidnocontext_;
8
+                cacheidnocontext_ = rhs.cacheidnocontext_;
9
             }
10
             return *this;
11
         }
(-)graphics/opencolorio/files/tools/patch-CMakeLists.txt (-35 lines)
Removed Link Here
1
--- ./CMakeLists.txt.orig	2018-01-05 12:08:27 UTC
2
+++ ./CMakeLists.txt
3
@@ -457,7 +460,7 @@ endif()
4
 ###############################################################################
5
 ### APPS ###
6
 
7
-if(OCIO_BUILD_APPS AND (OCIO_BUILD_STATIC OR OCIO_BUILD_SHARED) )
8
+if(OCIO_BUILD_APPS)
9
 
10
     # Try to find OpenImageIO (OIIO) and OpenGL stuff
11
     OCIOFindOpenImageIO()
12
@@ -531,7 +534,7 @@ endif()
13
 configure_file(${CMAKE_SOURCE_DIR}/share/ocio/setup_ocio.sh.in
14
     ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh @ONLY)
15
 
16
-INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION share/ocio/)
17
+#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/share/ocio/setup_ocio.sh DESTINATION share/ocio/)
18
 
19
 ###############################################################################
20
 ### CPACK ###
21
@@ -596,7 +595,7 @@ if(TARGET OpenColorIO_STATIC)
22
         set(OCIO_STATIC_COMPILE_DEFINITIONS )
23
     endif()
24
 endif()
25
-install(EXPORT OpenColorIO DESTINATION cmake)
26
+#install(EXPORT OpenColorIO DESTINATION cmake)
27
 file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake"
28
     "
29
     get_filename_component(OpenColorIO_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)
30
@@ -646,4 +649,4 @@ file(WRITE "${CMAKE_BINARY_DIR}/OpenColo
31
     message(STATUS OPENCOLORIO_FOUND=\${OPENCOLORIO_FOUND})
32
     "
33
 )
34
-install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION .)
35
+#install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules)
(-)graphics/opencolorio/files/tools/patch-src_core_CMakeLists.txt (-18 lines)
Removed Link Here
1
--- src/core/CMakeLists.txt.orig	2018-02-05 14:07:04 UTC
2
+++ src/core/CMakeLists.txt
3
@@ -105,15 +105,3 @@ macro(target_link_OCIO target)
4
         set_target_properties(${target} PROPERTIES COMPILE_DEFINITIONS OpenColorIO_STATIC)
5
     endif()
6
 endmacro()
7
-
8
-
9
-# public interface
10
-install(FILES ${core_export_headers}
11
-    DESTINATION ${CMAKE_INSTALL_PREFIX}/include/OpenColorIO/)
12
-
13
-# pkg-config
14
-message(STATUS "Create OpenColorIO.pc from OpenColorIO.pc.in")
15
-configure_file(${CMAKE_SOURCE_DIR}/export/pkgconfig/OpenColorIO.pc.in
16
-    ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc @ONLY)
17
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc
18
-    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/)
(-)graphics/opencolorio/pkg-plist (-87 / +232 lines)
Lines 2-19 include/OpenColorIO/OpenColorABI.h Link Here
2
include/OpenColorIO/OpenColorIO.h
2
include/OpenColorIO/OpenColorIO.h
3
include/OpenColorIO/OpenColorTransforms.h
3
include/OpenColorIO/OpenColorTransforms.h
4
include/OpenColorIO/OpenColorTypes.h
4
include/OpenColorIO/OpenColorTypes.h
5
include/PyOpenColorIO/PyOpenColorIO.h
5
include/OpenColorIO/apphelpers/CategoryNames.h
6
include/OpenColorIO/apphelpers/ColorSpaceHelpers.h
7
include/OpenColorIO/apphelpers/DisplayViewHelpers.h
8
include/OpenColorIO/apphelpers/MixingHelpers.h
9
include/OpenColorIO/apphelpers/ViewingPipeline.h
6
lib/libOpenColorIO.so
10
lib/libOpenColorIO.so
7
lib/libOpenColorIO.so.1
11
lib/libOpenColorIO.so.2.0
8
lib/libOpenColorIO.so.%%LIBVERS%%
12
lib/libOpenColorIO.so.2.0.0
13
lib/libOpenColorIOapphelpers.a
9
libdata/pkgconfig/OpenColorIO.pc
14
libdata/pkgconfig/OpenColorIO.pc
10
share/cmake/Modules/OpenColorIOConfig.cmake
15
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.html
11
share/cmake/Modules/OpenColorIO-release.cmake
16
%%PORTDOCS%%%%DOCSDIR%%/CMakeLists.html
12
share/cmake/Modules/OpenColorIO.cmake
17
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html
13
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.html
18
%%PORTDOCS%%%%DOCSDIR%%/README.html
14
%%PORTDOCS%%%%DOCSDIR%%/CompatibleSoftware.html
19
%%PORTDOCS%%%%DOCSDIR%%/V2_DOC_README.html
15
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
16
%%PORTDOCS%%%%DOCSDIR%%/License.html
17
%%PORTDOCS%%%%DOCSDIR%%/_images/gn10_to_linear_light.jpeg
20
%%PORTDOCS%%%%DOCSDIR%%/_images/gn10_to_linear_light.jpeg
18
%%PORTDOCS%%%%DOCSDIR%%/_images/gnf_to_linear_light.jpeg
21
%%PORTDOCS%%%%DOCSDIR%%/_images/gnf_to_linear_light.jpeg
19
%%PORTDOCS%%%%DOCSDIR%%/_images/lg10_to_linear_light.jpeg
22
%%PORTDOCS%%%%DOCSDIR%%/_images/lg10_to_linear_light.jpeg
Lines 24-124 share/cmake/Modules/OpenColorIO.cmake Link Here
24
%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_proof_setup.png
27
%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_proof_setup.png
25
%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_reveal_profile.png
28
%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_reveal_profile.png
26
%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_select_profile.png
29
%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_select_profile.png
27
%%PORTDOCS%%%%DOCSDIR%%/_sources/ChangeLog.txt
30
%%PORTDOCS%%%%DOCSDIR%%/_sources/CHANGELOG.md.txt
28
%%PORTDOCS%%%%DOCSDIR%%/_sources/CompatibleSoftware.txt
31
%%PORTDOCS%%%%DOCSDIR%%/_sources/CMakeLists.txt
29
%%PORTDOCS%%%%DOCSDIR%%/_sources/FAQ.txt
32
%%PORTDOCS%%%%DOCSDIR%%/_sources/INSTALL.md.txt
30
%%PORTDOCS%%%%DOCSDIR%%/_sources/License.txt
33
%%PORTDOCS%%%%DOCSDIR%%/_sources/README.md.txt
31
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/aces_1.0.3.txt
34
%%PORTDOCS%%%%DOCSDIR%%/_sources/V2_DOC_README.md.txt
32
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/allocation_vars.txt
35
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/_index.rst.txt
33
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/index.txt
36
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/bindings/PythonAPI.rst.txt
34
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/nuke_default.txt
37
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/bindings/PythonTransforms.rst.txt
35
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_anim.txt
38
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/bindings/PythonTypes.rst.txt
36
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_vfx.txt
39
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_baker.rst.txt
37
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorIO.txt
40
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_colorspace.rst.txt
38
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTransforms.txt
41
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_colorspaceset.rst.txt
39
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTypes.txt
42
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_config.rst.txt
40
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/index.txt
43
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_context.rst.txt
41
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonAPI.txt
44
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_cpuprocessor.rst.txt
42
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonTransforms.txt
45
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_dynamicproperty.rst.txt
43
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonTypes.txt
46
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_filerules.rst.txt
44
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/coding_guidelines.txt
47
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_formatmetadata.rst.txt
45
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/documentation_guidelines.txt
48
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_gpuprocessor.rst.txt
46
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/getting_started.txt
49
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_gpushadercreator.rst.txt
47
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/index.txt
50
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_gpushaderdesc.rst.txt
48
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/internal_architecture.txt
51
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_imagedesc.rst.txt
49
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/issues.txt
52
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_look.rst.txt
50
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/submitting_changes.txt
53
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_packedimagedesc.rst.txt
51
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/usage_examples.txt
54
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_planarimagedesc.rst.txt
52
%%PORTDOCS%%%%DOCSDIR%%/_sources/downloads.txt
55
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_processor.rst.txt
53
%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt
56
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/c_viewingrules.rst.txt
54
%%PORTDOCS%%%%DOCSDIR%%/_sources/introduction.txt
57
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/change_log.rst.txt
55
%%PORTDOCS%%%%DOCSDIR%%/_sources/installation.txt
58
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/transforms.rst.txt
56
%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/baking_luts.txt
59
%%PORTDOCS%%%%DOCSDIR%%/_sources/api/types.rst.txt
57
%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/config_syntax.txt
60
%%PORTDOCS%%%%DOCSDIR%%/_sources/aswf/_index.rst.txt
58
%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/contexts.txt
61
%%PORTDOCS%%%%DOCSDIR%%/_sources/aswf/aswf_docker.rst.txt
59
%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/index.txt
62
%%PORTDOCS%%%%DOCSDIR%%/_sources/aswf/charter.rst.txt
60
%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/looks.txt
63
%%PORTDOCS%%%%DOCSDIR%%/_sources/aswf/cla_dco.rst.txt
61
%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/tool_overview.txt
64
%%PORTDOCS%%%%DOCSDIR%%/_sources/aswf/license.rst.txt
62
%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif
65
%%PORTDOCS%%%%DOCSDIR%%/_sources/concepts/_index.rst.txt
63
%%PORTDOCS%%%%DOCSDIR%%/_static/alert_info_32.png
66
%%PORTDOCS%%%%DOCSDIR%%/_sources/concepts/overview/configuration_files.rst.txt
64
%%PORTDOCS%%%%DOCSDIR%%/_static/alert_warning_32.png
67
%%PORTDOCS%%%%DOCSDIR%%/_sources/concepts/overview/glossary.rst.txt
68
%%PORTDOCS%%%%DOCSDIR%%/_sources/concepts/overview/internal_architecture.rst.txt
69
%%PORTDOCS%%%%DOCSDIR%%/_sources/concepts/overview/introduction.rst.txt
70
%%PORTDOCS%%%%DOCSDIR%%/_sources/concepts/overview/overview.rst.txt
71
%%PORTDOCS%%%%DOCSDIR%%/_sources/concepts/publications/publications.rst.txt
72
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/_index.rst.txt
73
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/aces_1.0.3.rst.txt
74
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/nuke_default.rst.txt
75
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_anim.rst.txt
76
%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_vfx.rst.txt
77
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorIO.rst.txt
78
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTransforms.rst.txt
79
%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTypes.rst.txt
80
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/_index.rst.txt
81
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/allocation_vars.rst.txt
82
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/authoring.rst.txt
83
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/colorspaces.rst.txt
84
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/config_syntax.rst.txt
85
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/contexts.rst.txt
86
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/displays_views.rst.txt
87
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/looks.rst.txt
88
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/looks_example.rst.txt
89
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/overview.rst.txt
90
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/rules.rst.txt
91
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/authoring/transforms.rst.txt
92
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/architectural_notes.rst.txt
93
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/coding_style_guide.rst.txt
94
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/contributing.rst.txt
95
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/documentation_guidelines.rst.txt
96
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/doxygen_style_guide.rst.txt
97
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/getting_started.rst.txt
98
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/issues.rst.txt
99
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/repository_structure.rst.txt
100
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/submitting_changes.rst.txt
101
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/contributing/unit_tests.rst.txt
102
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/developing/app_helpers.rst.txt
103
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/developing/developing.rst.txt
104
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/developing/usage_examples.rst.txt
105
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/using_ocio/compatible_software.rst.txt
106
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/using_ocio/faq.rst.txt
107
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/using_ocio/tool_overview.rst.txt
108
%%PORTDOCS%%%%DOCSDIR%%/_sources/guides/using_ocio/using_ocio.rst.txt
109
%%PORTDOCS%%%%DOCSDIR%%/_sources/index.rst.txt
110
%%PORTDOCS%%%%DOCSDIR%%/_sources/quick_start/_index.rst.txt
111
%%PORTDOCS%%%%DOCSDIR%%/_sources/quick_start/downloads.rst.txt
112
%%PORTDOCS%%%%DOCSDIR%%/_sources/quick_start/for_artists.rst.txt
113
%%PORTDOCS%%%%DOCSDIR%%/_sources/quick_start/for_config_authors.rst.txt
114
%%PORTDOCS%%%%DOCSDIR%%/_sources/quick_start/for_contributors.rst.txt
115
%%PORTDOCS%%%%DOCSDIR%%/_sources/quick_start/for_devs.rst.txt
116
%%PORTDOCS%%%%DOCSDIR%%/_sources/quick_start/installation.rst.txt
117
%%PORTDOCS%%%%DOCSDIR%%/_sources/requirements.txt
118
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/README.md.txt
119
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/README_theme.md.txt
120
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/archetypes/default.md.txt
121
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/author/john-doe.md.txt
122
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/author/mark-dinn.md.txt
123
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/installation.md.txt
124
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/simple-blog-post-1.md.txt
125
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/simple-blog-post-2.md.txt
126
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/simple-blog-post-3.md.txt
127
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/simple-blog-post-4.md.txt
128
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/simple-blog-post-5.md.txt
129
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/simple-blog-post-6.md.txt
130
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/simple-blog-post-7.md.txt
131
%%PORTDOCS%%%%DOCSDIR%%/_sources/site/homepage/content/english/blog/simple-blog-post-8.md.txt
132
%%PORTDOCS%%%%DOCSDIR%%/_sources/toc_redirect.rst.txt
133
%%PORTDOCS%%%%DOCSDIR%%/_sources/tutorials/_index.rst.txt
134
%%PORTDOCS%%%%DOCSDIR%%/_sources/tutorials/baking_luts.rst.txt
135
%%PORTDOCS%%%%DOCSDIR%%/_sources/tutorials/contributing.rst.txt
136
%%PORTDOCS%%%%DOCSDIR%%/_sources/upgrading_v2/_index.rst.txt
137
%%PORTDOCS%%%%DOCSDIR%%/_sources/upgrading_v2/how_to.rst.txt
138
%%PORTDOCS%%%%DOCSDIR%%/_static/OpenColorIO_withText.svg
65
%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
139
%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
66
%%PORTDOCS%%%%DOCSDIR%%/_static/bg-page.png
67
%%PORTDOCS%%%%DOCSDIR%%/_static/bullet_orange.png
68
%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_lm10.0101.jpg
69
%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_lnf.0101.jpg
70
%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_vd16.0101.jpg
71
%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png
72
%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png
73
%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png
74
%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
140
%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
75
%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png
141
%%PORTDOCS%%%%DOCSDIR%%/_static/documentation_options.js
76
%%PORTDOCS%%%%DOCSDIR%%/_static/down.png
77
%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
142
%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
143
%%PORTDOCS%%%%DOCSDIR%%/_static/jquery-3.5.1.js
78
%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
144
%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
145
%%PORTDOCS%%%%DOCSDIR%%/_static/language_data.js
79
%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
146
%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
80
%%PORTDOCS%%%%DOCSDIR%%/_static/ocio.css
147
%%PORTDOCS%%%%DOCSDIR%%/_static/ocio_b.svg
81
%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
148
%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
82
%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
149
%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
83
%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
150
%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
151
%%PORTDOCS%%%%DOCSDIR%%/_static/sphinx_press_theme.css
152
%%PORTDOCS%%%%DOCSDIR%%/_static/sphinx_tabs/semantic-ui-2.4.1/menu.min.css
153
%%PORTDOCS%%%%DOCSDIR%%/_static/sphinx_tabs/semantic-ui-2.4.1/segment.min.css
154
%%PORTDOCS%%%%DOCSDIR%%/_static/sphinx_tabs/semantic-ui-2.4.1/tab.min.css
155
%%PORTDOCS%%%%DOCSDIR%%/_static/sphinx_tabs/semantic-ui-2.4.1/tab.min.js
156
%%PORTDOCS%%%%DOCSDIR%%/_static/sphinx_tabs/tabs.css
157
%%PORTDOCS%%%%DOCSDIR%%/_static/sphinx_tabs/tabs.js
158
%%PORTDOCS%%%%DOCSDIR%%/_static/theme-vendors.js
159
%%PORTDOCS%%%%DOCSDIR%%/_static/theme.css
160
%%PORTDOCS%%%%DOCSDIR%%/_static/theme.js
161
%%PORTDOCS%%%%DOCSDIR%%/_static/underscore-1.3.1.js
84
%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
162
%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
85
%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png
163
%%PORTDOCS%%%%DOCSDIR%%/api/_index.html
86
%%PORTDOCS%%%%DOCSDIR%%/_static/up.png
164
%%PORTDOCS%%%%DOCSDIR%%/api/bindings/PythonAPI.html
87
%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js
165
%%PORTDOCS%%%%DOCSDIR%%/api/bindings/PythonTransforms.html
166
%%PORTDOCS%%%%DOCSDIR%%/api/bindings/PythonTypes.html
167
%%PORTDOCS%%%%DOCSDIR%%/api/c_baker.html
168
%%PORTDOCS%%%%DOCSDIR%%/api/c_colorspace.html
169
%%PORTDOCS%%%%DOCSDIR%%/api/c_colorspaceset.html
170
%%PORTDOCS%%%%DOCSDIR%%/api/c_config.html
171
%%PORTDOCS%%%%DOCSDIR%%/api/c_context.html
172
%%PORTDOCS%%%%DOCSDIR%%/api/c_cpuprocessor.html
173
%%PORTDOCS%%%%DOCSDIR%%/api/c_dynamicproperty.html
174
%%PORTDOCS%%%%DOCSDIR%%/api/c_filerules.html
175
%%PORTDOCS%%%%DOCSDIR%%/api/c_formatmetadata.html
176
%%PORTDOCS%%%%DOCSDIR%%/api/c_gpuprocessor.html
177
%%PORTDOCS%%%%DOCSDIR%%/api/c_gpushadercreator.html
178
%%PORTDOCS%%%%DOCSDIR%%/api/c_gpushaderdesc.html
179
%%PORTDOCS%%%%DOCSDIR%%/api/c_imagedesc.html
180
%%PORTDOCS%%%%DOCSDIR%%/api/c_look.html
181
%%PORTDOCS%%%%DOCSDIR%%/api/c_packedimagedesc.html
182
%%PORTDOCS%%%%DOCSDIR%%/api/c_planarimagedesc.html
183
%%PORTDOCS%%%%DOCSDIR%%/api/c_processor.html
184
%%PORTDOCS%%%%DOCSDIR%%/api/c_viewingrules.html
185
%%PORTDOCS%%%%DOCSDIR%%/api/change_log.html
186
%%PORTDOCS%%%%DOCSDIR%%/api/transforms.html
187
%%PORTDOCS%%%%DOCSDIR%%/api/types.html
188
%%PORTDOCS%%%%DOCSDIR%%/aswf/_index.html
189
%%PORTDOCS%%%%DOCSDIR%%/aswf/aswf_docker.html
190
%%PORTDOCS%%%%DOCSDIR%%/aswf/charter.html
191
%%PORTDOCS%%%%DOCSDIR%%/aswf/cla_dco.html
192
%%PORTDOCS%%%%DOCSDIR%%/aswf/license.html
193
%%PORTDOCS%%%%DOCSDIR%%/concepts/_index.html
194
%%PORTDOCS%%%%DOCSDIR%%/concepts/overview/configuration_files.html
195
%%PORTDOCS%%%%DOCSDIR%%/concepts/overview/glossary.html
196
%%PORTDOCS%%%%DOCSDIR%%/concepts/overview/internal_architecture.html
197
%%PORTDOCS%%%%DOCSDIR%%/concepts/overview/introduction.html
198
%%PORTDOCS%%%%DOCSDIR%%/concepts/overview/overview.html
199
%%PORTDOCS%%%%DOCSDIR%%/concepts/publications/publications.html
200
%%PORTDOCS%%%%DOCSDIR%%/configurations/_index.html
88
%%PORTDOCS%%%%DOCSDIR%%/configurations/aces_1.0.3.html
201
%%PORTDOCS%%%%DOCSDIR%%/configurations/aces_1.0.3.html
89
%%PORTDOCS%%%%DOCSDIR%%/configurations/allocation_vars.html
90
%%PORTDOCS%%%%DOCSDIR%%/configurations/index.html
91
%%PORTDOCS%%%%DOCSDIR%%/configurations/nuke_default.html
202
%%PORTDOCS%%%%DOCSDIR%%/configurations/nuke_default.html
92
%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_anim.html
203
%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_anim.html
93
%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_vfx.html
204
%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_vfx.html
94
%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorIO.html
205
%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorIO.html
95
%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTransforms.html
206
%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTransforms.html
96
%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTypes.html
207
%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTypes.html
97
%%PORTDOCS%%%%DOCSDIR%%/developers/api/index.html
98
%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonAPI.html
99
%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonTransforms.html
100
%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonTypes.html
101
%%PORTDOCS%%%%DOCSDIR%%/developers/coding_guidelines.html
102
%%PORTDOCS%%%%DOCSDIR%%/developers/documentation_guidelines.html
103
%%PORTDOCS%%%%DOCSDIR%%/developers/getting_started.html
104
%%PORTDOCS%%%%DOCSDIR%%/developers/index.html
105
%%PORTDOCS%%%%DOCSDIR%%/developers/internal_architecture.html
106
%%PORTDOCS%%%%DOCSDIR%%/developers/issues.html
107
%%PORTDOCS%%%%DOCSDIR%%/developers/submitting_changes.html
108
%%PORTDOCS%%%%DOCSDIR%%/developers/usage_examples.html
109
%%PORTDOCS%%%%DOCSDIR%%/downloads.html
110
%%PORTDOCS%%%%DOCSDIR%%/genindex.html
208
%%PORTDOCS%%%%DOCSDIR%%/genindex.html
209
%%PORTDOCS%%%%DOCSDIR%%/guides/_index.html
210
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/allocation_vars.html
211
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/authoring.html
212
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/colorspaces.html
213
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/config_syntax.html
214
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/contexts.html
215
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/displays_views.html
216
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/looks.html
217
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/looks_example.html
218
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/overview.html
219
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/rules.html
220
%%PORTDOCS%%%%DOCSDIR%%/guides/authoring/transforms.html
221
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/architectural_notes.html
222
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/coding_style_guide.html
223
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/contributing.html
224
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/documentation_guidelines.html
225
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/doxygen_style_guide.html
226
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/getting_started.html
227
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/issues.html
228
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/repository_structure.html
229
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/submitting_changes.html
230
%%PORTDOCS%%%%DOCSDIR%%/guides/contributing/unit_tests.html
231
%%PORTDOCS%%%%DOCSDIR%%/guides/developing/app_helpers.html
232
%%PORTDOCS%%%%DOCSDIR%%/guides/developing/developing.html
233
%%PORTDOCS%%%%DOCSDIR%%/guides/developing/usage_examples.html
234
%%PORTDOCS%%%%DOCSDIR%%/guides/using_ocio/compatible_software.html
235
%%PORTDOCS%%%%DOCSDIR%%/guides/using_ocio/faq.html
236
%%PORTDOCS%%%%DOCSDIR%%/guides/using_ocio/tool_overview.html
237
%%PORTDOCS%%%%DOCSDIR%%/guides/using_ocio/using_ocio.html
111
%%PORTDOCS%%%%DOCSDIR%%/index.html
238
%%PORTDOCS%%%%DOCSDIR%%/index.html
112
%%PORTDOCS%%%%DOCSDIR%%/installation.html
113
%%PORTDOCS%%%%DOCSDIR%%/introduction.html
114
%%PORTDOCS%%%%DOCSDIR%%/objects.inv
239
%%PORTDOCS%%%%DOCSDIR%%/objects.inv
115
%%PORTDOCS%%%%DOCSDIR%%/py-modindex.html
240
%%PORTDOCS%%%%DOCSDIR%%/quick_start/_index.html
241
%%PORTDOCS%%%%DOCSDIR%%/quick_start/downloads.html
242
%%PORTDOCS%%%%DOCSDIR%%/quick_start/for_artists.html
243
%%PORTDOCS%%%%DOCSDIR%%/quick_start/for_config_authors.html
244
%%PORTDOCS%%%%DOCSDIR%%/quick_start/for_contributors.html
245
%%PORTDOCS%%%%DOCSDIR%%/quick_start/for_devs.html
246
%%PORTDOCS%%%%DOCSDIR%%/quick_start/installation.html
247
%%PORTDOCS%%%%DOCSDIR%%/requirements.html
116
%%PORTDOCS%%%%DOCSDIR%%/search.html
248
%%PORTDOCS%%%%DOCSDIR%%/search.html
117
%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
249
%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
118
%%PORTDOCS%%%%DOCSDIR%%/userguide/baking_luts.html
250
%%PORTDOCS%%%%DOCSDIR%%/site/README.html
119
%%PORTDOCS%%%%DOCSDIR%%/userguide/config_syntax.html
251
%%PORTDOCS%%%%DOCSDIR%%/site/README_theme.html
120
%%PORTDOCS%%%%DOCSDIR%%/userguide/contexts.html
252
%%PORTDOCS%%%%DOCSDIR%%/site/archetypes/default.html
121
%%PORTDOCS%%%%DOCSDIR%%/userguide/index.html
253
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/author/john-doe.html
122
%%PORTDOCS%%%%DOCSDIR%%/userguide/looks.html
254
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/author/mark-dinn.html
123
%%PORTDOCS%%%%DOCSDIR%%/userguide/tool_overview.html
255
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/installation.html
124
share/ocio/setup_ocio.sh
256
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/simple-blog-post-1.html
257
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/simple-blog-post-2.html
258
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/simple-blog-post-3.html
259
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/simple-blog-post-4.html
260
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/simple-blog-post-5.html
261
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/simple-blog-post-6.html
262
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/simple-blog-post-7.html
263
%%PORTDOCS%%%%DOCSDIR%%/site/homepage/content/english/blog/simple-blog-post-8.html
264
%%PORTDOCS%%%%DOCSDIR%%/toc_redirect.html
265
%%PORTDOCS%%%%DOCSDIR%%/tutorials/_index.html
266
%%PORTDOCS%%%%DOCSDIR%%/tutorials/baking_luts.html
267
%%PORTDOCS%%%%DOCSDIR%%/tutorials/contributing.html
268
%%PORTDOCS%%%%DOCSDIR%%/upgrading_v2/_index.html
269
%%PORTDOCS%%%%DOCSDIR%%/upgrading_v2/how_to.html
(-)graphics/opencolorio/pkg-plist-tools (+4 lines)
Lines 1-5 Link Here
1
bin/ociobakelut
1
bin/ociobakelut
2
bin/ociocheck
2
bin/ociocheck
3
bin/ociochecklut
3
bin/ocioconvert
4
bin/ocioconvert
4
bin/ociodisplay
5
bin/ociodisplay
5
bin/ociolutimage
6
bin/ociolutimage
7
bin/ociomakeclf
8
bin/ocioperf
9
bin/ociowrite
(-)graphics/rawtherapee/Makefile (-4 lines)
Lines 152-161 _OPT_FLAGS+= -mstackrealign Link Here
152
152
153
.include <bsd.port.pre.mk>
153
.include <bsd.port.pre.mk>
154
154
155
post-patch:
156
	@${REINPLACE_CMD} -e 's#DESTINATION "$${CMAKE_INSTALL_PREFIX}/share/man/man1"#DESTINATION "${MANPREFIX}/man/man1/"#' \
157
		${WRKSRC}/CMakeLists.txt
158
159
TESTIMAGES=	${FILESDIR}/../testimages
155
TESTIMAGES=	${FILESDIR}/../testimages
160
156
161
# paranoia: run rawtherapee to be sure it finds all its
157
# paranoia: run rawtherapee to be sure it finds all its
(-)graphics/scale2x/Makefile (-6 lines)
Lines 28-39 OPTIONS_DEFINE_i386= MMX Link Here
28
28
29
MMX_CPPFLAGS=		-DHAVE_MMX
29
MMX_CPPFLAGS=		-DHAVE_MMX
30
30
31
post-patch:
32
	@${REINPLACE_CMD} -e \
33
		'/<malloc.h>/d ; \
34
		 s|__i386__|HAVE_MMX| ; \
35
		 s|__x86_64__|__amd64__|' ${WRKSRC}/*.[ch]
36
37
post-install:
31
post-install:
38
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
32
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
39
	(cd ${WRKSRC}/example && ${INSTALL_DATA} *.png \
33
	(cd ${WRKSRC}/example && ${INSTALL_DATA} *.png \
(-)graphics/separate/Makefile (-5 lines)
Lines 39-49 MAKE_ENV= TARGETS="${BIN_TARGETS}" \ Link Here
39
39
40
OPTIONS_DEFINE=	DOCS EXAMPLES
40
OPTIONS_DEFINE=	DOCS EXAMPLES
41
41
42
post-patch:
43
	@${REINPLACE_CMD} \
44
		'/^CC/s|=|?=|; s| make| ${MAKE_CMD}|; /^LIBS/s/$$/ -lm/;' \
45
		${WRKSRC}/Makefile ${WRKSRC}/po/Makefile
46
47
do-install:
42
do-install:
48
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/plug-ins
43
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gimp/2.2/plug-ins
49
.for plugin in ${BIN_TARGETS}
44
.for plugin in ${BIN_TARGETS}
(-)graphics/stamp/Makefile (-4 lines)
Lines 15-22 GNU_CONFIGURE= yes Link Here
15
CPPFLAGS+=	-I${LOCALBASE}/include
15
CPPFLAGS+=	-I${LOCALBASE}/include
16
LIBS+=		-L${LOCALBASE}/lib
16
LIBS+=		-L${LOCALBASE}/lib
17
17
18
post-patch:
19
	@${REINPLACE_CMD} -e 's#/usr/local/share/stamp#${DATADIR}#' \
20
		${WRKSRC}/configure
21
22
.include <bsd.port.mk>
18
.include <bsd.port.mk>
(-)graphics/stamp/files/patch-Makefile.in (-3 / +3 lines)
Lines 1-6 Link Here
1
--- Makefile.in.orig	2011-03-12 21:24:42.000000000 +0100
1
--- Makefile.in.orig	1999-03-10 10:54:42 UTC
2
+++ Makefile.in	2011-03-12 21:25:00.000000000 +0100
2
+++ Makefile.in
3
@@ -329,12 +329,12 @@ maintainer-clean-generic clean mostlycle
3
@@ -329,12 +329,12 @@ maintainer-clean-generic clean mostlyclean distclean m
4
 .PHONY: files
4
 .PHONY: files
5
 
5
 
6
 files:
6
 files:
(-)graphics/stamp/files/patch-gstamp_gstamp.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- gstamp/gstamp.c.orig	2011-03-12 21:29:21.000000000 +0100
1
--- gstamp/gstamp.c.orig	1999-03-10 06:27:04 UTC
2
+++ gstamp/gstamp.c	2011-03-12 21:29:42.000000000 +0100
2
+++ gstamp/gstamp.c
3
@@ -7,6 +7,7 @@
3
@@ -7,6 +7,7 @@
4
 
4
 
5
 #include <gtk/gtk.h>
5
 #include <gtk/gtk.h>
(-)graphics/stamp/files/patch-gstamp_gstamp_misc.c (-10 lines)
Removed Link Here
1
--- gstamp/gstamp_misc.c.orig	2011-03-12 21:33:49.000000000 +0100
2
+++ gstamp/gstamp_misc.c	2011-03-12 21:34:16.000000000 +0100
3
@@ -2,6 +2,7 @@
4
    Eric Werner - 19 FEB 1999 
5
    ebw@city-net.com
6
 */
7
+#include <sys/shm.h>
8
 #include <stdlib.h>
9
 #include <string.h>
10
 #include <unistd.h>
(-)graphics/stamp/files/patch-gstamp_gstamp_signals.c (-10 lines)
Removed Link Here
1
--- gstamp/gstamp_signals.c.orig	2011-03-12 21:31:32.000000000 +0100
2
+++ gstamp/gstamp_signals.c	2011-03-12 21:31:44.000000000 +0100
3
@@ -3,6 +3,7 @@
4
    ebw@city-net.com
5
 */
6
 #include <gtk/gtk.h>
7
+#include <stdlib.h>
8
 #include <string.h>
9
 #include "gstamp.h"
10
 #include "../lib/rcfile.h"
(-)graphics/stamp/files/patch-gstamp_gstamp_ui.c (-7 lines)
Removed Link Here
1
--- gstamp/gstamp_ui.c.orig	2011-03-12 21:31:56.000000000 +0100
2
+++ gstamp/gstamp_ui.c	2011-03-12 21:32:20.000000000 +0100
3
@@ -1,3 +1,4 @@
4
+#include <string.h>
5
 #include <gtk/gtk.h>
6
 #include "gstamp.h"
7
 
(-)graphics/stamp/files/patch-lib_common.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- lib/common.c.orig	2011-03-12 21:28:20.000000000 +0100
1
--- lib/common.c.orig	1999-03-11 08:29:53 UTC
2
+++ lib/common.c	2011-03-12 21:28:30.000000000 +0100
2
+++ lib/common.c
3
@@ -1,5 +1,6 @@
3
@@ -1,5 +1,6 @@
4
 #include <stdio.h>
4
 #include <stdio.h>
5
 #include <stdlib.h>
5
 #include <stdlib.h>
(-)graphics/stamp/files/patch-lib_rcfile.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- lib/rcfile.c.orig	Fri Dec 24 15:02:25 1999
1
--- lib/rcfile.c.orig	1999-03-11 08:30:32 UTC
2
+++ lib/rcfile.c	Fri Dec 24 15:06:09 1999
2
+++ lib/rcfile.c
3
@@ -101,8 +101,8 @@
3
@@ -101,8 +101,8 @@ if ((!(strcmp(Args->LowerFont,""))) &&
4
     exit(ERR_NOLFONT) ;
4
     exit(ERR_NOLFONT) ;
5
   }
5
   }
6
 
6
 
(-)graphics/stamp/files/patch-lib_transmogrify.c (-2 / +2 lines)
Lines 1-5 Link Here
1
--- lib/transmogrify.c.orig	2011-03-12 21:28:42.000000000 +0100
1
--- lib/transmogrify.c.orig	1999-03-10 11:40:33 UTC
2
+++ lib/transmogrify.c	2011-03-12 21:28:55.000000000 +0100
2
+++ lib/transmogrify.c
3
@@ -1,5 +1,6 @@
3
@@ -1,5 +1,6 @@
4
 #include <stdio.h>
4
 #include <stdio.h>
5
 #include <stdlib.h>
5
 #include <stdlib.h>
(-)graphics/synaesthesia/Makefile (-4 lines)
Lines 23-32 PLIST_FILES= bin/${PORTNAME} Link Here
23
23
24
OPTIONS_DEFINE=	DOCS
24
OPTIONS_DEFINE=	DOCS
25
25
26
post-patch:
27
	@${REINPLACE_CMD} -e 's,stdint\.h,inttypes.h,' ${WRKSRC}/*.c?
28
	@${REINPLACE_CMD} -e 's,int16_t,u_int16_t,' ${WRKSRC}/sound.cc
29
30
do-install:
26
do-install:
31
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
27
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
32
28
(-)graphics/tiff/Makefile (-1 / +19 lines)
Lines 101-107 __pmlinks3!= ${ECHO_CMD} '${MLNKS:S/ / /}' | ${AWK} \ Link Here
101
.endif
101
.endif
102
102
103
post-patch:
103
post-patch:
104
	@${REINPLACE_CMD} "/\.po 0/d" ${WRKSRC}/man/*
104
	@${REINPLACE_CMD} "/\.po 0/d" \
105
		${WRKSRC}/man/fax2ps.1 \
106
		${WRKSRC}/man/fax2tiff.1 \
107
		${WRKSRC}/man/pal2rgb.1 \
108
		${WRKSRC}/man/ppm2tiff.1 \
109
		${WRKSRC}/man/raw2tiff.1 \
110
		${WRKSRC}/man/tiff2bw.1 \
111
		${WRKSRC}/man/tiff2ps.1 \
112
		${WRKSRC}/man/tiff2rgba.1 \
113
		${WRKSRC}/man/tiffcmp.1 \
114
		${WRKSRC}/man/tiffcp.1 \
115
		${WRKSRC}/man/tiffcrop.1 \
116
		${WRKSRC}/man/tiffdither.1 \
117
		${WRKSRC}/man/tiffdump.1 \
118
		${WRKSRC}/man/tiffgt.1 \
119
		${WRKSRC}/man/tiffinfo.1 \
120
		${WRKSRC}/man/tiffmedian.1 \
121
		${WRKSRC}/man/tiffset.1 \
122
		${WRKSRC}/man/tiffsplit.1
105
123
106
pre-configure:
124
pre-configure:
107
	${REINPLACE_CMD} \
125
	${REINPLACE_CMD} \
(-)graphics/xviewer/Makefile (-8 / +5 lines)
Lines 26-38 USE_GITHUB= yes Link Here
26
GH_ACCOUNT=	linuxmint
26
GH_ACCOUNT=	linuxmint
27
USE_GNOME=	atk cairo gdkpixbuf2 gtk30 introspection pango
27
USE_GNOME=	atk cairo gdkpixbuf2 gtk30 introspection pango
28
USE_XORG=	x11
28
USE_XORG=	x11
29
GLIB_SCHEMAS=	org.x.viewer.enums.xml org.x.viewer.gschema.xml
29
GLIB_SCHEMAS=	org.x.viewer.enums.xml \
30
		org.x.viewer.gschema.xml
30
INSTALLS_ICONS=	yes
31
INSTALLS_ICONS=	yes
31
32
32
OPTIONS_DEFINE=	JPEG LCMS2 LIBEXIF LIBRSVG2 XMP
33
OPTIONS_DEFINE=		JPEG LCMS2 LIBEXIF LIBRSVG2 XMP
33
OPTIONS_DEFAULT=	JPEG LCMS2 LIBEXIF LIBRSVG2 XMP
34
OPTIONS_DEFAULT=	JPEG LCMS2 LIBEXIF LIBRSVG2 XMP
34
XMP_DESC=	Adobe Extensible Metadata Platform support
35
XMP_DESC=		Adobe Extensible Metadata Platform support
35
OPTIONS_SUB=	yes
36
OPTIONS_SUB=		yes
36
37
37
JPEG_USES=		jpeg
38
JPEG_USES=		jpeg
38
JPEG_CONFIGURE_OFF=	--without-libjpeg
39
JPEG_CONFIGURE_OFF=	--without-libjpeg
Lines 49-56 LIBRSVG2_CONFIGURE_OFF= --without-librsvg Link Here
49
XMP_LIB_DEPENDS=	libexempi.so:textproc/exempi
50
XMP_LIB_DEPENDS=	libexempi.so:textproc/exempi
50
XMP_CONFIGURE_OFF=	--without-xmp
51
XMP_CONFIGURE_OFF=	--without-xmp
51
52
52
post-patch:
53
	@${REINPLACE_CMD} -e '/CINNAMON_DESKTOP_REQUIRED/s,3\.2\.0,2.4.2,' \
54
		${WRKSRC}/configure.ac
55
56
.include <bsd.port.mk>
53
.include <bsd.port.mk>
(-)graphics/zphoto/Makefile (-3 lines)
Lines 30-36 ZIP_CONFIGURE_OFF= --disable-zip Link Here
30
NLS_USES=		gettext
30
NLS_USES=		gettext
31
NLS_CONFIGURE_ENABLE=	nls
31
NLS_CONFIGURE_ENABLE=	nls
32
32
33
post-patch:
34
	@${REINPLACE_CMD} -e 's|<ming.h>|<ming/ming.h>|g' ${WRKSRC}/*.c ${WRKSRC}/configure
35
36
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)graphics/zphoto/files/patch-Makefile.in (-15 lines)
Removed Link Here
1
--- templates/default/all/Makefile.in.org	2014-06-21 19:51:31.487457236 +0900
2
+++ templates/default/all/Makefile.in	2014-06-21 19:51:46.935435015 +0900
3
@@ -369,9 +369,9 @@
4
 	| sh
5
 
6
 install-data-local:
7
-	mkdir -p $(templatesdir)
8
-	cp -p *.html.* $(templatesdir)
9
-	cp -p *.js.* $(templatesdir)
10
+	mkdir -p $(DESTDIR)$(templatesdir)
11
+	cp -p *.html.* $(DESTDIR)$(templatesdir)
12
+	cp -p *.js.* $(DESTDIR)$(templatesdir)
13
 
14
 clean:
15
 	rm -f zphoto.css .photo.html *.html.* *.js.* *.txt
(-)graphics/zphoto/files/patch-configure (-3 / +28 lines)
Lines 1-6 Link Here
1
--- configure.orig	Wed May  5 16:27:51 2004
1
--- configure.orig	2004-07-20 16:49:27 UTC
2
+++ configure	Wed May  5 16:44:18 2004
2
+++ configure
3
@@ -4131,7 +4131,7 @@
3
@@ -4277,7 +4277,7 @@ cat confdefs.h >>conftest.$ac_ext
4
 cat >>conftest.$ac_ext <<_ACEOF
5
 /* end confdefs.h.  */
6
 $ac_includes_default
7
-#include <ming.h>
8
+#include <ming/ming.h>
9
 _ACEOF
10
 rm -f conftest.$ac_objext
11
 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12
@@ -4321,7 +4321,7 @@ _ACEOF
13
 cat confdefs.h >>conftest.$ac_ext
14
 cat >>conftest.$ac_ext <<_ACEOF
15
 /* end confdefs.h.  */
16
-#include <ming.h>
17
+#include <ming/ming.h>
18
 _ACEOF
19
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21
@@ -4488,13 +4488,13 @@ fi
22
 echo "$as_me:$LINENO: checking whether ming 0.2a (old API) is used" >&5
23
 echo $ECHO_N "checking whether ming 0.2a (old API) is used... $ECHO_C" >&6
24
 cat > tmp.c <<'EOF'
25
-#include <ming.h>
26
+#include <ming/ming.h>
27
 int main () {
28
     SWFMovie movie;
4
     SWFMovie_save(movie, "foo"); /* 0.2a API */
29
     SWFMovie_save(movie, "foo"); /* 0.2a API */
5
 }
30
 }
6
 EOF
31
 EOF
(-)graphics/zphoto/files/patch-exif.c (-11 / +11 lines)
Lines 1-6 Link Here
1
--- exif.c.orig	2004-06-07 18:58:04.000000000 +0900
1
--- exif.c.orig	2004-06-07 09:58:04 UTC
2
+++ exif.c	2010-12-03 21:25:38.562390923 +0900
2
+++ exif.c
3
@@ -33,11 +33,11 @@
3
@@ -33,11 +33,11 @@ enum {
4
     HEADER_OFFSET2 = 8
4
     HEADER_OFFSET2 = 8
5
 };
5
 };
6
 
6
 
Lines 17-23 Link Here
17
 
17
 
18
 #define SWAP_ENDIAN_SHORT(val) ((unsigned short) ( \
18
 #define SWAP_ENDIAN_SHORT(val) ((unsigned short) ( \
19
     (((unsigned short) (val) & (unsigned short) 0x00ff) << 8) | \
19
     (((unsigned short) (val) & (unsigned short) 0x00ff) << 8) | \
20
@@ -46,14 +46,14 @@
20
@@ -46,14 +46,14 @@ enum {
21
 static int 
21
 static int 
22
 is_little_endian ()
22
 is_little_endian ()
23
 {
23
 {
Lines 35-41 Link Here
35
 	if (memcmp(p, x, 4) == 0) {
35
 	if (memcmp(p, x, 4) == 0) {
36
 	    retval = 1;
36
 	    retval = 1;
37
 	} else {
37
 	} else {
38
@@ -63,8 +63,8 @@
38
@@ -63,8 +63,8 @@ is_little_endian ()
39
     return retval;
39
     return retval;
40
 }
40
 }
41
 
41
 
Lines 46-52 Link Here
46
 {
46
 {
47
     if (is_little_endian()) {
47
     if (is_little_endian()) {
48
 	return x;
48
 	return x;
49
@@ -83,8 +83,8 @@
49
@@ -83,8 +83,8 @@ ushort_from_be (unsigned short x)
50
     }
50
     }
51
 }
51
 }
52
 
52
 
Lines 57-63 Link Here
57
 {
57
 {
58
     if (is_little_endian()) {
58
     if (is_little_endian()) {
59
 	return SWAP_ENDIAN_LONG(x);
59
 	return SWAP_ENDIAN_LONG(x);
60
@@ -115,7 +115,7 @@
60
@@ -115,7 +115,7 @@ efread (void *ptr, size_t size, size_t nmemb, FILE *st
61
 
61
 
62
 
62
 
63
 static int
63
 static int
Lines 66-72 Link Here
66
 {
66
 {
67
     int x = fseek(stream, offset, whence);
67
     int x = fseek(stream, offset, whence);
68
     if (x != 0)
68
     if (x != 0)
69
@@ -142,16 +142,16 @@
69
@@ -142,16 +142,16 @@ zphoto_exif_file_p (const char *file_name)
70
 typedef void	(*TraverseFunc)	 (FILE *fp,
70
 typedef void	(*TraverseFunc)	 (FILE *fp,
71
                                   unsigned short tag, 
71
                                   unsigned short tag, 
72
                                   unsigned short type, 
72
                                   unsigned short type, 
Lines 87-93 Link Here
87
                     void *data)
87
                     void *data)
88
 {
88
 {
89
     if (tag == 0x8769) {
89
     if (tag == 0x8769) {
90
@@ -163,12 +163,12 @@
90
@@ -163,12 +163,12 @@ static void
91
 get_time (FILE *fp, 
91
 get_time (FILE *fp, 
92
           unsigned short tag,
92
           unsigned short tag,
93
           unsigned short type,
93
           unsigned short type,
Lines 103-109 Link Here
103
         char buf[BUFSIZ];
103
         char buf[BUFSIZ];
104
         struct tm t;
104
         struct tm t;
105
 
105
 
106
@@ -204,16 +204,16 @@
106
@@ -204,16 +204,16 @@ read_ushort (FILE *fp, int le_exif_p)
107
         return ushort_from_be(x);
107
         return ushort_from_be(x);
108
 }
108
 }
109
 
109
 
Lines 126-132 Link Here
126
 }
126
 }
127
 
127
 
128
 static int
128
 static int
129
@@ -225,12 +225,12 @@
129
@@ -225,12 +225,12 @@ read_directory (FILE *fp, TraverseFunc func, void *dat
130
     n = read_ushort(fp, le_exif_p);
130
     n = read_ushort(fp, le_exif_p);
131
     for (i = 0; i < n; i++) {
131
     for (i = 0; i < n; i++) {
132
         unsigned short tag, type;
132
         unsigned short tag, type;
(-)graphics/zphoto/files/patch-image.cpp (-1 / +1 lines)
Lines 1-6 Link Here
1
--- image.cpp.orig	2004-07-20 16:48:11 UTC
1
--- image.cpp.orig	2004-07-20 16:48:11 UTC
2
+++ image.cpp
2
+++ image.cpp
3
@@ -554,8 +554,8 @@ restore_mtime (const char *file_name, ti
3
@@ -554,8 +554,8 @@ restore_mtime (const char *file_name, time_t mtime)
4
 static int
4
 static int
5
 convert_needed_p (const char *src, const char *dest)
5
 convert_needed_p (const char *src, const char *dest)
6
 {
6
 {
(-)graphics/zphoto/files/patch-util.c (-3 / +3 lines)
Lines 1-6 Link Here
1
--- util.c.orig	2010-12-04 00:36:16.000000000 +0900
1
--- util.c.orig	2004-07-20 16:48:11 UTC
2
+++ util.c	2010-12-04 00:36:52.000000000 +0900
2
+++ util.c
3
@@ -389,7 +389,7 @@
3
@@ -389,7 +389,7 @@ char **
4
 zphoto_get_image_suffixes (void)
4
 zphoto_get_image_suffixes (void)
5
 {
5
 {
6
     static char *empty[] = { NULL };
6
     static char *empty[] = { NULL };
(-)irc/insub/Makefile (-1 / +1 lines)
Lines 30-36 OPTIONS_SUB= yes Link Here
30
COWS_DESC=	Install a collection of cowsay(1) cows
30
COWS_DESC=	Install a collection of cowsay(1) cows
31
31
32
post-patch:
32
post-patch:
33
	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
33
	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
34
		${WRKSRC}/${PORTNAME}.py ${WRKSRC}/irssi/${PORTNAME}.pl
34
		${WRKSRC}/${PORTNAME}.py ${WRKSRC}/irssi/${PORTNAME}.pl
35
35
36
do-install:
36
do-install:
(-)irc/unreal/Makefile (-12 lines)
Lines 98-118 post-extract: Link Here
98
.endif
98
.endif
99
99
100
post-patch:
100
post-patch:
101
	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
102
		-e "s,%%RUNDIR%%,${RUNDIR}," \
103
		-e "s,%%USERS%%,${USERS}," \
104
		-e "s,%%GROUPS%%,${GROUPS}," \
105
		-e "s,%%LOGDIR%%,${LOGDIR}," ${WRKSRC}/include/config.h
106
	@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
107
		-e "s,%%LOGDIR%%,${LOGDIR}," ${WRKSRC}/doc/example.conf
108
	@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/ircd.c
109
	@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/modules.c
110
	@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/s_conf.c
111
	@${REINPLACE_CMD} -e "s,%%RUNDIR%%,${RUNDIR}," ${WRKSRC}/src/url.c
112
.if defined(WITH_SQLMOD)
101
.if defined(WITH_SQLMOD)
113
	@${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch
102
	@${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch
114
.endif
103
.endif
115
	@${REINPLACE_CMD} -e "/Your system does not support IPv6/ s|as_fn_error|echo|" ${WRKSRC}/configure
116
104
117
do-install:
105
do-install:
118
	${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/ircd
106
	${INSTALL_PROGRAM} ${WRKSRC}/src/ircd ${STAGEDIR}${PREFIX}/libexec/ircd
(-)japanese/edict/Makefile (-30 / +18 lines)
Lines 5-12 PORTNAME= edict Link Here
5
PORTVERSION=	19990714
5
PORTVERSION=	19990714
6
PORTREVISION=	5
6
PORTREVISION=	5
7
CATEGORIES=	japanese
7
CATEGORIES=	japanese
8
MASTER_SITES=	\
8
MASTER_SITES=	http://japanology.arts.kuleuven.ac.be/mirrors/monash/ \
9
		http://japanology.arts.kuleuven.ac.be/mirrors/monash/ \
10
		http://www.bcit-broadcast.com/monash/ \
9
		http://www.bcit-broadcast.com/monash/ \
11
		ftp://ftp.mirrorservice.org/sites/ftp.cc.monash.edu.au/pub/nihongo/ \
10
		ftp://ftp.mirrorservice.org/sites/ftp.cc.monash.edu.au/pub/nihongo/ \
12
		ftp://ftp.edrdg.org/pub/Nihongo/ \
11
		ftp://ftp.edrdg.org/pub/Nihongo/ \
Lines 14-43 MASTER_SITES= \ Link Here
14
		ftp://ftp.funet.fi/pub/culture/japan/mirrors/monash/pub/nihongo/ \
13
		ftp://ftp.funet.fi/pub/culture/japan/mirrors/monash/pub/nihongo/ \
15
		ftp://ftp.uni-duisburg.de/Mirrors/ftp.monash.edu.au/pub/nihongo/ \
14
		ftp://ftp.uni-duisburg.de/Mirrors/ftp.monash.edu.au/pub/nihongo/ \
16
		ftp://ftp.monash.edu.au/pub/nihongo/
15
		ftp://ftp.monash.edu.au/pub/nihongo/
17
EXTRACT_SUFX=	# empty
16
DISTFILES=	${DICTFILES} \
18
DISTFILES=	${DICTFILES} ${SRCFILES} ${DOCFILES}
17
		${SRCFILES} \
18
		${DOCFILES}
19
DIST_SUBDIR=	edict
19
EXTRACT_ONLY=	${SRCFILES}
20
EXTRACT_ONLY=	${SRCFILES}
20
21
21
MAINTAINER=	ports@FreeBSD.org
22
MAINTAINER=	ports@FreeBSD.org
22
COMMENT=	Japanese-English dictionaries with access and maintenance utilities
23
COMMENT=	Japanese-English dictionaries with access and maintenance utilities
23
24
24
DIST_SUBDIR=	edict
25
LICENSE=	GPLv1
26
LICENSE_FILE=	${WRKSRC}/gnu_license
25
27
26
DICTFILES=	edict.gz edicth enamdict.gz compdic.gz \
28
DICTFILES=	4jword3_edict.zip aviation.zip compdic.gz concrete.zip \
27
		j_places.gz ediclsd3.zip \
29
		ediclsd3.zip edict.gz edicth enamdict.gz findic.zip geodic.gz \
28
		kanjidic.gz kanjd212.gz lawgledt.zip \
30
		j_places.gz kanjd212.gz kanjidic.gz lawgledt.zip lingdic.zip \
29
		lingdic.zip geodic.gz pandpdic.zip \
31
		mktdic.zip pandpdic.zip
30
		aviation.zip findic.zip mktdic.zip \
31
		4jword3_edict.zip concrete.zip
32
32
33
SRCFILES=	xjdic23.tgz
33
SRCFILES=	xjdic23.tgz
34
34
35
DOCFILES=	edict_doc.html edicth.doc \
35
DOCFILES=	4jword3_inf.txt aviation.txt concrete.doc ediclsd3.rme \
36
		enamdict_doc.txt enamdict_doc.html \
36
		edict_doc.html edicth.doc enamdict_doc.html enamdict_doc.txt \
37
		j_places.inf kanjidic.doc kanjd212.doc ediclsd3.rme \
37
		findic.doc geodic.doc j_places.inf kanjd212.doc kanjidic.doc \
38
		lawgldoc.new lingdic.txt geodic.doc aviation.txt \
38
		lawgldoc.new lingdic.txt mktdic.doc
39
		findic.doc mktdic.doc 4jword3_inf.txt \
40
		concrete.doc
41
39
42
BINFILES=	exjdxgen xjdic_cl xjdic_sa xjdserver xjdxgen
40
BINFILES=	exjdxgen xjdic_cl xjdic_sa xjdserver xjdxgen
43
41
Lines 52-61 CFLAGS+= -fcommon Link Here
52
50
53
OPTIONS_DEFINE=	DOCS
51
OPTIONS_DEFINE=	DOCS
54
52
55
post-patch:
56
	@${GREP} -l '^main' ${WRKSRC}/*.c | ${XARGS} ${REINPLACE_CMD} \
57
		-e '/argv/s/unsigned//'
58
59
do-install:
53
do-install:
60
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${BINFILES} ${STAGEDIR}${PREFIX}/bin)
54
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${BINFILES} ${STAGEDIR}${PREFIX}/bin)
61
	@${MKDIR} ${STAGEDIR}${DATADIR}
55
	@${MKDIR} ${STAGEDIR}${DATADIR}
Lines 77-100 do-install: Link Here
77
	${LN} -s ${PREFIX}/bin/xjdic_sa ${STAGEDIR}${PREFIX}/bin/xjdic
71
	${LN} -s ${PREFIX}/bin/xjdic_sa ${STAGEDIR}${PREFIX}/bin/xjdic
78
	(cd ${WRKSRC} && ${INSTALL_DATA} radicals.tm radkfile kanjstroke \
72
	(cd ${WRKSRC} && ${INSTALL_DATA} radicals.tm radkfile kanjstroke \
79
		romkana.cnv vconj ${STAGEDIR}${DATADIR})
73
		romkana.cnv vconj ${STAGEDIR}${DATADIR})
80
	#
74
#
81
	# Only 9 dictionaries can be enabled
75
# Only 9 dictionaries can be enabled
82
	#
76
#
83
	@${ECHO_CMD} dicdir ${DATADIR} > ${STAGEDIR}${DATADIR}/.xjdicrc
77
	@${ECHO_CMD} dicdir ${DATADIR} > ${STAGEDIR}${DATADIR}/.xjdicrc
84
	@${ECHO_CMD} dicfile edict >> ${STAGEDIR}${DATADIR}/.xjdicrc
78
	@${ECHO_CMD} dicfile edict >> ${STAGEDIR}${DATADIR}/.xjdicrc
85
	@${ECHO_CMD} dicfile enamdict >> ${STAGEDIR}${DATADIR}/.xjdicrc
79
	@${ECHO_CMD} dicfile enamdict >> ${STAGEDIR}${DATADIR}/.xjdicrc
86
	@${ECHO_CMD} dicfile compdic >> ${STAGEDIR}${DATADIR}/.xjdicrc
80
	@${ECHO_CMD} dicfile compdic >> ${STAGEDIR}${DATADIR}/.xjdicrc
87
	@${ECHO_CMD} dicfile ediclsd3 >> ${STAGEDIR}${DATADIR}/.xjdicrc
81
	@${ECHO_CMD} dicfile ediclsd3 >> ${STAGEDIR}${DATADIR}/.xjdicrc
88
	@${ECHO_CMD} dicfile j_places >> ${STAGEDIR}${DATADIR}/.xjdicrc
82
	@${ECHO_CMD} dicfile j_places >> ${STAGEDIR}${DATADIR}/.xjdicrc
89
	# @${ECHO_CMD} dicfile lawgledt >> ${DATADIR}/.xjdicrc
90
	@${ECHO_CMD} dicfile geodic >> ${STAGEDIR}${DATADIR}/.xjdicrc
83
	@${ECHO_CMD} dicfile geodic >> ${STAGEDIR}${DATADIR}/.xjdicrc
91
	# @${ECHO_CMD} dicfile pandpdic >> ${DATADIR}/.xjdicrc
92
	@${ECHO_CMD} dicfile aviation >> ${STAGEDIR}${DATADIR}/.xjdicrc
84
	@${ECHO_CMD} dicfile aviation >> ${STAGEDIR}${DATADIR}/.xjdicrc
93
	# @${ECHO_CMD} dicfile findic >> ${DATADIR}/.xjdicrc
94
	# @${ECHO_CMD} dicfile mktdic >> ${DATADIR}/.xjdicrc
95
	@${ECHO_CMD} dicfile 4jword3_edict.euc >> ${STAGEDIR}${DATADIR}/.xjdicrc
85
	@${ECHO_CMD} dicfile 4jword3_edict.euc >> ${STAGEDIR}${DATADIR}/.xjdicrc
96
	# @${ECHO_CMD} dicfile concrete.doc >> ${DATADIR}/.xjdicrc
97
	# @${ECHO_CMD} dicfile lingdic >> ${DATADIR}/.xjdicrc
98
	@${CHMOD} ${SHAREMODE} ${STAGEDIR}${DATADIR}/.xjdicrc
86
	@${CHMOD} ${SHAREMODE} ${STAGEDIR}${DATADIR}/.xjdicrc
99
	${INSTALL_MAN} ${WRKSRC}/xjdic.1 ${STAGEDIR}${PREFIX}/man/man1
87
	${INSTALL_MAN} ${WRKSRC}/xjdic.1 ${STAGEDIR}${PREFIX}/man/man1
100
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
88
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)japanese/edict/files/patch-exjdxgen.c (+9 lines)
Lines 9-14 Link Here
9
 #include <ctype.h>
9
 #include <ctype.h>
10
 #include <string.h>
10
 #include <string.h>
11
 #include "xjdic.h"
11
 #include "xjdic.h"
12
@@ -68,7 +68,7 @@ int stringcomp(unsigned char *s1, unsigned char *s2)
13
 /*====function to Load Dictionary and load/create index table=======*/
14
 main(argc,argv)
15
 int argc;
16
-unsigned char **argv;
17
+ char **argv;
18
 {
19
   FILE *fp,*fopen();
20
   unsigned long schi,diclen,indlen;
12
@@ -229,6 +229,7 @@ unsigned char **argv;
21
@@ -229,6 +229,7 @@ unsigned char **argv;
13
   jindex[0] = diclen+jiver;
22
   jindex[0] = diclen+jiver;
14
   fwrite(jindex,sizeof(long),indptr+2,fp);
23
   fwrite(jindex,sizeof(long),indptr+2,fp);
(-)japanese/edict/files/patch-xjdfrontend.c (-5 / +14 lines)
Lines 1-6 Link Here
1
--- xjdfrontend.c	1998-09-16 02:28:03.000000000 +0200
1
--- xjdfrontend.c.orig	1998-09-16 00:28:03 UTC
2
+++ xjdfrontend.c	2007-12-28 19:54:07.000000000 +0100
2
+++ xjdfrontend.c
3
@@ -55,6 +55,8 @@
3
@@ -55,6 +55,8 @@ IOCTL_RAW
4
 
4
 
5
 #ifdef __STRICT_BSD__
5
 #ifdef __STRICT_BSD__
6
 static struct sgttyb    orig,new;
6
 static struct sgttyb    orig,new;
Lines 9-15 Link Here
9
 #else
9
 #else
10
 static struct termio    orig,new;
10
 static struct termio    orig,new;
11
 #endif
11
 #endif
12
@@ -240,6 +242,11 @@
12
@@ -240,6 +242,11 @@ void    ioctlraw()
13
     ioctl(0, TIOCGETP, &orig); ioctl(0, TIOCGETP, &new);
13
     ioctl(0, TIOCGETP, &orig); ioctl(0, TIOCGETP, &new);
14
     new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO;
14
     new.sg_flags |= CBREAK; new.sg_flags &= ~ECHO;
15
     ioctl(0, TIOCSETP, &new);
15
     ioctl(0, TIOCSETP, &new);
Lines 21-27 Link Here
21
 #else
21
 #else
22
     ioctl(0, TCGETA, &orig); ioctl(0, TCGETA, &new);
22
     ioctl(0, TCGETA, &orig); ioctl(0, TCGETA, &new);
23
     new.c_lflag &= ~ICANON; new.c_lflag &= ~ISIG; new.c_lflag &= ~ECHO;
23
     new.c_lflag &= ~ICANON; new.c_lflag &= ~ISIG; new.c_lflag &= ~ECHO;
24
@@ -255,6 +262,8 @@
24
@@ -255,6 +262,8 @@ void    ioctlorig()
25
 {
25
 {
26
 #ifdef __STRICT_BSD__
26
 #ifdef __STRICT_BSD__
27
    ioctl(0, TIOCSETP, &orig);
27
    ioctl(0, TIOCSETP, &orig);
Lines 30-32 Link Here
30
 #else
30
 #else
31
    ioctl(0, TCSETA, &orig);
31
    ioctl(0, TCSETA, &orig);
32
 #endif
32
 #endif
33
@@ -2519,7 +2528,7 @@ void FiltSet()
34
 
35
 main(argc,argv)
36
 int argc;
37
-unsigned char **argv;
38
+ char **argv;
39
 
40
 {
41
 	int i,j,ip,cmdmode,bit8,escf;
(-)japanese/edict/files/patch-xjdic.h (-2 / +2 lines)
Lines 1-5 Link Here
1
--- xjdic.h.orig	Thu Sep  3 02:05:28 1998
1
--- xjdic.h.orig	1998-09-03 09:05:28 UTC
2
+++ xjdic.h	Wed Oct  7 11:55:52 1998
2
+++ xjdic.h
3
@@ -3,7 +3,7 @@
3
@@ -3,7 +3,7 @@
4
 #define NRKANA 250*2   /*  size of the romaji to kana tables*/
4
 #define NRKANA 250*2   /*  size of the romaji to kana tables*/
5
 #define NOFILT 10      /* maximum number of general filters */
5
 #define NOFILT 10      /* maximum number of general filters */
(-)japanese/edict/files/patch-xjdxgen.c (+9 lines)
Lines 9-14 Link Here
9
 #include <ctype.h>
9
 #include <ctype.h>
10
 #include <string.h>
10
 #include <string.h>
11
 #include "xjdic.h"
11
 #include "xjdic.h"
12
@@ -76,7 +76,7 @@ int stringcomp(unsigned char *s1, unsigned char *s2)
13
 /*====function to Load Dictionary and load/create index table=======*/
14
 main(argc,argv)
15
 int argc;
16
-unsigned char **argv;
17
+ char **argv;
18
 {
19
   FILE *fp,*fopen();
20
   unsigned long possav,schi,diclen,indlen;
12
@@ -154,7 +154,7 @@ unsigned char **argv;
21
@@ -154,7 +154,7 @@ unsigned char **argv;
13
   db[diclen] = 10;
22
   db[diclen] = 10;
14
   db[0] = 10;
23
   db[0] = 10;
(-)lang/gcc9/Makefile (+7 lines)
Lines 41-48 CXXFLAGS:= ${CXXFLAGS:N-mretpoline} Link Here
41
41
42
OPTIONS_DEFINE=		BOOTSTRAP GRAPHITE PLUGINS
42
OPTIONS_DEFINE=		BOOTSTRAP GRAPHITE PLUGINS
43
OPTIONS_DEFAULT=	BOOTSTRAP PLUGINS
43
OPTIONS_DEFAULT=	BOOTSTRAP PLUGINS
44
OPTIONS_DEFINE_amd64=	SANITIZER
45
OPTIONS_DEFAULT_amd64=	SANITIZER
44
BOOTSTRAP_DESC=		Build using a full bootstrap
46
BOOTSTRAP_DESC=		Build using a full bootstrap
45
GRAPHITE_DESC=		Support for Graphite loop optimizations
47
GRAPHITE_DESC=		Support for Graphite loop optimizations
48
SANITIZER_DESC=		Build and install libsanitizer
46
49
47
.if exists(/usr/lib32/libc.so)
50
.if exists(/usr/lib32/libc.so)
48
OPTIONS_DEFINE_amd64+=		MULTILIB
51
OPTIONS_DEFINE_amd64+=		MULTILIB
Lines 59-64 PLUGINS_CONFIGURE_ENABLE= plugin Link Here
59
62
60
.include <bsd.port.pre.mk>
63
.include <bsd.port.pre.mk>
61
64
65
.if ${PORT_OPTIONS:MSANITIZER}
66
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-libsanitizer_configure.tgt
67
.endif
68
62
.if ${ARCH} == amd64
69
.if ${ARCH} == amd64
63
CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
70
CONFIGURE_TARGET=	x86_64-portbld-${OPSYS:tl}${OSREL}
64
71
(-)lang/gjs/Makefile (-10 / +10 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	gjs
4
PORTNAME=	gjs
5
PORTVERSION=	1.52.4
5
PORTVERSION=	1.66.0
6
PORTREVISION=	4
7
CATEGORIES=	lang gnome
6
CATEGORIES=	lang gnome
8
MASTER_SITES=	GNOME
7
MASTER_SITES=	GNOME
9
DIST_SUBDIR=	gnome3
8
DIST_SUBDIR=	gnome3
Lines 16-32 LICENSE_COMB= multi Link Here
16
LICENSE_FILE_MPL11=	${WRKSRC}/COPYING
15
LICENSE_FILE_MPL11=	${WRKSRC}/COPYING
17
LICENSE_FILE_LGPL20+ =	${WRKSRC}/COPYING.LGPL
16
LICENSE_FILE_LGPL20+ =	${WRKSRC}/COPYING.LGPL
18
17
19
LIB_DEPENDS=	libmozjs-52.so:lang/spidermonkey52 \
18
LIB_DEPENDS=	libmozjs-78.so:lang/spidermonkey78 \
20
		libffi.so:devel/libffi
19
		libffi.so:devel/libffi
21
20
22
USES=		compiler:c++11-lib gettext gmake gnome libtool \
21
USES=		compiler:c++17-lang gettext gmake gnome libtool \
23
		localbase pathfix pkgconfig python:build readline tar:xz xorg
22
		localbase pathfix pkgconfig python:build readline tar:xz xorg meson
24
USE_GNOME=	cairo gdkpixbuf2 gtk30 introspection
23
USE_GNOME=	cairo gdkpixbuf2 gtk30 introspection glib20
25
USE_XORG=	x11 xext
24
USE_XORG=	x11 xext
26
GNU_CONFIGURE=	yes
27
CONFIGURE_ARGS=	--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
28
CONFIGURE_ARGS+=--disable-profiler
29
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
30
INSTALL_TARGET=	install-strip
26
27
MESON_ARGS=	-Dinstalled_tests=false
28
29
CONFIGURE_ENV=	PYTHONDONTWRITEBYTECODE=1
30
MAKE_ENV=	PYTHONDONTWRITEBYTECODE=1
31
31
32
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)lang/gjs/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1539116944
1
TIMESTAMP = 1600144389
2
SHA256 (gnome3/gjs-1.52.4.tar.xz) = 9c160cf9383ca20fcba3b75154c9d19efae9decf63bec6164a81403092d3b4f7
2
SHA256 (gnome3/gjs-1.66.0.tar.xz) = f30cf90e016db6c8fdd0059749559611760f0721f375b2b61e0b7239b43ab5f8
3
SIZE (gnome3/gjs-1.52.4.tar.xz) = 626960
3
SIZE (gnome3/gjs-1.66.0.tar.xz) = 439596
(-)lang/gjs/pkg-plist (-1 / +2 lines)
Lines 2-11 bin/gjs Link Here
2
bin/gjs-console
2
bin/gjs-console
3
include/gjs-1.0/gjs/context.h
3
include/gjs-1.0/gjs/context.h
4
include/gjs-1.0/gjs/coverage.h
4
include/gjs-1.0/gjs/coverage.h
5
include/gjs-1.0/gjs/error-types.h
5
include/gjs-1.0/gjs/gjs.h
6
include/gjs-1.0/gjs/gjs.h
6
include/gjs-1.0/gjs/macros.h
7
include/gjs-1.0/gjs/macros.h
8
include/gjs-1.0/gjs/mem.h
7
include/gjs-1.0/gjs/profiler.h
9
include/gjs-1.0/gjs/profiler.h
8
include/gjs-1.0/util/error.h
9
lib/gjs/girepository-1.0/GjsPrivate-1.0.typelib
10
lib/gjs/girepository-1.0/GjsPrivate-1.0.typelib
10
lib/libgjs.so
11
lib/libgjs.so
11
lib/libgjs.so.0
12
lib/libgjs.so.0
(-)lang/lua52/Makefile (-1 / +1 lines)
Lines 57-63 post-patch: Link Here
57
	@${REINPLACE_CMD} -e "/LUA_ROOT/s|/usr/local|${LUA_PREFIX}| ; \
57
	@${REINPLACE_CMD} -e "/LUA_ROOT/s|/usr/local|${LUA_PREFIX}| ; \
58
		s,readline/,editline/,g ; \
58
		s,readline/,editline/,g ; \
59
		/history\.h/d" \
59
		/history\.h/d" \
60
		${WRKSRC}/src/luaconf.h ${WRKSRC}/src/lua.c
60
		${WRKSRC}/src/lua.c
61
61
62
post-install:
62
post-install:
63
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblua-${LUA_VER}.so
63
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblua-${LUA_VER}.so
(-)lang/perl5.30/Makefile (+5 lines)
Lines 234-246 post-clean: Link Here
234
.endif
234
.endif
235
235
236
post-patch:
236
post-patch:
237
.if ${LOCALBASE} != "/usr/local"
237
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
238
	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
238
		${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
239
		${WRKSRC}/Configure ${WRKSRC}/hints/freebsd.sh
240
.endif
239
.if !defined(IAMDEFAULTPERL)
241
.if !defined(IAMDEFAULTPERL)
240
	${REINPLACE_CMD} -e '/do_installprivlib = 0 if .versiononly/d; \
242
	${REINPLACE_CMD} -e '/do_installprivlib = 0 if .versiononly/d; \
241
		/^if.*nopods.*versiononly || /s/.*/if (1) {/' \
243
		/^if.*nopods.*versiononly || /s/.*/if (1) {/' \
242
		${WRKSRC}/installperl
244
		${WRKSRC}/installperl
243
.endif
245
.endif
246
.if ${ARCH} == "riscv64"
247
	${REINPLACE_CMD} -e 's/-DHAS_FPSETMASK //' ${WRKSRC}/hints/freebsd.sh
248
.endif
244
249
245
post-install:
250
post-install:
246
	@${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC} ||' \
251
	@${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC} ||' \
(-)lang/python27/Makefile (-3 / +1 lines)
Lines 16-21 LICENSE= PSFL Link Here
16
16
17
DEPRECATED=	EOLed upstream
17
DEPRECATED=	EOLed upstream
18
EXPIRATION_DATE=	2020-12-31
18
EXPIRATION_DATE=	2020-12-31
19
BROKEN=		Deprecated
19
20
20
USES=		cpe ncurses pathfix pkgconfig readline:port shebangfix ssl tar:xz
21
USES=		cpe ncurses pathfix pkgconfig readline:port shebangfix ssl tar:xz
21
PATHFIX_MAKEFILEIN=	Makefile.pre.in
22
PATHFIX_MAKEFILEIN=	Makefile.pre.in
Lines 115-123 PLIST_SUB+= NO_NIS="" Link Here
115
post-patch:
116
post-patch:
116
	@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
117
	@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
117
		${WRKSRC}/Lib/cgi.py
118
		${WRKSRC}/Lib/cgi.py
118
	@${REINPLACE_CMD} -e \
119
		's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \
120
		${PATCH_WRKSRC}/Lib/pydoc.py
121
119
122
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS)
120
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS)
123
	@${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \
121
	@${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \
(-)lang/python27/files/patch-Doc__library__fcntl.rst (-3 / +3 lines)
Lines 1-6 Link Here
1
--- ./Doc/library/fcntl.rst.orig	2014-07-03 21:53:41.473098625 +1000
1
--- Doc/library/fcntl.rst.orig	2019-10-19 18:38:44 UTC
2
+++ ./Doc/library/fcntl.rst	2014-07-03 21:54:04.342833056 +1000
2
+++ Doc/library/fcntl.rst
3
@@ -50,7 +50,6 @@ The module defines the following functio
3
@@ -52,7 +52,6 @@ The module defines the following functions:
4
    operations are typically defined in the library module :mod:`termios` and the
4
    operations are typically defined in the library module :mod:`termios` and the
5
    argument handling is even more complicated.
5
    argument handling is even more complicated.
6
 
6
 
(-)lang/python27/files/patch-Lib_distutils_command_build__scripts.py (-2 / +2 lines)
Lines 3-10 Link Here
3
# installation.
3
# installation.
4
# Submitted by: mva
4
# Submitted by: mva
5
5
6
--- Lib/distutils/command/build_scripts.py.orig	2014-07-26 09:52:20.000000000 UTC
6
--- Lib/distutils/command/build_scripts.py.orig	2019-10-19 18:38:44 UTC
7
+++ Lib/distutils/command/build_scripts.py	2014-07-26 09:52:56.000000000 UTC
7
+++ Lib/distutils/command/build_scripts.py
8
@@ -126,6 +126,9 @@ class build_scripts (Command):
8
@@ -126,6 +126,9 @@ class build_scripts (Command):
9
                                  file, oldmode, newmode)
9
                                  file, oldmode, newmode)
10
                         os.chmod(file, newmode)
10
                         os.chmod(file, newmode)
(-)lang/python27/files/patch-Lib_distutils_command_install__lib.py (-6 / +1 lines)
Lines 6-17 Subject: [PATCH] Check bytecode file actually exists and tests Link Here
6
Should solve issue 20397, where using the --record argument results
6
Should solve issue 20397, where using the --record argument results
7
in files that failed to generate bytecode files are added to the
7
in files that failed to generate bytecode files are added to the
8
record file nonetheless.
8
record file nonetheless.
9
---
9
--- Lib/distutils/command/install_lib.py.orig	2019-10-19 18:38:44 UTC
10
 Lib/distutils/command/install_lib.py    | 17 +++++++++++++----
11
 Lib/distutils/tests/test_install_lib.py |  8 ++++++--
12
 2 files changed, 19 insertions(+), 6 deletions(-)
13
14
--- Lib/distutils/command/install_lib.py.orig	2015-12-05 19:46:56 UTC
15
+++ Lib/distutils/command/install_lib.py
10
+++ Lib/distutils/command/install_lib.py
16
@@ -168,10 +168,14 @@ class install_lib(Command):
11
@@ -168,10 +168,14 @@ class install_lib(Command):
17
             ext = os.path.splitext(os.path.normcase(py_file))[1]
12
             ext = os.path.splitext(os.path.normcase(py_file))[1]
(-)lang/python27/files/patch-Lib_distutils_tests_test__install__lib.py (-7 / +2 lines)
Lines 6-19 Subject: [PATCH] Check bytecode file actually exists and tests Link Here
6
Should solve issue 20397, where using the --record argument results
6
Should solve issue 20397, where using the --record argument results
7
in files that failed to generate bytecode files are added to the
7
in files that failed to generate bytecode files are added to the
8
record file nonetheless.
8
record file nonetheless.
9
---
9
--- Lib/distutils/tests/test_install_lib.py.orig	2019-10-19 18:38:44 UTC
10
 Lib/distutils/command/install_lib.py    | 17 +++++++++++++----
11
 Lib/distutils/tests/test_install_lib.py |  8 ++++++--
12
 2 files changed, 19 insertions(+), 6 deletions(-)
13
14
--- Lib/distutils/tests/test_install_lib.py.orig	2015-12-05 19:46:57 UTC
15
+++ Lib/distutils/tests/test_install_lib.py
10
+++ Lib/distutils/tests/test_install_lib.py
16
@@ -64,8 +64,12 @@ class InstallLibTestCase(support.Tempdir
11
@@ -64,8 +64,12 @@ class InstallLibTestCase(support.TempdirManager,
17
         cmd.distribution.packages = [pkg_dir]
12
         cmd.distribution.packages = [pkg_dir]
18
         cmd.distribution.script_name = 'setup.py'
13
         cmd.distribution.script_name = 'setup.py'
19
 
14
 
(-)lang/python27/files/patch-Modules___ctypes__libffi__src__arm__ffi.c (-6 / +6 lines)
Lines 3-10 Link Here
3
# PR: ports/149167 ports/184517
3
# PR: ports/149167 ports/184517
4
# Patch by: cognet@ (to be upstreamed @ LLVM)
4
# Patch by: cognet@ (to be upstreamed @ LLVM)
5
5
6
--- ./Modules/_ctypes/libffi/src/arm/ffi.c.orig	2013-11-10 18:36:41.000000000 +1100	
6
--- Modules/_ctypes/libffi/src/arm/ffi.c.orig	2019-10-19 18:38:44 UTC
7
+++ ./Modules/_ctypes/libffi/src/arm/ffi.c	2013-12-03 18:05:51.461078888 +1100
7
+++ Modules/_ctypes/libffi/src/arm/ffi.c
8
@@ -33,6 +33,11 @@
8
@@ -33,6 +33,11 @@
9
 
9
 
10
 #include <stdlib.h>
10
 #include <stdlib.h>
Lines 17-26 Link Here
17
 /* Forward declares. */
17
 /* Forward declares. */
18
 static int vfp_type_p (ffi_type *);
18
 static int vfp_type_p (ffi_type *);
19
 static void layout_vfp_args (ffi_cif *);
19
 static void layout_vfp_args (ffi_cif *);
20
@@ -751,6 +756,16 @@ ffi_closure_free (void *ptr)
20
@@ -750,6 +755,16 @@ ffi_closure_free (void *ptr)
21
 }
21
 
22
 
22
 #else
23
 #else
23
 
24
+
24
+#if defined(__FreeBSD__) && defined(__arm__)
25
+#if defined(__FreeBSD__) && defined(__arm__)
25
+#define __clear_cache(start, end) do { \
26
+#define __clear_cache(start, end) do { \
26
+		struct arm_sync_icache_args ua; 		\
27
+		struct arm_sync_icache_args ua; 		\
Lines 30-36 Link Here
30
+		sysarch(ARM_SYNC_ICACHE, &ua);			\
31
+		sysarch(ARM_SYNC_ICACHE, &ua);			\
31
+	} while (0);
32
+	} while (0);
32
+#endif
33
+#endif
33
+
34
 
34
 #define FFI_INIT_TRAMPOLINE(TRAMP,FUN,CTX)				\
35
 #define FFI_INIT_TRAMPOLINE(TRAMP,FUN,CTX)				\
35
 ({ unsigned char *__tramp = (unsigned char*)(TRAMP);			\
36
 ({ unsigned char *__tramp = (unsigned char*)(TRAMP);			\
36
    unsigned int  __fun = (unsigned int)(FUN);				\
(-)lang/python27/files/patch-Modules__fcntlmodule.c (-6 / +6 lines)
Lines 1-6 Link Here
1
--- ./Modules/fcntlmodule.c.orig	2014-07-03 21:57:10.429953240 +1000
1
--- Modules/fcntlmodule.c.orig	2019-10-19 18:38:44 UTC
2
+++ ./Modules/fcntlmodule.c	2014-07-03 21:59:36.517210444 +1000
2
+++ Modules/fcntlmodule.c
3
@@ -98,20 +98,15 @@ fcntl_ioctl(PyObject *self, PyObject *ar
3
@@ -98,20 +98,15 @@ fcntl_ioctl(PyObject *self, PyObject *args)
4
 {
4
 {
5
 #define IOCTL_BUFSZ 1024
5
 #define IOCTL_BUFSZ 1024
6
     int fd;
6
     int fd;
Lines 24-30 Link Here
24
     int arg;
24
     int arg;
25
     int ret;
25
     int ret;
26
     char *str;
26
     char *str;
27
@@ -119,7 +114,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
27
@@ -119,7 +114,7 @@ fcntl_ioctl(PyObject *self, PyObject *args)
28
     int mutate_arg = 1;
28
     int mutate_arg = 1;
29
     char buf[IOCTL_BUFSZ+1];  /* argument plus NUL byte */
29
     char buf[IOCTL_BUFSZ+1];  /* argument plus NUL byte */
30
 
30
 
Lines 33-39 Link Here
33
                          conv_descriptor, &fd, &code,
33
                          conv_descriptor, &fd, &code,
34
                          &str, &len, &mutate_arg)) {
34
                          &str, &len, &mutate_arg)) {
35
         char *arg;
35
         char *arg;
36
@@ -170,7 +165,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
36
@@ -170,7 +165,7 @@ fcntl_ioctl(PyObject *self, PyObject *args)
37
     }
37
     }
38
 
38
 
39
     PyErr_Clear();
39
     PyErr_Clear();
Lines 42-48 Link Here
42
                          conv_descriptor, &fd, &code, &str, &len)) {
42
                          conv_descriptor, &fd, &code, &str, &len)) {
43
         if (len > IOCTL_BUFSZ) {
43
         if (len > IOCTL_BUFSZ) {
44
             PyErr_SetString(PyExc_ValueError,
44
             PyErr_SetString(PyExc_ValueError,
45
@@ -192,7 +187,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
45
@@ -192,7 +187,7 @@ fcntl_ioctl(PyObject *self, PyObject *args)
46
     PyErr_Clear();
46
     PyErr_Clear();
47
     arg = 0;
47
     arg = 0;
48
     if (!PyArg_ParseTuple(args,
48
     if (!PyArg_ParseTuple(args,
(-)lang/python27/files/patch-pr192365 (-6 / +6 lines)
Lines 2-10 Link Here
2
# in include/python2.7/pyconfig.h
2
# in include/python2.7/pyconfig.h
3
# Submitted by: antoine
3
# Submitted by: antoine
4
4
5
--- configure.orig	2014-09-06 14:42:50 UTC
5
--- configure.orig	2019-10-19 18:38:44 UTC
6
+++ configure
6
+++ configure
7
@@ -2919,13 +2919,6 @@
7
@@ -3007,13 +3007,6 @@ $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h
8
 
8
 
9
 
9
 
10
 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
10
 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
Lines 18-24 Link Here
18
 # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
18
 # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
19
 
19
 
20
 $as_echo "#define _BSD_TYPES 1" >>confdefs.h
20
 $as_echo "#define _BSD_TYPES 1" >>confdefs.h
21
@@ -3293,9 +3286,8 @@
21
@@ -3394,9 +3387,8 @@ $as_echo "#define _BSD_SOURCE 1" >>confdefs.h
22
   # but used in struct sockaddr.sa_family. Reported by Tim Rice.
22
   # but used in struct sockaddr.sa_family. Reported by Tim Rice.
23
   SCO_SV/3.2)
23
   SCO_SV/3.2)
24
     define_xopen_source=no;;
24
     define_xopen_source=no;;
Lines 30-38 Link Here
30
     define_xopen_source=no;;
30
     define_xopen_source=no;;
31
   # On MacOS X 10.2, a bug in ncurses.h means that it craps out if
31
   # On MacOS X 10.2, a bug in ncurses.h means that it craps out if
32
   # _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which
32
   # _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which
33
--- configure.ac.orig	2014-09-06 14:42:50 UTC
33
--- configure.ac.orig	2019-10-19 18:38:44 UTC
34
+++ configure.ac
34
+++ configure.ac
35
@@ -88,11 +88,6 @@
35
@@ -91,11 +91,6 @@ AC_DEFINE(_GNU_SOURCE, 1, [Define on Linux to activate
36
 AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features])
36
 AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features])
37
 
37
 
38
 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
38
 # The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
Lines 44-50 Link Here
44
 # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
44
 # u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
45
 AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
45
 AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
46
 
46
 
47
@@ -426,9 +421,8 @@
47
@@ -444,9 +439,8 @@ case $ac_sys_system/$ac_sys_release in
48
   # but used in struct sockaddr.sa_family. Reported by Tim Rice.
48
   # but used in struct sockaddr.sa_family. Reported by Tim Rice.
49
   SCO_SV/3.2)
49
   SCO_SV/3.2)
50
     define_xopen_source=no;;
50
     define_xopen_source=no;;
(-)lang/python27/files/patch-setup.py (-7 / +7 lines)
Lines 5-13 Link Here
5
5
6
# Description: ossaudiodev detection fix backport
6
# Description: ossaudiodev detection fix backport
7
7
8
--- setup.py.orig	2017-04-22 03:42:03 UTC
8
--- setup.py.orig	2019-10-19 18:38:44 UTC
9
+++ setup.py
9
+++ setup.py
10
@@ -15,6 +15,7 @@ from distutils.core import Extension, se
10
@@ -15,6 +15,7 @@ from distutils.core import Extension, setup
11
 from distutils.command.build_ext import build_ext
11
 from distutils.command.build_ext import build_ext
12
 from distutils.command.install import install
12
 from distutils.command.install import install
13
 from distutils.command.install_lib import install_lib
13
 from distutils.command.install_lib import install_lib
Lines 24-30 Link Here
24
 
24
 
25
 def add_dir_to_list(dirlist, dir):
25
 def add_dir_to_list(dirlist, dir):
26
     """Add the directory 'dir' to the list 'dirlist' (at the front) if
26
     """Add the directory 'dir' to the list 'dirlist' (at the front) if
27
@@ -1234,7 +1235,7 @@ class PyBuildExt(build_ext):
27
@@ -1280,7 +1281,7 @@ class PyBuildExt(build_ext):
28
                 sysroot = macosx_sdk_root()
28
                 sysroot = macosx_sdk_root()
29
                 f = os.path.join(sysroot, f[1:])
29
                 f = os.path.join(sysroot, f[1:])
30
 
30
 
Lines 33-39 Link Here
33
             data = open(f).read()
33
             data = open(f).read()
34
             m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data)
34
             m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data)
35
             if m is not None:
35
             if m is not None:
36
@@ -1624,9 +1625,10 @@ class PyBuildExt(build_ext):
36
@@ -1665,9 +1666,10 @@ class PyBuildExt(build_ext):
37
         else:
37
         else:
38
             missing.append('linuxaudiodev')
38
             missing.append('linuxaudiodev')
39
 
39
 
Lines 47-53 Link Here
47
             exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
47
             exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
48
         else:
48
         else:
49
             missing.append('ossaudiodev')
49
             missing.append('ossaudiodev')
50
@@ -2200,6 +2202,22 @@ class PyBuildInstallLib(install_lib):
50
@@ -2290,6 +2292,22 @@ class PyBuildInstallLib(install_lib):
51
     def is_chmod_supported(self):
51
     def is_chmod_supported(self):
52
         return hasattr(os, 'chmod')
52
         return hasattr(os, 'chmod')
53
 
53
 
Lines 70-76 Link Here
70
 SUMMARY = """
70
 SUMMARY = """
71
 Python is an interpreted, interactive, object-oriented programming
71
 Python is an interpreted, interactive, object-oriented programming
72
 language. It is often compared to Tcl, Perl, Scheme or Java.
72
 language. It is often compared to Tcl, Perl, Scheme or Java.
73
@@ -2245,7 +2263,9 @@ def main():
73
@@ -2335,7 +2353,9 @@ def main():
74
           platforms = ["Many"],
74
           platforms = ["Many"],
75
 
75
 
76
           # Build info
76
           # Build info
Lines 81-87 Link Here
81
                       'install_lib':PyBuildInstallLib},
81
                       'install_lib':PyBuildInstallLib},
82
           # The struct module is defined here, because build_ext won't be
82
           # The struct module is defined here, because build_ext won't be
83
           # called unless there's at least one extension module defined.
83
           # called unless there's at least one extension module defined.
84
@@ -2253,8 +2273,7 @@ def main():
84
@@ -2343,8 +2363,7 @@ def main():
85
 
85
 
86
           # Scripts to install
86
           # Scripts to install
87
           scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
87
           scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
(-)lang/spidermonkey52/Makefile (+1 lines)
Lines 17-22 LIB_DEPENDS= libnspr4.so:devel/nspr \ Link Here
17
		libffi.so:devel/libffi \
17
		libffi.so:devel/libffi \
18
		libicudata.so:devel/icu
18
		libicudata.so:devel/icu
19
19
20
BROKEN=		Needs python2
20
HAS_CONFIGURE=	yes
21
HAS_CONFIGURE=	yes
21
USES=		compiler:c++14-lang gmake localbase pathfix pkgconfig \
22
USES=		compiler:c++14-lang gmake localbase pathfix pkgconfig \
22
		python:2.7,build tar:xz
23
		python:2.7,build tar:xz
(-)lang/spidermonkey60/Makefile (-2 / +7 lines)
Lines 14-27 COMMENT= Standalone JavaScript based from Mozilla 60-esr Link Here
14
LICENSE=	MPL20
14
LICENSE=	MPL20
15
LICENSE_FILE=	${WRKSRC}/LICENSE
15
LICENSE_FILE=	${WRKSRC}/LICENSE
16
16
17
BUILD_DEPENDS=	autoconf-2.13:devel/autoconf213
17
BUILD_DEPENDS=	autoconf-2.13:devel/autoconf213 \
18
		${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
19
18
LIB_DEPENDS=	libnspr4.so:devel/nspr \
20
LIB_DEPENDS=	libnspr4.so:devel/nspr \
19
		libffi.so:devel/libffi \
21
		libffi.so:devel/libffi \
20
		libicudata.so:devel/icu
22
		libicudata.so:devel/icu
21
23
22
HAS_CONFIGURE=	yes
24
HAS_CONFIGURE=	yes
23
USES=		compiler:c++14-lang gmake localbase pathfix pkgconfig \
25
USES=		compiler:c++14-lang gmake localbase pathfix pkgconfig \
24
		python:2.7,build tar:xz
26
		python:build tar:xz
25
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
26
SP_VER=		60
28
SP_VER=		60
27
29
Lines 58-63 CONFIGURE_TARGET=x86_64-portbld-freebsd${OSREL} Link Here
58
USE_GCC=	9+
60
USE_GCC=	9+
59
.endif
61
.endif
60
62
63
post-patch:
64
	${REINPLACE_CMD} 's|%%PYTHON_CMD%%|${PYTHON_CMD}|g' ${WRKSRC}/js/src/configure
65
61
post-install:
66
post-install:
62
	${RM} ${STAGEDIR}${PREFIX}/lib/libjs_static.ajs
67
	${RM} ${STAGEDIR}${PREFIX}/lib/libjs_static.ajs
63
	${LN} -fs libmozjs-${SP_VER}.so ${STAGEDIR}${PREFIX}/lib/libmozjs-${SP_VER}.so.1
68
	${LN} -fs libmozjs-${SP_VER}.so ${STAGEDIR}${PREFIX}/lib/libmozjs-${SP_VER}.so.1
(-)lang/spidermonkey68/Makefile (-1 / +1 lines)
Lines 24-30 LIB_DEPENDS= libnspr4.so:devel/nspr \ Link Here
24
		libicudata.so:devel/icu
24
		libicudata.so:devel/icu
25
25
26
USES=		compiler gmake localbase pathfix pkgconfig \
26
USES=		compiler gmake localbase pathfix pkgconfig \
27
		python:2.7,build tar:xz
27
		python:build tar:xz
28
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
29
SP_VER=		68
29
SP_VER=		68
30
HAS_CONFIGURE=	yes
30
HAS_CONFIGURE=	yes
(-)lang/spidermonkey78/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	spidermonkey
3
PORTNAME=	spidermonkey
4
DISTVERSION=	78.2.0
4
DISTVERSION=	78.3.0
5
CATEGORIES=	lang
5
CATEGORIES=	lang
6
MASTER_SITES=	MOZILLA/firefox/releases/${DISTVERSION}esr/source
6
MASTER_SITES=	MOZILLA/firefox/releases/${DISTVERSION}esr/source
7
PKGNAMESUFFIX=	${SP_VER}
7
PKGNAMESUFFIX=	${SP_VER}
(-)lang/spidermonkey78/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1600105157
1
TIMESTAMP = 1600826847
2
SHA256 (firefox-78.2.0esr.source.tar.xz) = 965ccfcbb8c0aa97639911997c54be0fcf896fd388b03138952089af675ea918
2
SHA256 (firefox-78.3.0esr.source.tar.xz) = 85273e22d6c31ccd000d72af47530cea3dc52f63f06e53701d9c6c82f68f7bf7
3
SIZE (firefox-78.2.0esr.source.tar.xz) = 331996944
3
SIZE (firefox-78.3.0esr.source.tar.xz) = 331073228
(-)mail/proxsmtp/Makefile (-3 lines)
Lines 33-41 post-patch: Link Here
33
		-e 's|250 smtp.passthru|${PROXSMTP_HELO_RSP}|g' \
33
		-e 's|250 smtp.passthru|${PROXSMTP_HELO_RSP}|g' \
34
		-e 's|250-smtp.passthru|${PROXSMTP_SMTP_EHLO_RSP}|g' \
34
		-e 's|250-smtp.passthru|${PROXSMTP_SMTP_EHLO_RSP}|g' \
35
		${WRKSRC}/common/smtppass.c
35
		${WRKSRC}/common/smtppass.c
36
	@${REINPLACE_CMD} -e \
37
		'/^acx_pthread_flags/s|=.*|="-lpthread"|' \
38
		${WRKSRC}/configure
39
36
40
post-install:
37
post-install:
41
	(cd ${WRKSRC}/doc && ${INSTALL_DATA} proxsmtpd.conf \
38
	(cd ${WRKSRC}/doc && ${INSTALL_DATA} proxsmtpd.conf \
(-)math/cantor/Makefile (+2 lines)
Lines 17-22 LIB_DEPENDS= libAnalitza.so:math/analitza \ Link Here
17
BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
17
BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl \
18
		docbook-xml>0:textproc/docbook-xml
18
		docbook-xml>0:textproc/docbook-xml
19
19
20
MAKE_JOBS_UNSAFE=	yes
21
20
USES=		cmake compiler:c++11-lang desktop-file-utils gettext kde:5 \
22
USES=		cmake compiler:c++11-lang desktop-file-utils gettext kde:5 \
21
		pkgconfig python:3.4+ qt:5 tar:xz
23
		pkgconfig python:3.4+ qt:5 tar:xz
22
USE_KDE=	attica auth archive bookmarks codecs completion config \
24
USE_KDE=	attica auth archive bookmarks codecs completion config \
(-)math/octave-forge-audio/Makefile (+3 lines)
Lines 15-20 LIB_DEPENDS+= librtmidi.so:audio/rtmidi Link Here
15
15
16
USES=		compiler:c++11-lang pkgconfig
16
USES=		compiler:c++11-lang pkgconfig
17
17
18
LICENSE=	GPLv2
19
LICENSE_FILE=	${WRKSRC}/../COPYING
20
18
# OCTSRC is the name of the directory of the package.
21
# OCTSRC is the name of the directory of the package.
19
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
22
# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
20
OCTSRC=		${DISTNAME}
23
OCTSRC=		${DISTNAME}
(-)math/py-mpmath/Makefile (+2 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	mpmath
4
PORTNAME=	mpmath
5
PORTVERSION=	1.1.0
5
PORTVERSION=	1.1.0
6
PORTREVISION=	1
6
CATEGORIES=	math python
7
CATEGORIES=	math python
7
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 13-18 COMMENT= Python Library for Arbitrary-precision Floating-point Arithmetic Link Here
13
LICENSE=	BSD3CLAUSE
14
LICENSE=	BSD3CLAUSE
14
15
15
BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/gmpy.so:math/py-gmpy@${PY_FLAVOR}
16
BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/gmpy.so:math/py-gmpy@${PY_FLAVOR}
17
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/gmpy.so:math/py-gmpy@${PY_FLAVOR}
16
18
17
USES=		python
19
USES=		python
18
USE_PYTHON=	distutils autoplist
20
USE_PYTHON=	distutils autoplist
(-)math/reed-solomon/Makefile (-3 lines)
Lines 14-20 USES= gmake Link Here
14
USE_LDCONFIG=	yes
14
USE_LDCONFIG=	yes
15
MAKEFILE=	makefile
15
MAKEFILE=	makefile
16
16
17
post-patch:
18
	@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/makefile.in
19
20
.include <bsd.port.mk>
17
.include <bsd.port.mk>
(-)misc/help2man/Makefile (-1 / +1 lines)
Lines 31-37 NLS_VARS= CONFIGURE_FAIL_MESSAGE="Rebuild lang/${PERL_PORT} and devel/p5-Locale Link Here
31
NLS_VARS_OFF=		NO_ARCH=yes
31
NLS_VARS_OFF=		NO_ARCH=yes
32
32
33
.for lang in de es fr pl pt_BR sv ta uk zh_CN
33
.for lang in de es fr pl pt_BR sv ta uk zh_CN
34
NLS_INFO+=		help2man-${lang}
34
NLS_INFO+=	help2man-${lang}
35
.endfor
35
.endfor
36
36
37
.for lang in da de el eo es fi fr hr hu it ja nb pl pt_BR ru sr sv ta uk vi zh_CN
37
.for lang in da de el eo es fi fr hr hu it ja nb pl pt_BR ru sr sv ta uk vi zh_CN
(-)misc/jojodiff/Makefile (-13 / +13 lines)
Lines 12-35 COMMENT= Diff and patch utilities for binary files Link Here
12
12
13
LICENSE=	GPLv3+
13
LICENSE=	GPLv3+
14
14
15
USES=		gmake tar:tgz
15
USES=		dos2unix gmake tar:tgz
16
MAKE_ARGS=	CC="${CC}" CPP="${CXX}" CFLAGS="${CFLAGS}"
16
DOS2UNIX_FILES=	JDebug.cpp JDebug.h JDefs.h JDiff.cpp JDiff.h JFile.h \
17
		JFileAhead.cpp JFileAhead.h JFileIStream.cpp JFileIStream.h \
18
		JFileIStreamAhead.cpp JFileIStreamAhead.h JHashPos.cpp \
19
		JHashPos.h JMatchTable.cpp JMatchTable.h JOut.h JOutAsc.cpp \
20
		JOutAsc.h JOutBin.cpp JOutBin.h JOutRgn.cpp JOutRgn.h \
21
		jpatch.cpp Makefile
22
MAKE_ARGS=	CC="${CC}" \
23
		CFLAGS="${CFLAGS}" \
24
		CPP="${CXX}"
17
WRKSRC_SUBDIR=	src
25
WRKSRC_SUBDIR=	src
18
26
19
PLIST_FILES=	bin/jdiff bin/jptch
27
PLIST_FILES=	bin/jdiff \
20
PORTDOCS=	readme.txt readme.htm
28
		bin/jptch
29
PORTDOCS=	readme.htm readme.txt
21
30
22
OPTIONS_DEFINE=	DOCS
31
OPTIONS_DEFINE=	DOCS
23
32
24
post-patch:
25
	@${REINPLACE_CMD} -E 's,P(RI|8)(zd|hkey), & ,g' \
26
		${WRKSRC}/JFileAhead.cpp ${WRKSRC}/JFileIStreamAhead.cpp \
27
		${WRKSRC}/JHashPos.cpp ${WRKSRC}/JOutAsc.cpp \
28
		${WRKSRC}/JOutRgn.cpp ${WRKSRC}/jpatch.cpp \
29
		${WRKSRC}/main.cpp
30
	@${REINPLACE_CMD} -e 's,is %d bit,is %zu bit,' \
31
		${WRKSRC}/jpatch.cpp ${WRKSRC}/main.cpp
32
33
do-install:
33
do-install:
34
	${INSTALL_PROGRAM} ${WRKSRC}/j???? ${STAGEDIR}${PREFIX}/bin
34
	${INSTALL_PROGRAM} ${WRKSRC}/j???? ${STAGEDIR}${PREFIX}/bin
35
35
(-)multimedia/libkate/Makefile (-20 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	libkate
4
PORTNAME=	libkate
5
PORTVERSION=	0.4.1
5
PORTVERSION=	0.4.1
6
PORTREVISION=	10
6
PORTREVISION=	11
7
CATEGORIES=	multimedia
7
CATEGORIES=	multimedia
8
MASTER_SITES=	http://downloads.xiph.org/releases/kate/
8
MASTER_SITES=	http://downloads.xiph.org/releases/kate/
9
9
Lines 23-32 USE_LDCONFIG= yes Link Here
23
CFLAGS+=	"-I${LOCALBASE}/include"
23
CFLAGS+=	"-I${LOCALBASE}/include"
24
24
25
MANPAGE=	katalyzer.1 kateenc.1 katedec.1
25
MANPAGE=	katalyzer.1 kateenc.1 katedec.1
26
OPTIONS_DEFINE=	DOXYGEN HTMLDOCS KATEDJ DOCS
26
OPTIONS_DEFINE=	DOXYGEN HTMLDOCS DOCS
27
27
28
HTMLDOCS_DESC=	Install bundled html documentation
28
HTMLDOCS_DESC=	Install bundled html documentation
29
KATEDJ_DESC=	Install KateDJ (Huge dependencies list)
30
29
31
PORTDOCS=	*
30
PORTDOCS=	*
32
31
Lines 38-65 BUILD_DEPENDS+= doxygen:devel/doxygen Link Here
38
CONFIGURE_ARGS+=	--disable-doc
37
CONFIGURE_ARGS+=	--disable-doc
39
.endif
38
.endif
40
39
41
.if ${PORT_OPTIONS:MKATEDJ}
42
RUN_DEPENDS=	${LOCALBASE}/bin/oggz:audio/liboggz
43
USES+=		python:2.7 shebangfix
44
SHEBANG_FILES=	tools/KateDJ/KateDJ
45
USE_WX=		3.0+
46
WX_COMPS=	wx python:lib
47
MANPAGE+=	KateDJ.1
48
PLIST_SUB+=	KATEDJ=""
49
.else
50
PLIST_SUB+=	KATEDJ="@comment "
51
.endif
52
53
post-patch:
40
post-patch:
54
.if ${PORT_OPTIONS:MKATEDJ}
55
	@${REINPLACE_CMD} -e 's|PYTHON=python|PYTHON=${PYTHON_CMD}|' \
56
		${WRKSRC}/misc/autotools/py-compile
57
.else
58
	@${REINPLACE_CMD} -e \
41
	@${REINPLACE_CMD} -e \
59
		"s|  HAVE_PYTHON_TRUE=$$|  HAVE_PYTHON_TRUE='#'|; \
42
		"s|  HAVE_PYTHON_TRUE=$$|  HAVE_PYTHON_TRUE='#'|; \
60
			s|  HAVE_PYTHON_FALSE='#'$$|  HAVE_PYTHON_FALSE=|" \
43
			s|  HAVE_PYTHON_FALSE='#'$$|  HAVE_PYTHON_FALSE=|" \
61
		${WRKSRC}/configure
44
		${WRKSRC}/configure
62
.endif
63
45
64
	@${REINPLACE_CMD} -E -e \
46
	@${REINPLACE_CMD} -E -e \
65
		"s|^(install-data-am: ).*|\1|" \
47
		"s|^(install-data-am: ).*|\1|" \
(-)multimedia/libkate/pkg-plist (-35 lines)
Lines 1-4 Link Here
1
%%KATEDJ%%bin/KateDJ
2
bin/katalyzer
1
bin/katalyzer
3
bin/katedec
2
bin/katedec
4
bin/kateenc
3
bin/kateenc
Lines 18-54 libdata/pkgconfig/oggkate.pc Link Here
18
man/man1/katalyzer.1.gz
17
man/man1/katalyzer.1.gz
19
man/man1/katedec.1.gz
18
man/man1/katedec.1.gz
20
man/man1/kateenc.1.gz
19
man/man1/kateenc.1.gz
21
%%KATEDJ%%man/man1/KateDJ.1.gz
22
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.py
23
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.pyc
24
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/__init__.pyo
25
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/constants.py
26
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/constants.pyc
27
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/constants.pyo
28
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/demuxer.py
29
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/demuxer.pyc
30
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/demuxer.pyo
31
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/finder.py
32
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/finder.pyc
33
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/finder.pyo
34
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/muxer.py
35
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/muxer.pyc
36
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/muxer.pyo
37
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/options.py
38
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/options.pyc
39
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/options.pyo
40
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tester.py
41
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tester.pyc
42
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tester.pyo
43
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tools.py
44
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tools.pyc
45
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/tools.pyo
46
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_editor.py
47
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_editor.pyc
48
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_editor.pyo
49
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_main.py
50
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_main.pyc
51
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_main.pyo
52
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_options.py
53
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_options.pyc
54
%%KATEDJ%%%%PYTHON_SITELIBDIR%%/kdj/ui_options.pyo
(-)net-im/libtelepathy/Makefile (-1 / +1 lines)
Lines 14-20 COMMENT= Flexible Communications Framework Link Here
14
LIB_DEPENDS=	libtelepathy-glib.so:net-im/telepathy-glib \
14
LIB_DEPENDS=	libtelepathy-glib.so:net-im/telepathy-glib \
15
		libdbus-glib-1.so:devel/dbus-glib
15
		libdbus-glib-1.so:devel/dbus-glib
16
16
17
USES=		gmake gnome libtool pathfix pkgconfig python:2.7,build
17
USES=		gmake gnome libtool pathfix pkgconfig python:build
18
USE_LDCONFIG=	yes
18
USE_LDCONFIG=	yes
19
USE_GNOME=	glib20 libxslt:build
19
USE_GNOME=	glib20 libxslt:build
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
(-)net-im/purple-slack/Makefile (-2 / +2 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	purple-slack
3
PORTNAME=	purple-slack
4
PORTVERSION=	20180508
4
PORTVERSION=	20200506
5
CATEGORIES=	net-im
5
CATEGORIES=	net-im
6
6
7
MAINTAINER=	aou@eecs.berkeley.edu
7
MAINTAINER=	aou@eecs.berkeley.edu
Lines 20-26 USE_LDCONFIG= yes Link Here
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	dylex
21
GH_ACCOUNT=	dylex
22
GH_PROJECT=	slack-libpurple
22
GH_PROJECT=	slack-libpurple
23
GH_TAGNAME=	0179b2c
23
GH_TAGNAME=	03ac750
24
24
25
PLIST_FILES=	lib/purple-2/libslack.so \
25
PLIST_FILES=	lib/purple-2/libslack.so \
26
		share/pixmaps/pidgin/protocols/16/slack.png \
26
		share/pixmaps/pidgin/protocols/16/slack.png \
(-)net-im/purple-slack/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1526319813
1
TIMESTAMP = 1588779488
2
SHA256 (dylex-slack-libpurple-20180508-0179b2c_GH0.tar.gz) = 7bcd47a8ac817bb8230764ff7a8048768ebd3a00dab48b322f7ec67204f51697
2
SHA256 (dylex-slack-libpurple-20200506-03ac750_GH0.tar.gz) = 77feab161b051e907c123ee2e3ddbf03f48ce62fd6e5b5c0a5fd95fd8627fb0a
3
SIZE (dylex-slack-libpurple-20180508-0179b2c_GH0.tar.gz) = 49883
3
SIZE (dylex-slack-libpurple-20200506-03ac750_GH0.tar.gz) = 54044
(-)net-im/telepathy-gabble/Makefile (-1 / +1 lines)
Lines 28-34 RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ Link Here
28
28
29
PORTSCOUT=	limitw:1,even
29
PORTSCOUT=	limitw:1,even
30
30
31
USES=		alias gmake gnome libtool pathfix pkgconfig python:2.7,build \
31
USES=		alias gmake gnome libtool pathfix pkgconfig python:build \
32
		shebangfix sqlite ssl
32
		shebangfix sqlite ssl
33
USE_GNOME=	glib20 gtksourceview3 libxslt:build
33
USE_GNOME=	glib20 gtksourceview3 libxslt:build
34
GNU_CONFIGURE=	yes
34
GNU_CONFIGURE=	yes
(-)net-im/telepathy-gabble/distinfo (+1 lines)
Lines 1-2 Link Here
1
TIMESTAMP = 1600948310
1
SHA256 (telepathy-gabble-0.18.3.tar.gz) = 8ec714607e9bcb8d5a3f44adf871e7b07d5db8e326e47536e74e09cba59989c2
2
SHA256 (telepathy-gabble-0.18.3.tar.gz) = 8ec714607e9bcb8d5a3f44adf871e7b07d5db8e326e47536e74e09cba59989c2
2
SIZE (telepathy-gabble-0.18.3.tar.gz) = 2793195
3
SIZE (telepathy-gabble-0.18.3.tar.gz) = 2793195
(-)net-im/telepathy-gabble/files/patch-Makefile.in (-3 / +3 lines)
Lines 1-6 Link Here
1
--- Makefile.in.orig	2010-09-18 17:29:38.000000000 +0000
1
--- Makefile.in.orig	2020-09-24 11:51:08 UTC
2
+++ Makefile.in	2010-09-18 17:29:53.000000000 +0000
2
+++ Makefile.in
3
@@ -267,7 +267,7 @@
3
@@ -349,7 +349,7 @@ top_build_prefix = @top_build_prefix@
4
 top_builddir = @top_builddir@
4
 top_builddir = @top_builddir@
5
 top_srcdir = @top_srcdir@
5
 top_srcdir = @top_srcdir@
6
 ACLOCAL_AMFLAGS = -I m4
6
 ACLOCAL_AMFLAGS = -I m4
(-)net-im/telepathy-gabble/files/patch-lib_gibber_gibber-unix-transport.c (-4 / +4 lines)
Lines 1-6 Link Here
1
--- lib/gibber/gibber-unix-transport.c.orig	2010-06-09 16:09:58.000000000 +0000
1
--- lib/gibber/gibber-unix-transport.c.orig	2013-10-04 15:51:47 UTC
2
+++ lib/gibber/gibber-unix-transport.c	2010-09-18 21:24:44.000000000 +0000
2
+++ lib/gibber/gibber-unix-transport.c
3
@@ -375,6 +375,167 @@ gibber_unix_transport_recv_credentials (
3
@@ -374,6 +374,167 @@ gibber_unix_transport_recv_credentials (GibberUnixTran
4
   return TRUE;
4
   return TRUE;
5
 }
5
 }
6
 
6
 
Lines 168-174 Link Here
168
 #else /* OSs where we have no implementation */
168
 #else /* OSs where we have no implementation */
169
 
169
 
170
 gboolean
170
 gboolean
171
@@ -393,9 +554,7 @@ gibber_unix_transport_recv_credentials (
171
@@ -392,9 +553,7 @@ gibber_unix_transport_recv_credentials (GibberUnixTran
172
 }
172
 }
173
 
173
 
174
 gboolean
174
 gboolean
(-)net-im/telepathy-glib/Makefile (-1 / +1 lines)
Lines 20-26 RUN_DEPENDS= vapigen:lang/vala Link Here
20
20
21
PORTSCOUT=	limitw:1,even
21
PORTSCOUT=	limitw:1,even
22
22
23
USES=		gmake gnome libtool pathfix pkgconfig python:2.7,build
23
USES=		gmake gnome libtool pathfix pkgconfig python:build
24
USE_GNOME=	glib20 introspection:build libxslt:build
24
USE_GNOME=	glib20 introspection:build libxslt:build
25
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
(-)net-im/telepathy-idle/Makefile (-1 / +1 lines)
Lines 14-20 COMMENT= IRC Connection Manager for Telepathy Framework Link Here
14
LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
14
LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
15
		libtelepathy-glib.so:net-im/telepathy-glib
15
		libtelepathy-glib.so:net-im/telepathy-glib
16
16
17
USES=		gmake gnome libtool pathfix pkgconfig python:2.7,build ssl
17
USES=		gmake gnome libtool pathfix pkgconfig python:build ssl
18
USE_GNOME=	glib20 libxslt:build
18
USE_GNOME=	glib20 libxslt:build
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CPPFLAGS+=	-I${LOCALBASE}/include
20
CPPFLAGS+=	-I${LOCALBASE}/include
(-)net-im/telepathy-logger/Makefile (-1 / +1 lines)
Lines 18-24 LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ Link Here
18
		libtelepathy-glib.so:net-im/telepathy-glib
18
		libtelepathy-glib.so:net-im/telepathy-glib
19
19
20
USES=		gettext-tools gmake gnome libtool pathfix pkgconfig \
20
USES=		gettext-tools gmake gnome libtool pathfix pkgconfig \
21
		python:2.7,build sqlite tar:bzip2
21
		python:build sqlite tar:bzip2
22
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
USE_LDCONFIG=	yes
23
USE_LDCONFIG=	yes
24
USE_GNOME=	glib20 intltool libxml2 \
24
USE_GNOME=	glib20 intltool libxml2 \
(-)net-im/telepathy-logger/files/patch-configure (-3 / +3 lines)
Lines 1-6 Link Here
1
--- configure.orig	2010-08-18 14:48:05.000000000 +0200
1
--- configure.orig	2015-04-30 11:32:10 UTC
2
+++ configure	2010-08-18 14:49:13.000000000 +0200
2
+++ configure
3
@@ -13281,8 +13281,8 @@
3
@@ -14348,8 +14348,8 @@ install-data-am: install-gsettings-schemas
4
 .SECONDARY: $(gsettings_SCHEMAS)
4
 .SECONDARY: $(gsettings_SCHEMAS)
5
 
5
 
6
 gsettings__base_list = \
6
 gsettings__base_list = \
(-)net-im/telepathy-mission-control/Makefile (-5 / +5 lines)
Lines 3-20 Link Here
3
#    $MCom: ports/trunk/net-im/telepathy-mission-control/Makefile 19955 2014-10-15 10:15:00Z gusi $
3
#    $MCom: ports/trunk/net-im/telepathy-mission-control/Makefile 19955 2014-10-15 10:15:00Z gusi $
4
4
5
PORTNAME=	telepathy-mission-control
5
PORTNAME=	telepathy-mission-control
6
PORTVERSION=	5.16.3
6
PORTVERSION=	5.16.6
7
PORTREVISION=	1
8
CATEGORIES=	net-im devel
7
CATEGORIES=	net-im devel
9
MASTER_SITES=	http://telepathy.freedesktop.org/releases/telepathy-mission-control/
8
MASTER_SITES=	http://telepathy.freedesktop.org/releases/telepathy-mission-control/
10
9
11
MAINTAINER=	gnome@FreeBSD.org
10
MAINTAINER=	gnome@FreeBSD.org
12
COMMENT=	Telepathy component to apps to abstract details of connection managers
11
COMMENT=	Telepathy component to apps to abstract details of connection managers
13
12
14
LIB_DEPENDS=	libtelepathy.so:net-im/libtelepathy \
13
LIB_DEPENDS=	libtelepathy-glib.so:net-im/telepathy-glib \
15
		libdbus-glib-1.so:devel/dbus-glib
14
		libdbus-glib-1.so:devel/dbus-glib \
15
		libdbus-1.so:devel/dbus
16
16
17
USES=		gmake gnome libtool pathfix pkgconfig python:2.7,build
17
USES=		gmake gnome libtool pathfix pkgconfig python:build
18
USE_GNOME=	glib20 libxslt
18
USE_GNOME=	glib20 libxslt
19
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
20
CPPFLAGS+=	-I${LOCALBASE}/include
20
CPPFLAGS+=	-I${LOCALBASE}/include
(-)net-im/telepathy-mission-control/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (telepathy-mission-control-5.16.3.tar.gz) = 71575d2ff8aa7337aca355e3d921eba5cd2ff050fabc01e51577343093e98b7d
1
TIMESTAMP = 1600879605
2
SIZE (telepathy-mission-control-5.16.3.tar.gz) = 1096019
2
SHA256 (telepathy-mission-control-5.16.6.tar.gz) = 2df8ae3995e919a7670e01aa3568215ef0777e34961ace1cac1c6477cb297a45
3
SIZE (telepathy-mission-control-5.16.6.tar.gz) = 1127785
(-)net-im/telepathy-mission-control/pkg-plist (-22 / +24 lines)
Lines 20-46 libexec/mission-control-5 Link Here
20
man/man1/mc-tool.1.gz
20
man/man1/mc-tool.1.gz
21
man/man1/mc-wait-for-name.1.gz
21
man/man1/mc-wait-for-name.1.gz
22
man/man8/mission-control-5.8.gz
22
man/man8/mission-control-5.8.gz
23
share/doc/telepathy-mission-control/mission-control-plugins/McpAccountManager.html
23
%%DOCSDIR%%/mission-control-plugins/McpAccountManager.html
24
share/doc/telepathy-mission-control/mission-control-plugins/McpDispatchOperation.html
24
%%DOCSDIR%%/mission-control-plugins/McpDispatchOperation.html
25
share/doc/telepathy-mission-control/mission-control-plugins/McpRequest.html
25
%%DOCSDIR%%/mission-control-plugins/McpDispatchOperationPolicy.html
26
share/doc/telepathy-mission-control/mission-control-plugins/annotation-glossary.html
26
%%DOCSDIR%%/mission-control-plugins/McpRequest.html
27
share/doc/telepathy-mission-control/mission-control-plugins/api-index-full.html
27
%%DOCSDIR%%/mission-control-plugins/McpRequestPolicy.html
28
share/doc/telepathy-mission-control/mission-control-plugins/ch01.html
28
%%DOCSDIR%%/mission-control-plugins/annotation-glossary.html
29
share/doc/telepathy-mission-control/mission-control-plugins/ch02.html
29
%%DOCSDIR%%/mission-control-plugins/api-index-full.html
30
share/doc/telepathy-mission-control/mission-control-plugins/ch03.html
30
%%DOCSDIR%%/mission-control-plugins/ch01.html
31
share/doc/telepathy-mission-control/mission-control-plugins/ch04.html
31
%%DOCSDIR%%/mission-control-plugins/ch02.html
32
share/doc/telepathy-mission-control/mission-control-plugins/home.png
32
%%DOCSDIR%%/mission-control-plugins/ch03.html
33
share/doc/telepathy-mission-control/mission-control-plugins/index.html
33
%%DOCSDIR%%/mission-control-plugins/ch04.html
34
share/doc/telepathy-mission-control/mission-control-plugins/index.sgml
34
%%DOCSDIR%%/mission-control-plugins/home.png
35
share/doc/telepathy-mission-control/mission-control-plugins/left.png
35
%%DOCSDIR%%/mission-control-plugins/index.html
36
share/doc/telepathy-mission-control/mission-control-plugins/mission-control-plugins-McpAccountStorage.html
36
%%DOCSDIR%%/mission-control-plugins/left-insensitive.png
37
share/doc/telepathy-mission-control/mission-control-plugins/mission-control-plugins-McpDispatchOperationPolicy.html
37
%%DOCSDIR%%/mission-control-plugins/left.png
38
share/doc/telepathy-mission-control/mission-control-plugins/mission-control-plugins-McpRequestPolicy.html
38
%%DOCSDIR%%/mission-control-plugins/mission-control-plugins-McpAccountStorage.html
39
share/doc/telepathy-mission-control/mission-control-plugins/mission-control-plugins-Plugin-loader-and-global-functions.html
39
%%DOCSDIR%%/mission-control-plugins/mission-control-plugins-Plugin-loader-and-global-functions.html
40
share/doc/telepathy-mission-control/mission-control-plugins/mission-control-plugins.devhelp2
40
%%DOCSDIR%%/mission-control-plugins/mission-control-plugins.devhelp2
41
share/doc/telepathy-mission-control/mission-control-plugins/object-tree.html
41
%%DOCSDIR%%/mission-control-plugins/object-tree.html
42
share/doc/telepathy-mission-control/mission-control-plugins/right.png
42
%%DOCSDIR%%/mission-control-plugins/right-insensitive.png
43
share/doc/telepathy-mission-control/mission-control-plugins/style.css
43
%%DOCSDIR%%/mission-control-plugins/right.png
44
share/doc/telepathy-mission-control/mission-control-plugins/up.png
44
%%DOCSDIR%%/mission-control-plugins/style.css
45
%%DOCSDIR%%/mission-control-plugins/up-insensitive.png
46
%%DOCSDIR%%/mission-control-plugins/up.png
45
share/dbus-1/services/org.freedesktop.Telepathy.AccountManager.service
47
share/dbus-1/services/org.freedesktop.Telepathy.AccountManager.service
46
share/dbus-1/services/org.freedesktop.Telepathy.MissionControl5.service
48
share/dbus-1/services/org.freedesktop.Telepathy.MissionControl5.service
(-)net-im/telepathy-salut/Makefile (-1 / +1 lines)
Lines 19-25 LIB_DEPENDS= libavahi-glib.so:net/avahi-app \ Link Here
19
		libsoup-2.4.so:devel/libsoup
19
		libsoup-2.4.so:devel/libsoup
20
20
21
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
USES=		gmake gnome libtool pathfix pkgconfig python:2.7,build sqlite ssl
22
USES=		gmake gnome libtool pathfix pkgconfig python:build sqlite ssl
23
USE_GNOME=	glib20 libxslt:build
23
USE_GNOME=	glib20 libxslt:build
24
CONFIGURE_ARGS=	--disable-Werror --enable-avahi-tests=no
24
CONFIGURE_ARGS=	--disable-Werror --enable-avahi-tests=no
25
LDFLAGS+=	-lpthread
25
LDFLAGS+=	-lpthread
(-)net-mgmt/netxms/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	netxms
4
PORTNAME=	netxms
5
PORTVERSION=	2.2.2
5
PORTVERSION=	2.2.2
6
PORTREVISION=	1
6
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
7
MASTER_SITES=	http://www.netxms.org/download/releases/2.2/${PORTVERSION}/
8
MASTER_SITES=	http://www.netxms.org/download/releases/2.2/${PORTVERSION}/
8
9
(-)net-mgmt/rtrlib/Makefile (+1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	rtrlib
3
PORTNAME=	rtrlib
4
PORTVERSION=	0.6.3
4
PORTVERSION=	0.6.3
5
PORTREVISION=	1
5
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
6
CATEGORIES=	net-mgmt sysutils
7
CATEGORIES=	net-mgmt sysutils
7
8
(-)net-mgmt/wmi-client/Makefile (-14 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	wmi
4
PORTNAME=	wmi
5
PORTVERSION=	1.3.16
5
PORTVERSION=	1.3.16
6
PORTREVISION=	2
6
PORTREVISION=	3
7
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
8
MASTER_SITES=	http://dev.zenoss.org/trac/export/26435/trunk/inst/externallibs/ \
8
MASTER_SITES=	http://dev.zenoss.org/trac/export/26435/trunk/inst/externallibs/ \
9
		http://www.openvas.org/download/wmi/ \
9
		http://www.openvas.org/download/wmi/ \
Lines 13-21 PKGNAMESUFFIX= -client Link Here
13
MAINTAINER=	koichiro@rworks.jp
13
MAINTAINER=	koichiro@rworks.jp
14
COMMENT=	DCOM/WMI client implementation
14
COMMENT=	DCOM/WMI client implementation
15
15
16
OPTIONS_DEFINE=	PYTHON
17
PYTHON_DESC=	Build Python bindings
18
19
USES=		autoreconf:build gmake iconv tar:bzip2
16
USES=		autoreconf:build gmake iconv tar:bzip2
20
17
21
MAKEFILE=	GNUmakefile
18
MAKEFILE=	GNUmakefile
Lines 27-45 PROGS= bin/wmic bin/winexe Link Here
27
24
28
.include <bsd.port.options.mk>
25
.include <bsd.port.options.mk>
29
26
30
.if ${PORT_OPTIONS:MPYTHON}
31
USES+=		python:2.7
32
MAKE_ARGS+=	PYTHON="${PYTHON_CMD}" PY_LIBDIR="${PYTHONPREFIX_SITELIBDIR}"
33
PLIST_SUB+=	PYTHON=""
34
.else
35
PLIST_SUB+=	PYTHON="@comment "
36
.endif
37
38
.if !${PORT_OPTIONS:MPYTHON}
39
do-install:
27
do-install:
40
.for x in ${PROGS}
28
.for x in ${PROGS}
41
	@${INSTALL_PROGRAM} ${WRKSRC}/Samba/source/${x} ${STAGEDIR}${PREFIX}/${x}
29
	@${INSTALL_PROGRAM} ${WRKSRC}/Samba/source/${x} ${STAGEDIR}${PREFIX}/${x}
42
.endfor
30
.endfor
43
.endif
44
31
45
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)net-mgmt/wmi-client/pkg-plist (-24 lines)
Lines 1-26 Link Here
1
bin/winexe
1
bin/winexe
2
bin/wmic
2
bin/wmic
3
%%PYTHON%%%%PYTHON_SITELIBDIR%%/libasync_wmi_lib.so.0
4
%%PYTHON%%%%PYTHON_SITELIBDIR%%/libasync_wmi_lib.so.0.0.2
5
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/talloc.py
6
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/test/watcher.py
7
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/test/connect.py
8
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/test/wmic.py
9
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/__init__.py
10
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/version.pyc
11
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/library.py
12
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/composite_context.py
13
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/version.py
14
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/ndr.py
15
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/Rpc.py
16
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/__init__.py
17
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/credentials.py
18
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/dcerpc.py
19
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/rpc_request.py
20
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/rpc/oxidresolver.py
21
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/wbem/__init__.py
22
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/wbem/Query.py
23
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/wbem/wbem.py
24
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/twisted/callback.py
25
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/twisted/__init__.py
26
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pysamba/twisted/reactor.py
(-)net/3proxy/Makefile (-1 lines)
Lines 27-33 OPTIONS_DEFINE= DOCS Link Here
27
3PROXY_LOGDIR=	/var/log/${PORTNAME}
27
3PROXY_LOGDIR=	/var/log/${PORTNAME}
28
28
29
post-patch:
29
post-patch:
30
	@${REINPLACE_CMD} -e 's|%%CFLAGS%%|${CFLAGS}|' ${WRKSRC}/${MAKEFILE}
31
	@${REINPLACE_CMD} -e 's|%%3PROXY_LOGDIR%%|${3PROXY_LOGDIR}|' ${WRKSRC}/cfg/3proxy.cfg.sample
30
	@${REINPLACE_CMD} -e 's|%%3PROXY_LOGDIR%%|${3PROXY_LOGDIR}|' ${WRKSRC}/cfg/3proxy.cfg.sample
32
31
33
post-build:
32
post-build:
(-)net/libfabric/Makefile (-19 lines)
Lines 41-63 ${p}_DESC= '${p:tl}' provider Link Here
41
${p}_CONFIGURE_ENABLE=		${p:tl}
41
${p}_CONFIGURE_ENABLE=		${p:tl}
42
.endfor
42
.endfor
43
43
44
SED_WRAP_CLOSE=	{ \
45
		i\\\n \
46
		\#ifdef SHIM_SYS_SHIM_HELPERS\\\n \
47
		\#undef close\\\n \
48
		\#endif\n \
49
		a\\\n \
50
		\#ifdef SHIM_SYS_SHIM_HELPERS\\\n \
51
		\#define close epoll_shim_close\\\n \
52
		\#endif\n \
53
		}
54
55
post-patch:
56
	@${FIND} ${WRKSRC} -name "*.[ch]" -and -exec ${GREP} -q '<asm/types\.h>' {} \; -print | ${XARGS} ${REINPLACE_CMD} 's|<asm/types\.h>|<sys/types.h>|'
57
	@${FIND} ${WRKSRC} -name "*.[ch]" -and -exec ${GREP} -q '<malloc\.h>' {} \; -print | ${XARGS} ${REINPLACE_CMD} 's|<malloc\.h>|<stdlib.h>|'
58
	@${FIND} ${WRKSRC} -name "*.[ch]" -and -exec ${GREP} -q '<alloca\.h>' {} \; -print | ${XARGS} ${REINPLACE_CMD} 's|<alloca\.h>|<stdlib.h>|'
59
	@${GREP} -Flr --include='*.c' '.close' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} $$'/\\.close/${SED_WRAP_CLOSE}'
60
	@${REINPLACE_CMD} $$'/fi_ops.*close/${SED_WRAP_CLOSE}' ${WRKSRC}/src/fabric.c
61
	@${REINPLACE_CMD} $$'/[*>]close/${SED_WRAP_CLOSE}' ${WRKSRC}/include/rdma/fabric.h
62
63
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)net/py-amqp/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	amqp
4
PORTNAME=	amqp
5
PORTVERSION=	2.5.2
5
PORTVERSION=	2.6.0
6
CATEGORIES=	net python
6
CATEGORIES=	net python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)net/py-amqp/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1576935968
1
TIMESTAMP = 1591193914
2
SHA256 (amqp-2.5.2.tar.gz) = 77f1aef9410698d20eaeac5b73a87817365f457a507d82edf292e12cbb83b08d
2
SHA256 (amqp-2.6.0.tar.gz) = 24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b
3
SIZE (amqp-2.5.2.tar.gz) = 117788
3
SIZE (amqp-2.6.0.tar.gz) = 119679
(-)net/py-kombu/Makefile (-2 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	kombu
4
PORTNAME=	kombu
5
PORTVERSION=	4.6.9
5
PORTVERSION=	4.6.10
6
CATEGORIES=	net python
6
CATEGORIES=	net python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 13-19 COMMENT= AMQP messaging framework for Python Link Here
13
LICENSE=	BSD3CLAUSE
13
LICENSE=	BSD3CLAUSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
15
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}amqp>=2.5.2<2.6:net/py-amqp@${PY_FLAVOR}
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}amqp>=2.6.0:net/py-amqp@${PY_FLAVOR}
17
17
18
USES=		python:3.6+
18
USES=		python:3.6+
19
USE_PYTHON=	autoplist distutils
19
USE_PYTHON=	autoplist distutils
(-)net/py-kombu/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1591096845
1
TIMESTAMP = 1591193664
2
SHA256 (kombu-4.6.9.tar.gz) = aece08f48706743aaa1b9d607fee300559481eafcc5ee56451aa0ef867a3be07
2
SHA256 (kombu-4.6.10.tar.gz) = 437b9cdea193cc2ed0b8044c85fd0f126bb3615ca2f4d4a35b39de7cacfa3c1a
3
SIZE (kombu-4.6.9.tar.gz) = 405851
3
SIZE (kombu-4.6.10.tar.gz) = 406494
(-)net/remmina-plugin-nx/Makefile (+1 lines)
Lines 1-6 Link Here
1
# Created by: Koichiro IWAO <meta+ports@vmeta.jp>
1
# Created by: Koichiro IWAO <meta+ports@vmeta.jp>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTREVISION=	1
4
PKGNAMESUFFIX=	-nx
5
PKGNAMESUFFIX=	-nx
5
6
6
COMMENT=	Remmina plugin for NX
7
COMMENT=	Remmina plugin for NX
(-)net/sshping/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	sshping
4
PORTNAME=	sshping
5
PORTVERSION=	0.1.4
5
PORTVERSION=	0.1.4
6
PORTREVISION=	1
6
DISTVERSIONPREFIX=	v
7
DISTVERSIONPREFIX=	v
7
CATEGORIES=	net
8
CATEGORIES=	net
8
9
(-)net/tinyfugue/Makefile (-4 lines)
Lines 24-33 LDFLAGS+= -L${LOCALBASE} Link Here
24
24
25
PLIST_SUB=	DISTNAME=${DISTNAME}
25
PLIST_SUB=	DISTNAME=${DISTNAME}
26
26
27
post-patch:
28
	${REINPLACE_CMD} 's:@.*dir@:$${DESTDIR}&:' ${WRKSRC}/unix/vars.mak.in
29
	${REINPLACE_CMD} '/ln -s/s@(TF)@(TF:T)@' ${WRKSRC}/unix/unix.mak
30
31
post-build:
27
post-build:
32
	${STRIP_CMD} ${WRKSRC}/src/tf
28
	${STRIP_CMD} ${WRKSRC}/src/tf
33
29
(-)net/x2goclient/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	x2goclient
4
PORTNAME=	x2goclient
5
PORTVERSION=	4.1.2.1
5
PORTVERSION=	4.1.2.1
6
PORTREVISION=	1
6
CATEGORIES=	net
7
CATEGORIES=	net
7
MASTER_SITES=	http://code.x2go.org/releases/source/x2goclient/
8
MASTER_SITES=	http://code.x2go.org/releases/source/x2goclient/
8
9
(-)ports-mgmt/synth/Makefile (-3 / +3 lines)
Lines 4-9 Link Here
4
PORTNAME=	synth
4
PORTNAME=	synth
5
DISTVERSIONPREFIX=	v
5
DISTVERSIONPREFIX=	v
6
DISTVERSION=	2.08
6
DISTVERSION=	2.08
7
PORTREVISION=	1
7
CATEGORIES=	ports-mgmt
8
CATEGORIES=	ports-mgmt
8
9
9
MAINTAINER=	ericbsd@FreeBSD.org
10
MAINTAINER=	ericbsd@FreeBSD.org
Lines 12-22 COMMENT= Custom package repository builder for FreeBSD and DragonFly Link Here
12
LICENSE=	ISCL
13
LICENSE=	ISCL
13
LICENSE_FILE=	${WRKSRC}/License.txt
14
LICENSE_FILE=	${WRKSRC}/License.txt
14
15
15
BUILD_DEPENDS=	${LOCALBASE}/lib/libncurses.a:devel/ncurses \
16
BUILD_DEPENDS=	${GPR}/ini_file_manager.gpr:misc/ini_file_manager \
16
		${GPR}/ini_file_manager.gpr:misc/ini_file_manager \
17
		${GPR}/adacurses.gpr:devel/adacurses
17
		${GPR}/adacurses.gpr:devel/adacurses
18
18
19
USES=		ada:6
19
USES=		ada:6 ncurses
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	jrmarino
21
GH_ACCOUNT=	jrmarino
22
22
(-)print/a2ps/Makefile (-2 / +2 lines)
Lines 53-60 CONFIGURE_ENV+= EMACS=no Link Here
53
.endif
53
.endif
54
54
55
post-patch:
55
post-patch:
56
	${REINPLACE_CMD} -e 's|^DESTDIR|#DESTDIR|' \
56
	@${REINPLACE_CMD} -e 's|^DESTDIR|#DESTDIR|' \
57
		`${FIND} ${WRKSRC} -name "Makefile.in"`
57
${WRKSRC}/ppd/Makefile.in ${WRKSRC}/man/Makefile.in ${WRKSRC}/doc/Makefile.in ${WRKSRC}/contrib/sample/Makefile.in ${WRKSRC}/contrib/emacs/Makefile.in ${WRKSRC}/contrib/Makefile.in ${WRKSRC}/Makefile.in ${WRKSRC}/ps/Makefile.in ${WRKSRC}/fonts/Makefile.in ${WRKSRC}/ogonkify/Makefile.in ${WRKSRC}/ogonkify/m4/Makefile.in ${WRKSRC}/ogonkify/doc/Makefile.in ${WRKSRC}/lib/Makefile.in ${WRKSRC}/auxdir/Makefile.in ${WRKSRC}/m4/Makefile.in ${WRKSRC}/sheets/Makefile.in ${WRKSRC}/encoding/Makefile.in ${WRKSRC}/afm/Makefile.in ${WRKSRC}/etc/Makefile.in ${WRKSRC}/tests/Makefile.in ${WRKSRC}/src/Makefile.in
58
58
59
.if ${PORT_OPTIONS:MI18N}
59
.if ${PORT_OPTIONS:MI18N}
60
#DISTFILES+=	${I18N_PACKAGE}${EXTRACT_SUFX}:i18n
60
#DISTFILES+=	${I18N_PACKAGE}${EXTRACT_SUFX}:i18n
(-)print/alignmargins/files/patch-alignmargins (-4 / +4 lines)
Lines 7-13 Link Here
7
 my $programpath = $1;
7
 my $programpath = $1;
8
-my $printcommand = '/usr/bin/lpr -P ';
8
-my $printcommand = '/usr/bin/lpr -P ';
9
-my $egrep = '/bin/egrep';
9
-my $egrep = '/bin/egrep';
10
+my $printcommand = '/usr/local/bin/lpr -P ';
10
+my $printcommand = '%%LOCALBASE%%/bin/lpr -P ';
11
+my $egrep = '/usr/bin/egrep';
11
+my $egrep = '/usr/bin/egrep';
12
 my $cat = '/bin/cat';
12
 my $cat = '/bin/cat';
13
 my $cut = '/usr/bin/cut';
13
 my $cut = '/usr/bin/cut';
Lines 18-26 Link Here
18
-my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:/usr/share/alignmargins:/usr/local/share/alignmargins:/usr/share:/usr/local/share:/usr/share/printer-testpages:/usr/local/share/printer-testpages:/usr/share/ghostscript/*/lib:/usr/local/share/ghostscript/*/lib';
18
-my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:/usr/share/alignmargins:/usr/local/share/alignmargins:/usr/share:/usr/local/share:/usr/share/printer-testpages:/usr/local/share/printer-testpages:/usr/share/ghostscript/*/lib:/usr/local/share/ghostscript/*/lib';
19
-my $ppddir = '/etc/cups/ppd';
19
-my $ppddir = '/etc/cups/ppd';
20
-my $printerconffile = '/etc/cups/printers.conf';
20
-my $printerconffile = '/etc/cups/printers.conf';
21
+my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:/usr/local/share/alignmargins:/usr/share/alignmargins:/usr/local/share/alignmargins:/usr/share:/usr/local/share:/usr/share/printer-testpages:/usr/local/share/printer-testpages:/usr/share/ghostscript/*/lib:/usr/local/share/ghostscript/*/lib';
21
+my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:%%DATADIR%%:%%LOCALBASE%%/share/alignmargins:/usr/share:%%LOCALBASE%%/share:%%LOCALBASE%%/share/printer-testpages:%%LOCALBASE%%/share/ghostscript/*/lib';
22
+my $ppddir = '/usr/local/etc/cups/ppd';
22
+my $ppddir = '%%LOCALBASE%%/etc/cups/ppd';
23
+my $printerconffile = '/usr/local/etc/cups/printers.conf';
23
+my $printerconffile = '%%LOCALBASE%%/etc/cups/printers.conf';
24
 
24
 
25
 # Find "ælign.ps"
25
 # Find "ælign.ps"
26
 
26
 
(-)print/freetype2/Makefile (-4 / +10 lines)
Lines 79-84 V40_VARS= SUBPIXEL_HINTING_MODE+=2 Link Here
79
79
80
.include <bsd.port.pre.mk>
80
.include <bsd.port.pre.mk>
81
81
82
DEFAULT_SUBPIXEL_MODE=	2
82
SELECTED_MODE=	\
83
SELECTED_MODE=	\
83
	r=0; \
84
	r=0; \
84
	for m in ${SUBPIXEL_HINTING_MODE}; \
85
	for m in ${SUBPIXEL_HINTING_MODE}; \
Lines 86-115 SELECTED_MODE= \ Link Here
86
	done; \
87
	done; \
87
	${ECHO_CMD} $$r
88
	${ECHO_CMD} $$r
88
89
90
FINAL_SELECTED_MODE=	${SELECTED_MODE:sh}
89
pre-patch:
91
pre-patch:
90
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
92
	@${REINPLACE_CMD} -e 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
91
		${WRKSRC}/builds/unix/install.mk
93
		${WRKSRC}/builds/unix/install.mk
92
94
93
post-patch:
95
post-patch:
94
.if defined(SUBPIXEL_HINTING_MODE)
96
.if defined(SUBPIXEL_HINTING_MODE)
95
	@${REINPLACE_CMD} -i '.hinting.bak' \
97
.if ${FINAL_SELECTED_MODE} != ${DEFAULT_SUBPIXEL_MODE}
98
	@${REINPLACE_CMD} \
96
		-e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING\).*|\1 \
99
		-e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING\).*|\1 \
97
	${SELECTED_MODE:sh}|' \
100
	${SELECTED_MODE:sh}|' \
98
		${WRKSRC}/include/freetype/config/ftoption.h
101
		${WRKSRC}/include/freetype/config/ftoption.h
102
.endif
99
.else
103
.else
104
.if ${FINAL_SELECTED_MODE} != ${DEFAULT_SUBPIXEL_MODE}
100
	@${REINPLACE_CMD} -i '.hinting.bak' \
105
	@${REINPLACE_CMD} -i '.hinting.bak' \
101
		-e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING.*\)|/* \1 */|' \
106
		-e 's|^\(#define TT_CONFIG_OPTION_SUBPIXEL_HINTING.*\)|/* \1 */|' \
102
		${WRKSRC}/include/freetype/config/ftoption.h
107
		${WRKSRC}/include/freetype/config/ftoption.h
103
.endif
108
.endif
109
.endif
104
110
105
post-patch-DEBUG-on:
111
post-patch-DEBUG-on:
106
	@${REINPLACE_CMD} -i '.debug.bak' \
112
	@${REINPLACE_CMD} \
107
		-e 's|.*\(#define FT_DEBUG_LEVEL_TRACE\).*|\1|' \
113
		-e 's|.*\(#define FT_DEBUG_LEVEL_TRACE\).*|\1|' \
108
		-e 's|.*\(#define FT_DEBUG_MEMORY\).*|\1|' \
114
		-e 's|.*\(#define FT_DEBUG_MEMORY\).*|\1|' \
109
		${WRKSRC}/include/freetype/config/ftoption.h
115
		${WRKSRC}/include/freetype/config/ftoption.h
110
116
111
post-patch-LONG_PCF_NAMES-on:
117
post-patch-LONG_PCF_NAMES-on:
112
	@${REINPLACE_CMD} -i '.names.bak' \
118
	@${REINPLACE_CMD} \
113
		-e 's|.*\(#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES\).*|\1|' \
119
		-e 's|.*\(#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES\).*|\1|' \
114
		${WRKSRC}/include/freetype/config/ftoption.h
120
		${WRKSRC}/include/freetype/config/ftoption.h
115
121
Lines 118-124 post-patch-TABLE_VALIDATION-on: Link Here
118
		${WRKSRC}/modules.cfg
124
		${WRKSRC}/modules.cfg
119
125
120
post-patch-TT_SIZE_METRICS-on:
126
post-patch-TT_SIZE_METRICS-on:
121
	@${REINPLACE_CMD} -i '.metrics.bak' \
127
	@${REINPLACE_CMD} \
122
		-e 's|.*\(#define AF_CONFIG_OPTION_TT_SIZE_METRICS\).*|\1|' \
128
		-e 's|.*\(#define AF_CONFIG_OPTION_TT_SIZE_METRICS\).*|\1|' \
123
		${WRKSRC}/include/freetype/config/ftoption.h
129
		${WRKSRC}/include/freetype/config/ftoption.h
124
130
(-)print/xreader/Makefile (-6 / +2 lines)
Lines 50-57 KEYRING_MESON_OFF= -Dkeyring=false Link Here
50
PDF_LIB_DEPENDS=	libpoppler-glib.so:graphics/poppler-glib
50
PDF_LIB_DEPENDS=	libpoppler-glib.so:graphics/poppler-glib
51
PDF_MESON_OFF=		-Dpdf=false
51
PDF_MESON_OFF=		-Dpdf=false
52
52
53
PS_LIB_DEPENDS=		libspectre.so:print/libspectre
53
PS_LIB_DEPENDS=	libspectre.so:print/libspectre
54
PS_MESON_OFF=		-Dps=false
54
PS_MESON_OFF=	-Dps=false
55
55
56
TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
56
TIFF_LIB_DEPENDS=	libtiff.so:graphics/tiff
57
TIFF_MESON_OFF=		-Dtiff=false
57
TIFF_MESON_OFF=		-Dtiff=false
Lines 59-66 TIFF_MESON_OFF= -Dtiff=false Link Here
59
XPS_LIB_DEPENDS=	libgxps.so:graphics/libgxps
59
XPS_LIB_DEPENDS=	libgxps.so:graphics/libgxps
60
XPS_MESON_OFF=		-Dxps=false
60
XPS_MESON_OFF=		-Dxps=false
61
61
62
post-patch:
63
	@${REINPLACE_CMD} -e '/gdk\/gdkwayland\.h/d' \
64
		${WRKSRC}/libdocument/ev-document-misc.h
65
66
.include <bsd.port.mk>
62
.include <bsd.port.mk>
(-)science/p5-Chemistry-3DBuilder/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-3DBuilder
3
PORTNAME=	Chemistry-3DBuilder
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Generate 3D coordinates from a connection table
12
COMMENT=	Generate 3D coordinates from a connection table
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-Bond-Find/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-Bond-Find
3
PORTNAME=	Chemistry-Bond-Find
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Detect bonds in a molecule and assign formal bond orders
12
COMMENT=	Detect bonds in a molecule and assign formal bond orders
14
13
15
LICENSE=	ART10 GPLv1+
14
LICENSE=	ART10 GPLv1+
(-)science/p5-Chemistry-Canonicalize/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-Canonicalize
3
PORTNAME=	Chemistry-Canonicalize
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Number the atoms in a molecule in a unique way
12
COMMENT=	Number the atoms in a molecule in a unique way
14
13
15
LICENSE=	ART10 GPLv1+
14
LICENSE=	ART10 GPLv1+
(-)science/p5-Chemistry-File-MDLMol/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-File-MDLMol
3
PORTNAME=	Chemistry-File-MDLMol
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	MDL molfile reader/write
12
COMMENT=	MDL molfile reader/write
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-File-Mopac/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-File-Mopac
3
PORTNAME=	Chemistry-File-Mopac
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	MOPAC 6 input file reader/writer
12
COMMENT=	MOPAC 6 input file reader/writer
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-File-SLN/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-File-SLN
3
PORTNAME=	Chemistry-File-SLN
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	SLN linear notation parser/writer
12
COMMENT=	SLN linear notation parser/writer
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-File-SMARTS/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-File-SMARTS
3
PORTNAME=	Chemistry-File-SMARTS
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	SMARTS chemical substructure pattern linear notation parser
12
COMMENT=	SMARTS chemical substructure pattern linear notation parser
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-File-SMILES/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-File-SMILES
3
PORTNAME=	Chemistry-File-SMILES
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	SMILES linear notation parser/writer
12
COMMENT=	SMILES linear notation parser/writer
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-File-VRML/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-File-VRML
3
PORTNAME=	Chemistry-File-VRML
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Generate VRML models for molecules
12
COMMENT=	Generate VRML models for molecules
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol
(-)science/p5-Chemistry-File-XYZ/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-File-XYZ
3
PORTNAME=	Chemistry-File-XYZ
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	XYZ molecule format reader/writer
12
COMMENT=	XYZ molecule format reader/writer
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol
(-)science/p5-Chemistry-FormulaPattern/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-FormulaPattern
3
PORTNAME=	Chemistry-FormulaPattern
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Match molecule by formula
12
COMMENT=	Match molecule by formula
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-InternalCoords/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-InternalCoords
3
PORTNAME=	Chemistry-InternalCoords
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Represent the position of an atom using internal coordinates
12
COMMENT=	Represent the position of an atom using internal coordinates
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-Isotope/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-Isotope
3
PORTNAME=	Chemistry-Isotope
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Table of the isotopes exact mass data
12
COMMENT=	Table of the isotopes exact mass data
14
13
15
USES=		perl5
14
USES=		perl5
(-)science/p5-Chemistry-MidasPattern/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-MidasPattern
3
PORTNAME=	Chemistry-MidasPattern
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Select atoms in macromolecules
12
COMMENT=	Select atoms in macromolecules
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-Mok/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-Mok
3
PORTNAME=	Chemistry-Mok
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Molecular awk interpreter
12
COMMENT=	Molecular awk interpreter
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)science/p5-Chemistry-Pattern/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-Pattern
3
PORTNAME=	Chemistry-Pattern
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Chemical substructure pattern matching
12
COMMENT=	Chemical substructure pattern matching
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol
(-)science/p5-Chemistry-Reaction/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-Reaction
3
PORTNAME=	Chemistry-Reaction
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Represent a ring as a substructure of a molecule
12
COMMENT=	Represent a ring as a substructure of a molecule
14
13
15
LICENSE=	ART10 GPLv1+
14
LICENSE=	ART10 GPLv1+
(-)science/p5-Chemistry-Ring/Makefile (-2 / +1 lines)
Lines 1-4 Link Here
1
# Created by: Steve Wills <steve@mouf.net>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	Chemistry-Ring
3
PORTNAME=	Chemistry-Ring
Lines 9-15 MASTER_SITES= CPAN Link Here
9
MASTER_SITE_SUBDIR=	CPAN:ITUB
8
MASTER_SITE_SUBDIR=	CPAN:ITUB
10
PKGNAMEPREFIX=	p5-
9
PKGNAMEPREFIX=	p5-
11
10
12
MAINTAINER=	swills@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Represent a ring as a substructure of a molecule
12
COMMENT=	Represent a ring as a substructure of a molecule
14
13
15
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
14
BUILD_DEPENDS=	p5-Chemistry-Mol>=0:science/p5-Chemistry-Mol \
(-)security/honeytrap/Makefile (-18 / +20 lines)
Lines 1-19 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	honeytrap
3
PORTNAME=	honeytrap
4
DISTVERSION=	g20200415
4
DISTVERSION=	g20200625
5
CATEGORIES=	security
5
CATEGORIES=	security
6
6
7
MAINTAINER=	remco.verhoef@dutchsec.com
7
MAINTAINER=	ezri.mudde@dutchsec.com
8
COMMENT=	HoneyTrap Freebsd port
8
COMMENT=	Framework for running, monitoring and managing honeypots
9
9
10
LICENSE=	ART20
10
LICENSE=	ART20
11
11
12
USES=		go:modules
12
USES=		go:modules
13
GO_BUILDFLAGS=	-ldflags '-X github.com/honeytrap/honeytrap/cmd.Version=2020-07-22T08:34:55 -X github.com/honeytrap/honeytrap/cmd.ReleaseTag=DEVELOPMENT.2020-07-22T08-34-55Z -X github.com/honeytrap/honeytrap/cmd.CommitID=33bbb2db3a3140b0ce4fbda14747bc954e0bcadd -X github.com/honeytrap/honeytrap/cmd.ShortCommitID=33bbb2db3a31 -extldflags "static"'
13
USE_GITHUB=	yes
14
USE_GITHUB=	yes
14
GH_TAGNAME=	d8d94c8f
15
GH_TAGNAME=	33bbb2d
15
GH_TUPLE=	\
16
GH_TUPLE=	AndreasBriese:bbloom:28f7e881ca57:andreasbriese_bbloom/vendor/github.com/AndreasBriese/bbloom \
16
		AndreasBriese:bbloom:28f7e881ca57:andreasbriese_bbloom/vendor/github.com/AndreasBriese/bbloom \
17
		BurntSushi:toml:v0.3.0:burntsushi_toml/vendor/github.com/BurntSushi/toml \
17
		BurntSushi:toml:v0.3.0:burntsushi_toml/vendor/github.com/BurntSushi/toml \
18
		Logicalis:asn1:c9c836c1a3cd:logicalis_asn1/vendor/github.com/Logicalis/asn1 \
18
		Logicalis:asn1:c9c836c1a3cd:logicalis_asn1/vendor/github.com/Logicalis/asn1 \
19
		Shopify:sarama:v1.16.0:shopify_sarama/vendor/github.com/Shopify/sarama \
19
		Shopify:sarama:v1.16.0:shopify_sarama/vendor/github.com/Shopify/sarama \
Lines 70-91 GH_TUPLE= \ Link Here
70
		yuin:gopher-lua:8bfc7677f583:yuin_gopher_lua/vendor/github.com/yuin/gopher-lua \
70
		yuin:gopher-lua:8bfc7677f583:yuin_gopher_lua/vendor/github.com/yuin/gopher-lua \
71
		google:gvisor:3eb302470365:google_gvisor/vendor/gvisor.dev/gvisor
71
		google:gvisor:3eb302470365:google_gvisor/vendor/gvisor.dev/gvisor
72
72
73
USERS=		honeytrap
73
HONEYTRAP_USER?=	honeytrap
74
GROUPS=		honeytrap
74
HONEYTRAP_GROUP?=	honeytrap
75
HONEYTRAP_DBDIR?=	/var/db/${PORTNAME}
76
77
USERS=		${HONEYTRAP_USER}
78
GROUPS=		${HONEYTRAP_GROUP}
75
USE_RC_SUBR=	honeytrap
79
USE_RC_SUBR=	honeytrap
76
PLIST_FILES=	bin/honeytrap \
80
PLIST_FILES=	"@sample(honeytrap,honeytrap,0600) ${ETCDIR}/honeytrap.toml.sample" \
77
		etc/honeytrap.toml \
81
		bin/honeytrap
78
		"@dir(honeytrap,honeytrap,4744) /var/log/honeytrap" \
82
79
		"@dir(honeytrap,honeytrap,4744) libdata/honeytrap"
83
SUB_LIST=	GROUP=${HONEYTRAP_GROUP} \
84
		HONEYTRAP_DBDIR=${HONEYTRAP_DBDIR} \
85
		USER=${HONEYTRAP_USER}
80
86
81
do-install:
87
do-install:
82
	${MKDIR} ${STAGEDIR}${PREFIX}/bin
88
	${MKDIR} ${STAGEDIR}${PREFIX}/bin
83
	${INSTALL_PROGRAM} ${WRKDIR}/bin/honeytrap ${STAGEDIR}${PREFIX}/bin/honeytrap
89
	${INSTALL_PROGRAM} ${WRKDIR}/bin/honeytrap ${STAGEDIR}${PREFIX}/bin/honeytrap
84
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
90
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d ${STAGEDIR}${ETCDIR}
85
	${INSTALL_DATA} ${FILESDIR}/etc/honeytrap.toml ${STAGEDIR}${PREFIX}/etc
91
	${INSTALL_DATA} ${FILESDIR}/honeytrap.toml ${STAGEDIR}${ETCDIR}/honeytrap.toml.sample
86
87
post-install:
88
	${MKDIR} ${STAGEDIR}${PREFIX}/libdata/honeytrap
89
	${MKDIR} ${STAGEDIR}/var/log/honeytrap
90
92
91
.include <bsd.port.mk>
93
.include <bsd.port.mk>
(-)security/honeytrap/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
TIMESTAMP = 1587390791
1
TIMESTAMP = 1595352531
2
SHA256 (honeytrap-honeytrap-g20200415-d8d94c8f_GH0.tar.gz) = f565e52e8f4bbebc3765bd2ead68b7ab141da4ef00073749ae55268290f5d13a
2
SHA256 (honeytrap-honeytrap-g20200625-33bbb2d_GH0.tar.gz) = a6390179c0ba3282d7523f3633d4a15852f39081fd666f4ac3a4c37f95fef4c4
3
SIZE (honeytrap-honeytrap-g20200415-d8d94c8f_GH0.tar.gz) = 379014
3
SIZE (honeytrap-honeytrap-g20200625-33bbb2d_GH0.tar.gz) = 379053
4
SHA256 (AndreasBriese-bbloom-28f7e881ca57_GH0.tar.gz) = c87bf25d12aa9ef597c6a465dd2959d6d7e06d8341030d6d75c8a81ccc388ccd
4
SHA256 (AndreasBriese-bbloom-28f7e881ca57_GH0.tar.gz) = c87bf25d12aa9ef597c6a465dd2959d6d7e06d8341030d6d75c8a81ccc388ccd
5
SIZE (AndreasBriese-bbloom-28f7e881ca57_GH0.tar.gz) = 7141
5
SIZE (AndreasBriese-bbloom-28f7e881ca57_GH0.tar.gz) = 7141
6
SHA256 (BurntSushi-toml-v0.3.0_GH0.tar.gz) = 2c49390424cfb043f803977bce80b1504495bada54f9e845ff8b30a05fab9a36
6
SHA256 (BurntSushi-toml-v0.3.0_GH0.tar.gz) = 2c49390424cfb043f803977bce80b1504495bada54f9e845ff8b30a05fab9a36
(-)security/honeytrap/files/etc/honeytrap.toml (-20 lines)
Removed Link Here
1
[listener]
2
type="socket"
3
4
[service.ssh-simulator]
5
type="ssh-simulator"
6
credentials=["root:root", "root:password"]
7
8
[[port]]
9
ports=["tcp/8022"]
10
services=["ssh-simulator"]
11
12
[channel.console]
13
type="console"
14
15
[[filter]]
16
channel=["console"]
17
18
[[logging]]
19
output="/var/log/honeytrap/logging.log"
20
level="debug"
(-)security/honeytrap/files/honeytrap.in (-19 / +66 lines)
Lines 3-20 Link Here
3
# $FreeBSD$
3
# $FreeBSD$
4
#
4
#
5
# PROVIDE: honeytrap
5
# PROVIDE: honeytrap
6
# REQUIRE: LOGIN
6
# REQUIRE: NETWORKING SERVERS DAEMON
7
# KEYWORD: shutdown
7
# KEYWORD: shutdown
8
9
# Add honeytrap_enable="YES" to /etc/rc.conf to enable Honeytrap
10
11
# Additional variables you can define are:
12
13
# honeytrap_config (path):                Config file path.
14
#                                         Set to %%ETCDIR%%/honeytrap.toml by default.
15
# honeytrap_datadir (dir):                Set dir to store honeytrap data in.
16
#                                         Default is "%%HONEYTRAP_DBDIR%%"
17
# honeytrap_logdir (dir):                 Set dir to store honeytrap logs in.
18
#                                         Default is "/var/log/honeytrap"
19
# honeytrap_user (string):                Set user to run honeytrap.
20
#                                         Default is "%%USER%%".
21
# honeytrap_group (string):               Set group to run honeytrap.
22
#                                         Default is "%%GROUP%%".
23
# honeytrap_pidfile (string):             Set full path to pid file
24
#                                         Default is "/var/run/honeytrap.pid"
25
# honeytrap_syslog_output_enable (bool):  Set to YES to enable syslog output
26
#                                         Default is "NO". See daemon(8).
27
# honeytrap_syslog_output_tag (str):      Set syslog tag if syslog enabled.
28
#                                         Default is "honeytrap". See daemon(8).
29
# honeytrap_syslog_output_priority (str): Set syslog priority if syslog enabled.
30
#                                         Default is "info". See daemon(8).
31
# honeytrap_syslog_output_facility (str): Set syslog facility if syslog enabled.
32
#                                         Default is "daemon". See daemon(8).
8
#
33
#
9
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
10
# to enable this service:
11
#
12
# honeytrap_enable (bool):	Set to NO by default.
13
#				Set it to YES to enable honeytrap.
14
# honeytrap_datadir (path):	Set to %%PREFIX%%/libdata/honeytrap
15
#				by default.
16
# honeytrap_config (path):	Set to %%PREFIX%%/etc/honeytrap.toml
17
#				by default.
18
34
19
. /etc/rc.subr
35
. /etc/rc.subr
20
36
Lines 24-41 rcvar=honeytrap_enable Link Here
24
load_rc_config $name
40
load_rc_config $name
25
41
26
: ${honeytrap_enable:="NO"}
42
: ${honeytrap_enable:="NO"}
27
: ${honeytrap_datadir="%%PREFIX%%/libdata/honeytrap"}
43
: ${honeytrap_config="%%ETCDIR%%/honeytrap.toml"}
28
: ${honeytrap_config="%%PREFIX%%/etc/honeytrap.toml"}
44
: ${honeytrap_datadir:="%%HONEYTRAP_DBDIR%%"}
45
: ${honeytrap_logdir:="/var/log/honeytrap"}
46
: ${honeytrap_user:="%%USER%%"}
47
: ${honeytrap_group:="%%GROUP%%"}
48
: ${honeytrap_pidfile:="/var/run/${name}.pid"}
49
: ${honeytrap_syslog_output_enable:="NO"}
50
51
pidfile=${honeytrap_pidfile}
52
procname="%%PREFIX%%/bin/honeytrap"
53
command="/usr/sbin/daemon"
29
54
30
start_cmd="${name}_start"
55
start_precmd="honeytrap_start_precmd"
31
56
32
honeytrap_program="%%PREFIX%%/bin/honeytrap"
57
if checkyesno honeytrap_syslog_output_enable; then
33
honeytrap_flags="--data $honeytrap_datadir --config $honeytrap_config"
58
    if [ -n "${honeytrap_syslog_output_tag}" ]; then
34
pidfile=/var/run/${name}.pid
59
        honeytrap_syslog_output_flags="-T ${honeytrap_syslog_output_tag}"
60
    else
61
        honeytrap_syslog_output_flags="-T ${name}"
62
    fi
63
    if [ -n "${honeytrap_syslog_output_priority}" ]; then
64
        honeytrap_syslog_output_flags="${honeytrap_syslog_output_flags} -s ${honeytrap_syslog_output_priority}"
65
    fi
35
66
36
honeytrap_start()
67
    if [ -n "${honeytrap_syslog_output_facility}" ]; then
68
        honeytrap_syslog_output_flags="${honeytrap_syslog_output_flags} -l ${honeytrap_syslog_output_facility}"
69
    fi
70
fi
71
72
command_args="-f -t ${name} ${honeytrap_syslog_output_flags} -p ${pidfile} /usr/bin/env ${honeytrap_env} ${procname} --data ${honeytrap_datadir} --config ${honeytrap_config} ${honeytrap_flags}"
73
74
honeytrap_start_precmd()
37
{
75
{
38
	daemon -o /var/log/honeytrap/service.log -p $pidfile -u $name $honeytrap_program $honeytrap_flags
76
    if [ ! -e ${pidfile} ]; then
39
}
77
        install -o ${honeytrap_user} -g ${honeytrap_group} /dev/null ${pidfile}
78
    fi
40
79
80
    if [ ! -d ${honeytrap_datadir} ]; then
81
        install -d -m 0750 -o ${honeytrap_user} -g ${honeytrap_group} ${honeytrap_datadir}
82
    fi
83
    if [ ! -d ${honeytrap_logdir} ]; then
84
        install -d -m 0750 -o ${honeytrap_user} -g ${honeytrap_group} ${honeytrap_logdir}
85
    fi
86
}
87
 
41
run_rc_command "$@"
88
run_rc_command "$@"
(-)security/openconnect-gui/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1591544711
1
TIMESTAMP = 1592016430
2
SHA256 (openconnect-openconnect-gui-v1.4.1_GH0.tar.gz) = a8d156d056a81be1c895738f0a4299b60fc87b608fcb9676b8f2d5215b7101ae
2
SHA256 (openconnect-openconnect-gui-v1.4.1_GH0.tar.gz) = b9cdddbc9f064386d5ba739522ff861b9dfa0ef746d30f095f0ded79d1cbab25
3
SIZE (openconnect-openconnect-gui-v1.4.1_GH0.tar.gz) = 10025784
3
SIZE (openconnect-openconnect-gui-v1.4.1_GH0.tar.gz) = 635260
(-)security/openvas8-libraries/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME?=	openvas8-libraries
4
PORTNAME?=	openvas8-libraries
5
PORTVERSION?=	8.0.9
5
PORTVERSION?=	8.0.9
6
PORTREVISION=	1
6
CATEGORIES=	security
7
CATEGORIES=	security
7
MASTER_SITES?=	http://wald.intevation.org/frs/download.php/2433/
8
MASTER_SITES?=	http://wald.intevation.org/frs/download.php/2433/
8
DISTNAME?=	${PORTNAME:S/${OPENVAS_VER}//}-${PORTVERSION}
9
DISTNAME?=	${PORTNAME:S/${OPENVAS_VER}//}-${PORTVERSION}
(-)security/py-cryptography/Makefile (-5 / +4 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	cryptography
4
PORTNAME=	cryptography
5
PORTVERSION=	2.6.1
5
PORTVERSION=	2.9.2
6
CATEGORIES=	security python
6
CATEGORIES=	security python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 16-27 LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APACHE Link Here
16
LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/LICENSE.BSD
16
LICENSE_FILE_BSD3CLAUSE=	${WRKSRC}/LICENSE.BSD
17
17
18
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8:devel/py-cffi@${PY_FLAVOR}
18
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8:devel/py-cffi@${PY_FLAVOR}
19
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asn1crypto>=0.21.0:devel/py-asn1crypto@${PY_FLAVOR} \
19
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8:devel/py-cffi@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}cffi>=1.8:devel/py-cffi@${PY_FLAVOR} \
21
		${PY_ENUM34} \
20
		${PY_ENUM34} \
22
		${PY_IPADDRESS} \
21
		${PY_IPADDRESS} \
23
		${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR}
22
		${PYTHON_PKGNAMEPREFIX}six>=1.4.1:devel/py-six@${PY_FLAVOR}
24
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=${PORTVERSION}:security/py-cryptography-vectors@${PY_FLAVOR} \
23
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography-vectors>=2.9.2:security/py-cryptography-vectors@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}hypothesis>=1.11.4:devel/py-hypothesis@${PY_FLAVOR} \
26
		${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}iso8601>0:devel/py-iso8601@${PY_FLAVOR} \
27
		${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \
26
		${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \
Lines 47-52 post-install: Link Here
47
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so
46
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cryptography/hazmat/bindings/*.so
48
47
49
do-test:
48
do-test:
50
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
49
	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -m pytest
51
50
52
.include <bsd.port.post.mk>
51
.include <bsd.port.post.mk>
(-)security/py-cryptography/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1551354433
1
TIMESTAMP = 1587899355
2
SHA256 (cryptography-2.6.1.tar.gz) = 26c821cbeb683facb966045e2064303029d572a87ee69ca5a1bf54bf55f93ca6
2
SHA256 (cryptography-2.9.2.tar.gz) = a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229
3
SIZE (cryptography-2.6.1.tar.gz) = 491580
3
SIZE (cryptography-2.9.2.tar.gz) = 517571
(-)security/py-cryptography/files/patch-PR4855 (-49 lines)
Removed Link Here
1
# security/py-cryptography fails to build with libressl-2.9.1
2
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237487
3
# Use generic DTLS functions added in LibreSSL 2.9.1
4
# https://github.com/pyca/cryptography/pull/4855
5
6
index 4124dcb879..ac32fdffde 100644
7
--- src/_cffi_src/openssl/cryptography.py.orig
8
+++ src/_cffi_src/openssl/cryptography.py
9
@@ -38,9 +38,12 @@
10
     (LIBRESSL_VERSION_NUMBER >= 0x2070000f)
11
 #define CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER \
12
     (LIBRESSL_VERSION_NUMBER >= 0x2080000f)
13
+#define CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER \
14
+    (LIBRESSL_VERSION_NUMBER >= 0x2090100f)
15
 #else
16
 #define CRYPTOGRAPHY_LIBRESSL_27_OR_GREATER (0)
17
 #define CRYPTOGRAPHY_LIBRESSL_28_OR_GREATER (0)
18
+#define CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER (0)
19
 #endif
20
 
21
 #define CRYPTOGRAPHY_OPENSSL_102_OR_GREATER \
22
diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
23
index 92fd1e3ec8..da21f3ce90 100644
24
--- src/_cffi_src/openssl/ssl.py.orig
25
+++ src/_cffi_src/openssl/ssl.py
26
@@ -719,17 +719,20 @@
27
 static const long TLS_ST_OK = 0;
28
 #endif
29
 
30
-#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102
31
+/* LibreSSL 2.9.1 added only the DTLS_*_method functions */
32
+#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102 && !CRYPTOGRAPHY_LIBRESSL_291_OR_GREATER
33
 static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 0;
34
 const SSL_METHOD *(*DTLS_method)(void) = NULL;
35
 const SSL_METHOD *(*DTLS_server_method)(void) = NULL;
36
 const SSL_METHOD *(*DTLS_client_method)(void) = NULL;
37
+#else
38
+static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 1;
39
+#endif
40
+#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102
41
 static const long SSL_OP_NO_DTLSv1 = 0;
42
 static const long SSL_OP_NO_DTLSv1_2 = 0;
43
 long (*DTLS_set_link_mtu)(SSL *, long) = NULL;
44
 long (*DTLS_get_link_min_mtu)(SSL *) = NULL;
45
-#else
46
-static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 1;
47
 #endif
48
 
49
 static const long Cryptography_HAS_DTLS = 1;
(-)security/vuxml/Makefile (+19 lines)
Lines 83-90 tidy: vuln.xml Link Here
83
83
84
newentry:
84
newentry:
85
	@${SH} ${FILESDIR}/newentry.sh "${VUXML_FILE}"
85
	@${SH} ${FILESDIR}/newentry.sh "${VUXML_FILE}"
86
#
87
# make split: create files/vuln-*.xml from the vuln.xml file.
88
#
89
split: vuln-all.xml
90
vuln-all.xml: vuln.xml
91
	cd ${FILESDIR} && xsltproc split.xsl ${PKGDIR}/vuln.xml \
92
	    > ${FILESDIR}/${.TARGET}
93
.PATH: ${FILESDIR}
94
#
95
# make concat: create vuln-new.xml file from the files/vuln-*.xml files.
96
#
97
concat: vuln-new.xml
98
vuln-new.xml: vuln-all.xml
99
	cd ${FILESDIR} && xmllint --xinclude ${FILESDIR}/vuln-all.xml \
100
	    > ${PKGDIR}/${.TARGET}
86
101
87
.include <bsd.port.pre.mk>
102
.include <bsd.port.pre.mk>
103
post-clean: clean-vuln
104
clean-vuln:
105
	${RM} vuln-new.xml
106
	${RM} ${FILESDIR}/vuln-*.xml
88
107
89
.if defined(VID) && !empty(VID)
108
.if defined(VID) && !empty(VID)
90
html: work/${VID}.html
109
html: work/${VID}.html
(-)shells/xonsh/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	xonsh
3
PORTNAME=	xonsh
4
PORTVERSION=	0.7.9
4
PORTVERSION=	0.9.16
5
CATEGORIES=	shells python
5
CATEGORIES=	shells python
6
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)shells/xonsh/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1537440457
1
TIMESTAMP = 1595300286
2
SHA256 (xonsh-0.7.9.tar.gz) = a90785419da7346927c51135ed4871e17862acad8be7adc557bac15e2cda4825
2
SHA256 (xonsh-0.9.16.tar.gz) = 5531fe79ace9f86312e06a245c95f9ac2d099a32c2958297796695652bb84e26
3
SIZE (xonsh-0.7.9.tar.gz) = 833920
3
SIZE (xonsh-0.9.16.tar.gz) = 981839
(-)sysutils/44bsd-more/Makefile (-2 lines)
Lines 30-37 post-patch: Link Here
30
	    's!/usr/share/misc/more.help!${PREFIX}/share/misc/44bsd-more.help!'\
30
	    's!/usr/share/misc/more.help!${PREFIX}/share/misc/44bsd-more.help!'\
31
	    ${WRKSRC}/pathnames.h
31
	    ${WRKSRC}/pathnames.h
32
	${CP} ${FILESDIR}/queue.h ${WRKSRC}
32
	${CP} ${FILESDIR}/queue.h ${WRKSRC}
33
	${REINPLACE_CMD} -e 's/static char \*getvar/static const char \*getvar/' \
34
	    ${WRKSRC}/ncommand.c
35
33
36
do-install:
34
do-install:
37
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
35
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(-)sysutils/and/Makefile (-4 lines)
Lines 17-24 USES= gmake Link Here
17
ALL_TARGET=	default
17
ALL_TARGET=	default
18
NOPRECIOUSMAKEVARS=	yes
18
NOPRECIOUSMAKEVARS=	yes
19
19
20
post-patch:
21
	@${REINPLACE_CMD} "s,P_KTHREAD,P_KPROC,g" \
22
		${WRKSRC}/Makefile ${WRKSRC}/and-OpenBSD.c
23
24
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)sysutils/and/files/patch-and-OpenBSD.c (-1 / +1 lines)
Lines 7-13 Link Here
7
+
7
+
8
+#if defined(__FreeBSD__) && __FreeBSD_version >= 500014
8
+#if defined(__FreeBSD__) && __FreeBSD_version >= 500014
9
+  /* Skip kernel threads */
9
+  /* Skip kernel threads */
10
+  while((openbsd_pt[openbsd_next].ki_flag & P_KTHREAD) 
10
+  while((openbsd_pt[openbsd_next].ki_flag & P_KPROC)
11
+	     && openbsd_next < openbsd_nproc)
11
+	     && openbsd_next < openbsd_nproc)
12
+      openbsd_next++;
12
+      openbsd_next++;
13
+  if (openbsd_next >= openbsd_nproc) return NULL;
13
+  if (openbsd_next >= openbsd_nproc) return NULL;
(-)sysutils/ansible-iocage/patch-iocage (-27 lines)
Removed Link Here
1
See: https://github.com/fractalcells/ansible-iocage/pull/18
2
--- iocage.orig	2019-11-03 14:19:54 UTC
3
+++ iocage
4
@@ -148,10 +148,11 @@ def _get_iocage_facts(module, iocage_path, argument="a
5
                 # non-iocage jails: skip all
6
                 break
7
             elif re.match('(\d+|-)',_jid):
8
-                if l.count('\t') == 10:
9
-                    (_jid,_name,_boot,_state,_type,_release,_ip4,_ip6,_template,_basejail) = l.split('\t')
10
+                _fragments = l.split('\t')
11
+                if len(_fragments) == 10:
12
+                    (_jid,_name,_boot,_state,_type,_release,_ip4,_ip6,_template,_basejail) = _fragments
13
                 else:
14
-                    (_jid,_name,_boot,_state,_type,_release,_ip4,_ip6,_template) = l.split('\t')
15
+                    (_jid,_name,_boot,_state,_type,_release,_ip4,_ip6,_template) = _fragments
16
                 if _name != "":
17
                     _properties = _jail_get_properties(module, iocage_path, _name)
18
                     _jails[_name] = { "jid": _jid, "name": _name, "state": _state, "properties": _properties }
19
@@ -504,7 +505,7 @@ def main():
20
             cmd          = dict(default="", required=False),
21
             clone_from   = dict(default="", required=False),
22
             release      = dict(default="", required=False),
23
-            update       = dict(default="", required=False, type='bool'),
24
+            update       = dict(default=False, required=False, type='bool'),
25
             components   = dict(default="", aliases=["files","component"], required=False, type='list')),
26
         supports_check_mode = True
27
     )
(-)sysutils/conky/Makefile (-42 / +45 lines)
Lines 12-46 COMMENT?= Advanced, highly configurable system monitor for X11 Link Here
12
LIB_DEPENDS=	libinotify.so:devel/libinotify
12
LIB_DEPENDS=	libinotify.so:devel/libinotify
13
BUILD_DEPENDS=	db2x_xsltproc:textproc/docbook2X \
13
BUILD_DEPENDS=	db2x_xsltproc:textproc/docbook2X \
14
		docbook-xsl>=0:textproc/docbook-xsl \
14
		docbook-xsl>=0:textproc/docbook-xsl \
15
		xsltproc:textproc/libxslt \
15
		gsed:textproc/gsed \
16
		gsed:textproc/gsed
16
		xsltproc:textproc/libxslt
17
17
18
USES=		cpe cmake:noninja compiler:c++11-lib gettext-runtime iconv \
18
USES=		cmake:noninja compiler:c++11-lib cpe gettext-runtime iconv \
19
		localbase lua:52 pkgconfig tar:bzip2
19
		localbase lua:52 pkgconfig tar:bzip2
20
20
21
CMAKE_ARGS=	-DBUILD_PORT_MONITORS:BOOL=false \
21
CMAKE_ARGS=	-DAPP_SED=${LOCALBASE}/bin/gsed \
22
		-DBUILD_IBM:BOOL=false \
23
		-DBUILD_HDDTEMP:BOOL=false \
24
		-DBUILD_IOSTATS:BOOL=false \
25
		-DBUILD_AUDACIOUS:BOOL=false \
22
		-DBUILD_AUDACIOUS:BOOL=false \
26
		-DBUILD_DOCS:BOOL=true \
23
		-DBUILD_DOCS:BOOL=true \
27
		-DAPP_SED=${LOCALBASE}/bin/gsed
24
		-DBUILD_HDDTEMP:BOOL=false \
25
		-DBUILD_IBM:BOOL=false \
26
		-DBUILD_IOSTATS:BOOL=false \
27
		-DBUILD_PORT_MONITORS:BOOL=false
28
CONFLICTS?=	conky-awesome-[0-9]*
28
CONFLICTS?=	conky-awesome-[0-9]*
29
29
30
SLAVEDIRS=	sysutils/conky-awesome
30
SLAVEDIRS=	sysutils/conky-awesome
31
PLIST_FILES=	bin/conky man/man1/conky.1.gz
31
PLIST_FILES=	bin/conky \
32
		man/man1/conky.1.gz
32
PORTEXAMPLES=	conky.conf conky_no_x11.conf convert.lua
33
PORTEXAMPLES=	conky.conf conky_no_x11.conf convert.lua
33
PORTDOCS=	html/config_settings.html html/docs.html html/lua.html html/variables.html
34
PORTDOCS=	html/config_settings.html html/docs.html html/lua.html \
35
		html/variables.html
34
36
35
USE_GITHUB=	yes
37
USE_GITHUB=	yes
36
GH_ACCOUNT=	brndnmtthws
38
GH_ACCOUNT=	brndnmtthws
37
39
38
OPTIONS_DEFINE=	APCUPSD CURL DOCS EXAMPLES IPV6 METAR MOC MPD NCURSES RSS \
40
OPTIONS_DEFINE=	APCUPSD CURL DOCS EXAMPLES IPV6 METAR MOC MPD NCURSES RSS X11 \
39
		X11 XMMS2 XOAP
41
		XMMS2 XOAP
40
42
41
OPTIONS_GROUP?=	X11
43
OPTIONS_GROUP?=		X11
42
OPTIONS_GROUP_X11=	ARGB DOUBLE_BUFFER IMLIB2 XFT XINERAMA LUA_CAIRO LUA_IMLIB2 LUA_RSVG
44
OPTIONS_GROUP_X11=	ARGB DOUBLE_BUFFER IMLIB2 XFT XINERAMA LUA_CAIRO \
43
OPTIONS_DEFAULT?=	X11 ARGB DOUBLE_BUFFER XFT LUA_CAIRO
45
			LUA_IMLIB2 LUA_RSVG
46
OPTIONS_DEFAULT?=	ARGB DOUBLE_BUFFER LUA_CAIRO X11 XFT
44
47
45
APCUPSD_DESC=		Monitor APCUPSD
48
APCUPSD_DESC=		Monitor APCUPSD
46
APCUPSD_CMAKE_BOOL=	BUILD_APCUPSD
49
APCUPSD_CMAKE_BOOL=	BUILD_APCUPSD
Lines 52-60 ARGB_IMPLIES= X11 Link Here
52
CURL_CMAKE_BOOL=	BUILD_CURL
55
CURL_CMAKE_BOOL=	BUILD_CURL
53
CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
56
CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
54
57
55
DOUBLE_BUFFER_DESC=	X11 double buffering
58
DOUBLE_BUFFER_DESC=		X11 double buffering
56
DOUBLE_BUFFER_CMAKE_BOOL=BUILD_XDBE
59
DOUBLE_BUFFER_CMAKE_BOOL=	BUILD_XDBE
57
DOUBLE_BUFFER_IMPLIES=	X11
60
DOUBLE_BUFFER_IMPLIES=		X11
58
61
59
IMLIB2_CMAKE_BOOL=	BUILD_IMLIB2
62
IMLIB2_CMAKE_BOOL=	BUILD_IMLIB2
60
IMLIB2_LIB_DEPENDS=	libImlib2.so:graphics/imlib2
63
IMLIB2_LIB_DEPENDS=	libImlib2.so:graphics/imlib2
Lines 65-71 IPV6_CMAKE_BOOL= BUILD_IPV6 Link Here
65
LUA_CAIRO_DESC=		Lua-Cairo binding
68
LUA_CAIRO_DESC=		Lua-Cairo binding
66
LUA_CAIRO_CMAKE_BOOL=	BUILD_LUA_CAIRO
69
LUA_CAIRO_CMAKE_BOOL=	BUILD_LUA_CAIRO
67
LUA_CAIRO_USES=		gnome
70
LUA_CAIRO_USES=		gnome
68
LUA_CAIRO_USE=		gnome=cairo
71
LUA_CAIRO_USE=		GNOME=cairo
69
LUA_CAIRO_PLIST_FILES=	lib/conky/libcairo.so
72
LUA_CAIRO_PLIST_FILES=	lib/conky/libcairo.so
70
LUA_CAIRO_IMPLIES=	X11
73
LUA_CAIRO_IMPLIES=	X11
71
74
Lines 77-83 LUA_IMLIB2_IMPLIES= IMLIB2 X11 Link Here
77
LUA_RSVG_DESC=		Lua-rsvg binding
80
LUA_RSVG_DESC=		Lua-rsvg binding
78
LUA_RSVG_CMAKE_BOOL=	BUILD_LUA_RSVG
81
LUA_RSVG_CMAKE_BOOL=	BUILD_LUA_RSVG
79
LUA_RSVG_USES=		gnome
82
LUA_RSVG_USES=		gnome
80
LUA_RSVG_USE=		gnome=librsvg2
83
LUA_RSVG_USE=		GNOME=librsvg2
81
LUA_RSVG_PLIST_FILES=	lib/conky/librsvg.so
84
LUA_RSVG_PLIST_FILES=	lib/conky/librsvg.so
82
LUA_RSVG_IMPLIES=	X11
85
LUA_RSVG_IMPLIES=	X11
83
86
Lines 85-118 METAR_DESC= Display METAR weather reports Link Here
85
METAR_CMAKE_BOOL=	BUILD_WEATHER_METAR
88
METAR_CMAKE_BOOL=	BUILD_WEATHER_METAR
86
METAR_IMPLIES=		CURL
89
METAR_IMPLIES=		CURL
87
90
88
MOC_DESC=		Control MOC (Music On Console)
91
MOC_DESC=	Control MOC (Music On Console)
89
MOC_CMAKE_BOOL=		BUILD_MOC
92
MOC_CMAKE_BOOL=	BUILD_MOC
90
93
91
MPD_DESC=		Control MPD (Music Player Daemon)
94
MPD_DESC=	Control MPD (Music Player Daemon)
92
MPD_CMAKE_BOOL=		BUILD_MPD
95
MPD_CMAKE_BOOL=	BUILD_MPD
93
96
94
NCURSES_DESC=		Use ncurses to draw on terminals
97
NCURSES_DESC=		Use ncurses to draw on terminals
95
NCURSES_CMAKE_BOOL=	BUILD_NCURSES
98
NCURSES_CMAKE_BOOL=	BUILD_NCURSES
96
NCURSES_USES=		ncurses:port
99
NCURSES_USES=		ncurses
97
100
98
RSS_DESC=		Display RSS feeds
101
RSS_DESC=	Display RSS feeds
99
RSS_CMAKE_BOOL=		BUILD_RSS
102
RSS_CMAKE_BOOL=	BUILD_RSS
100
RSS_USES=		gnome
103
RSS_USES=	gnome
101
RSS_USE=		gnome=glib20,libxml2
104
RSS_USE=	GNOME=glib20,libxml2
102
RSS_IMPLIES=		CURL
105
RSS_IMPLIES=	CURL
103
106
104
X11_USES=		xorg
107
X11_USES=	xorg
105
X11_USE=		xorg=x11,xext,xdamage,xfixes
108
X11_USE=	XORG=x11,xdamage,xext,xfixes
106
X11_CMAKE_BOOL=		BUILD_X11 OWN_WINDOW
109
X11_CMAKE_BOOL=	BUILD_X11 OWN_WINDOW
107
X11_VARS=		EXAMPLE_CONF_FILE=${WRKSRC}/data/conky.conf
110
X11_VARS=	EXAMPLE_CONF_FILE=${WRKSRC}/data/conky.conf
108
X11_VARS_OFF=		EXAMPLE_CONF_FILE=${WRKSRC}/data/conky_no_x11.conf
111
X11_VARS_OFF=	EXAMPLE_CONF_FILE=${WRKSRC}/data/conky_no_x11.conf
109
112
110
XFT_CMAKE_BOOL=		BUILD_XFT
113
XFT_CMAKE_BOOL=	BUILD_XFT
111
XFT_USE=		xorg=xft
114
XFT_USE=	XORG=xft
112
XFT_IMPLIES=		X11
115
XFT_IMPLIES=	X11
113
116
114
XINERAMA_CMAKE_BOOL=	BUILD_XINERAMA
117
XINERAMA_CMAKE_BOOL=	BUILD_XINERAMA
115
XINERAMA_USE=		xorg=xinerama
118
XINERAMA_USE=		XORG=xinerama
116
XINERAMA_IMPLIES=	X11
119
XINERAMA_IMPLIES=	X11
117
120
118
XMMS2_DESC=		Control XMMS2 media player
121
XMMS2_DESC=		Control XMMS2 media player
Lines 123-139 XOAP_DESC= Display XOAP weather reports Link Here
123
XOAP_CMAKE_BOOL=	BUILD_WEATHER_XOAP
126
XOAP_CMAKE_BOOL=	BUILD_WEATHER_XOAP
124
XOAP_IMPLIES=		CURL METAR
127
XOAP_IMPLIES=		CURL METAR
125
XOAP_USES=		gnome
128
XOAP_USES=		gnome
126
XOAP_USE=		gnome=libxml2
129
XOAP_USE=		GNOME=libxml2
127
130
128
.include <bsd.port.options.mk>
131
.include <bsd.port.options.mk>
129
132
130
.if ${PORT_OPTIONS:MLUA_CAIRO} && ${PORT_OPTIONS:MLUA_IMLIB2}
133
.if ${PORT_OPTIONS:MLUA_CAIRO} && ${PORT_OPTIONS:MLUA_IMLIB2}
131
PLIST_FILES+=		lib/conky/libcairo_imlib2_helper.so
134
PLIST_FILES+=	lib/conky/libcairo_imlib2_helper.so
132
.endif
135
.endif
133
136
134
# disable apm on non-x86 archs
137
# disable apm on non-x86 archs
135
.if ${ARCH} != amd64 && ${ARCH} != i386
138
.if ${ARCH} != amd64 && ${ARCH} != i386
136
EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-src_CMakeLists.txt
139
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-src_CMakeLists.txt
137
.endif
140
.endif
138
141
139
post-patch:
142
post-patch:
(-)sysutils/ipfs-go/Makefile (-2 / +1 lines)
Lines 2-9 Link Here
2
2
3
PORTNAME=	ipfs
3
PORTNAME=	ipfs
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	0.4.23
5
DISTVERSION=	0.6.0
6
PORTREVISION=	1
7
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
8
MASTER_SITES=	https://github.com/ipfs/go-ipfs/releases/download/v${DISTVERSION}/
7
MASTER_SITES=	https://github.com/ipfs/go-ipfs/releases/download/v${DISTVERSION}/
9
PKGNAMESUFFIX=	-go
8
PKGNAMESUFFIX=	-go
(-)sysutils/py-google-compute-engine/Makefile (-1 / +1 lines)
Lines 5-11 DISTVERSION= 2.8.16 Link Here
5
CATEGORIES=	sysutils python
5
CATEGORIES=	sysutils python
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
7
8
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	swills@FreeBSD.org
9
COMMENT=	Guest Environment for Google Compute Engine
9
COMMENT=	Guest Environment for Google Compute Engine
10
10
11
LICENSE=	APACHE20
11
LICENSE=	APACHE20
(-)sysutils/screen/Makefile (-12 / +3 lines)
Lines 19-46 COMMENT= Multi-screen window manager Link Here
19
LICENSE=	GPLv3
19
LICENSE=	GPLv3
20
20
21
OPTIONS_DEFINE=		INFO NETHACK XTERM_256 SHOWENC SYSTEM_SCREENRC
21
OPTIONS_DEFINE=		INFO NETHACK XTERM_256 SHOWENC SYSTEM_SCREENRC
22
OPTIONS_DEFAULT=	INFO NETHACK XTERM_256 SOCKETS SYSTEM_SCREENRC \
22
OPTIONS_DEFAULT=	INFO NETHACK XTERM_256 SOCKETS SYSTEM_SCREENRC
23
			NCURSES_DEFAULT
23
OPTIONS_SINGLE=		IPC
24
OPTIONS_SINGLE=		IPC NCURSES
25
OPTIONS_SINGLE_IPC=	SOCKETS NAMED_PIPES
24
OPTIONS_SINGLE_IPC=	SOCKETS NAMED_PIPES
26
OPTIONS_SINGLE_NCURSES=	NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT
27
NETHACK_DESC=		Enable nethack-style messages
25
NETHACK_DESC=		Enable nethack-style messages
28
XTERM_256_DESC=		Enable support for 256 colour xterm
26
XTERM_256_DESC=		Enable support for 256 colour xterm
29
SHOWENC_DESC=		Show encoding on the status line
27
SHOWENC_DESC=		Show encoding on the status line
30
SOCKETS_DESC=		Use new (4.2.1+) sockets for IPC (default)
28
SOCKETS_DESC=		Use new (4.2.1+) sockets for IPC (default)
31
NAMED_PIPES_DESC=	Use legacy (4.0.3) named pipes for IPC (override)
29
NAMED_PIPES_DESC=	Use legacy (4.0.3) named pipes for IPC (override)
32
SYSTEM_SCREENRC_DESC=	Install system screenrc with helpful status line
30
SYSTEM_SCREENRC_DESC=	Install system screenrc with helpful status line
33
NCURSES_DEFAULT_DESC=	Depend on ncurses (ports if installed, otherwise base)
34
NCURSES_BASE_DESC=	Depend on ncurses in base
35
NCURSES_PORT_DESC=	Depend on devel/ncurses in ports
36
37
NCURSES_DEFAULT_USES=	ncurses
38
NCURSES_BASE_USES=	ncurses:base
39
NCURSES_PORT_USES=	ncurses:port
40
31
41
OPTIONS_SUB=
32
OPTIONS_SUB=
42
33
43
USES=		gmake cpe
34
USES=		gmake cpe ncurses:base
44
MAKE_ARGS+=	WITH_MAN=1
35
MAKE_ARGS+=	WITH_MAN=1
45
36
46
CPE_VENDOR=	gnu
37
CPE_VENDOR=	gnu
(-)sysutils/slurm-wlm/Makefile (-33 / +5 lines)
Lines 85-126 DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${DISTVERSION} Link Here
85
CFLAGS+=	-I${WRKSRC}/slurm -I${LOCALBASE}/include
85
CFLAGS+=	-I${WRKSRC}/slurm -I${LOCALBASE}/include
86
LDFLAGS+=	-L${LOCALBASE}/lib -lsysinfo -lprocstat
86
LDFLAGS+=	-L${LOCALBASE}/lib -lsysinfo -lprocstat
87
87
88
.include <bsd.port.options.mk>
89
88
# Hack around nonfunctional --disable-gtktest flag
90
# Hack around nonfunctional --disable-gtktest flag
89
pre-configure-GUI-off:
91
.if ! ${PORT_OPTIONS:MGUI}
90
	@${REINPLACE_CMD} -e 's|min_gtk_version=.*|min_gtk_version=2000.0.0|' \
92
EXTRA_PATCHES+=		${FILESDIR}/extra-patch-gui-off
91
		${WRKSRC}/configure
93
.endif
92
94
93
# SLURM's configure enables interactive jobs if pty.h exists.  Replacing
94
# #include <pty.h> with appropriate headers will therefore not work, so instead
95
# add a pty.h for the build.
96
pre-configure:
95
pre-configure:
97
	@${CP} ${FILESDIR}/pty.h ${WRKSRC}/slurm
98
	@${REINPLACE_CMD} -e 's|sched_setaffinity|cpuset_setaffinity|g' \
99
		${WRKSRC}/configure
100
101
	@${REINPLACE_CMD} -e 's|"/proc|"/compat/linux/proc|g' \
102
		-e 's|(/proc)|(/compat/linux/proc)|g' \
103
		${WRKSRC}/src/slurmd/slurmstepd/req.c \
104
		${WRKSRC}/src/slurmd/slurmstepd/pdebug.c \
105
		${WRKSRC}/src/slurmd/common/xcpuinfo.c \
106
		${WRKSRC}/src/slurmd/common/xcgroup.c \
107
		${WRKSRC}/src/slurmd/common/set_oomadj.c \
108
		${WRKSRC}/src/slurmd/common/proctrack.c \
109
		${WRKSRC}/src/common/callerid.c \
110
		${WRKSRC}/src/plugins/task/affinity/affinity.c \
111
		${WRKSRC}/src/plugins/acct_gather_energy/rapl/acct_gather_energy_rapl.c \
112
		${WRKSRC}/src/plugins/jobacct_gather/cgroup/jobacct_gather_cgroup.c \
113
		${WRKSRC}/src/plugins/jobacct_gather/common/common_jag.c \
114
		${WRKSRC}/src/plugins/jobacct_gather/linux/jobacct_gather_linux.c \
115
		${WRKSRC}/src/plugins/switch/cray_aries/scaling.c \
116
		${WRKSRC}/src/plugins/proctrack/cray_aries/proctrack_cray_aries.c \
117
		${WRKSRC}/src/plugins/proctrack/cgroup/proctrack_cgroup.c \
118
		${WRKSRC}/src/plugins/proctrack/pgid/proctrack_pgid.c \
119
		${WRKSRC}/src/plugins/proctrack/linuxproc/kill_tree.c \
120
		${WRKSRC}/src/plugins/acct_gather_filesystem/lustre/acct_gather_filesystem_lustre.c \
121
		${WRKSRC}/src/plugins/node_features/knl_generic/node_features_knl_generic.c \
122
		${WRKSRC}/contribs/cray/pam_job.c
123
124
	@if ${WHICH} sbatch > /dev/null; then \
96
	@if ${WHICH} sbatch > /dev/null; then \
125
		${ECHO_CMD} "********************************************"; \
97
		${ECHO_CMD} "********************************************"; \
126
		${ECHO_CMD} "Build may fail while slurm-wlm is installed."; \
98
		${ECHO_CMD} "Build may fail while slurm-wlm is installed."; \
(-)sysutils/slurm-wlm/files/patch-src_plugins_jobacct__gather_common_common__jag.c (-4 / +77 lines)
Lines 1-5 Link Here
1
--- src/plugins/jobacct_gather/common/common_jag.c.orig	2020-01-18 14:05:02 UTC
1
--- src/plugins/jobacct_gather/common/common_jag.c.orig	2020-01-18 14:05:02 UTC
2
+++ src/plugins/jobacct_gather/common/common_jag.c
2
+++ src/plugins/jobacct_gather/common/common_jag.c
3
@@ -233,7 +233,7 @@ static int _get_sys_interface_freq_line(uint32_t cpu, 
4
 	} else {
5
 		/* frequency scaling not enabled */
6
 		if (!cpunfo_frequency) {
7
-			snprintf(freq_file, 14, "/proc/cpuinfo");
8
+			snprintf(freq_file, 14, "/compat/linux/proc/cpuinfo");
9
 			debug2("_get_sys_interface_freq_line: filename = %s ",
10
 			       freq_file);
11
 			if ((sys_fp = fopen(freq_file, "r")) != NULL) {
3
@@ -250,6 +250,11 @@ static int _get_sys_interface_freq_line(uint32_t cpu, 
12
@@ -250,6 +250,11 @@ static int _get_sys_interface_freq_line(uint32_t cpu, 
4
 	return 0;
13
 	return 0;
5
 }
14
 }
Lines 12-25 Link Here
12
 static int _is_a_lwp(uint32_t pid)
21
 static int _is_a_lwp(uint32_t pid)
13
 {
22
 {
14
 	char *filename = NULL;
23
 	char *filename = NULL;
15
@@ -258,6 +263,10 @@ static int _is_a_lwp(uint32_t pid)
24
@@ -259,8 +264,12 @@ static int _is_a_lwp(uint32_t pid)
16
 	ssize_t n;
17
 	char *tgids = NULL;
25
 	char *tgids = NULL;
18
 	pid_t tgid = -1;
26
 	pid_t tgid = -1;
19
+
27
 
28
-	xstrfmtcat(filename, "/proc/%u/status", pid);
20
+	// Disable check for now, this will only skew process accounting
29
+	// Disable check for now, this will only skew process accounting
21
+	// slightly by including threads
30
+	// slightly by including threads
22
+	return 0;
31
+	return 0;
23
 
32
 
24
 	xstrfmtcat(filename, "/proc/%u/status", pid);
33
+	xstrfmtcat(filename, "/compat/linux/proc/%u/status", pid);
34
+
35
 	fd = open(filename, O_RDONLY);
36
 	if (fd < 0) {
37
 		error("%s: open() %s failed: %m", __func__, filename);
38
@@ -634,9 +643,9 @@ static List _get_precs(List task_list, bool pgid_plugi
39
 			goto finished;
40
 		}
41
 		for (i = 0; i < npids; i++) {
42
-			snprintf(proc_stat_file, 256, "/proc/%d/stat", pids[i]);
43
-			snprintf(proc_io_file, 256, "/proc/%d/io", pids[i]);
44
-			snprintf(proc_smaps_file, 256, "/proc/%d/smaps", pids[i]);
45
+			snprintf(proc_stat_file, 256, "/compat/linux/proc/%d/stat", pids[i]);
46
+			snprintf(proc_io_file, 256, "/compat/linux/proc/%d/io", pids[i]);
47
+			snprintf(proc_smaps_file, 256, "/compat/linux/proc/%d/smaps", pids[i]);
48
 			_handle_stats(prec_list, proc_stat_file, proc_io_file,
49
 				      proc_smaps_file, callbacks,
50
 				      jobacct ? jobacct->tres_count : 0);
51
@@ -649,16 +658,16 @@ static List _get_precs(List task_list, bool pgid_plugi
52
 		if (slash_proc_open) {
53
 			rewinddir(slash_proc);
54
 		} else {
55
-			slash_proc=opendir("/proc");
56
+			slash_proc=opendir("/compat/linux/proc");
57
 			if (slash_proc == NULL) {
58
 				perror("opening /proc");
59
 				goto finished;
60
 			}
61
 			slash_proc_open=1;
62
 		}
63
-		strcpy(proc_stat_file, "/proc/");
64
-		strcpy(proc_io_file, "/proc/");
65
-		strcpy(proc_smaps_file, "/proc/");
66
+		strcpy(proc_stat_file, "/compat/linux/proc/");
67
+		strcpy(proc_io_file, "/compat/linux/proc/");
68
+		strcpy(proc_smaps_file, "/compat/linux/proc/");
69
 
70
 		while ((slash_proc_entry = readdir(slash_proc))) {
71
 
72
@@ -669,7 +678,7 @@ static List _get_precs(List task_list, bool pgid_plugi
73
 			 * should be a pid). Then do the same for the
74
 			 * /proc/<pid>/io file name.
75
 			 */
76
-			optr = proc_stat_file + sizeof("/proc");
77
+			optr = proc_stat_file + sizeof("/compat/linux/proc");
78
 			iptr = slash_proc_entry->d_name;
79
 			i = 0;
80
 			do {
81
@@ -689,7 +698,7 @@ static List _get_precs(List task_list, bool pgid_plugi
82
 			} while (*iptr);
83
 			*optr = 0;
84
 
85
-			optr2 = proc_io_file + sizeof("/proc");
86
+			optr2 = proc_io_file + sizeof("/compat/linux/proc");
87
 			iptr = slash_proc_entry->d_name;
88
 			i = 0;
89
 			do {
90
@@ -708,7 +717,7 @@ static List _get_precs(List task_list, bool pgid_plugi
91
 			} while (*iptr);
92
 			*optr2 = 0;
25
 
93
 
94
-			optr2 = proc_smaps_file + sizeof("/proc");
95
+			optr2 = proc_smaps_file + sizeof("/compat/linux/proc");
96
 			iptr = slash_proc_entry->d_name;
97
 			i = 0;
98
 			do {
(-)sysutils/slurm-wlm/files/pty.h (-4 lines)
Removed Link Here
1
#include <sys/types.h>
2
#include <sys/ioctl.h>
3
#include <termios.h>
4
#include <libutil.h>
(-)sysutils/uefi-edk2-bhyve/Makefile (+1 lines)
Lines 9-14 CATEGORIES= sysutils Link Here
9
9
10
MAINTAINER=	araujo@FreeBSD.org
10
MAINTAINER=	araujo@FreeBSD.org
11
COMMENT?=	UEFI-EDK2 firmware for bhyve
11
COMMENT?=	UEFI-EDK2 firmware for bhyve
12
BROKEN=		Needs python2
12
13
13
LICENSE=	BSD2CLAUSE
14
LICENSE=	BSD2CLAUSE
14
15
(-)textproc/fist/Makefile (+3 lines)
Lines 11-14 COMMENT= Emphatic message generator Link Here
11
GNU_CONFIGURE=	yes
11
GNU_CONFIGURE=	yes
12
PLIST_FILES=	bin/fist man/man1/fist.1.gz
12
PLIST_FILES=	bin/fist man/man1/fist.1.gz
13
13
14
post-patch:
15
	@${REINPLACE_CMD} -e 's/foo/bar/' ${WRKSRC}/fist.c
16
14
.include <bsd.port.mk>
17
.include <bsd.port.mk>
(-)textproc/libxml2/Makefile (-1 / +1 lines)
Lines 60-66 post-install: Link Here
60
.include <bsd.port.pre.mk>
60
.include <bsd.port.pre.mk>
61
61
62
post-patch:
62
post-patch:
63
.for d in . doc doc/devhelp doc/examples
63
.for d in doc doc/examples
64
	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
64
	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
65
		${WRKSRC}/${d}/Makefile.in
65
		${WRKSRC}/${d}/Makefile.in
66
.endfor
66
.endfor
(-)textproc/p5-XML-Parser/Makefile (-1 / +4 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	XML-Parser
3
PORTNAME=	XML-Parser
4
PORTVERSION=	2.44
4
PORTVERSION=	2.46
5
CATEGORIES=	textproc perl5
5
CATEGORIES=	textproc perl5
6
MASTER_SITES=	CPAN
6
MASTER_SITES=	CPAN
7
PKGNAMEPREFIX=	p5-
7
PKGNAMEPREFIX=	p5-
Lines 11-17 COMMENT= Perl extension interface to James Clark's XML parser, expat Link Here
11
11
12
LICENSE=	ART10 GPLv1+
12
LICENSE=	ART10 GPLv1+
13
LICENSE_COMB=	dual
13
LICENSE_COMB=	dual
14
LICENSE_FILE=	${WRKSRC}/Parser.pm
14
15
16
BUILD_DEPENDS=  ${RUN_DEPENDS}
17
RUN_DEPENDS=    p5-libwww>=6.43:www/p5-libwww
15
LIB_DEPENDS=	libexpat.so:textproc/expat2
18
LIB_DEPENDS=	libexpat.so:textproc/expat2
16
19
17
USES=		perl5
20
USES=		perl5
(-)textproc/p5-XML-Parser/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (XML-Parser-2.44.tar.gz) = 1ae9d07ee9c35326b3d9aad56eae71a6730a73a116b9fe9e8a4758b7cc033216
1
TIMESTAMP = 1586303346
2
SIZE (XML-Parser-2.44.tar.gz) = 237377
2
SHA256 (XML-Parser-2.46.tar.gz) = d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d
3
SIZE (XML-Parser-2.46.tar.gz) = 254763
(-)textproc/p5-XML-Parser/files/patch-CheckLib.pm (-20 lines)
Removed Link Here
1
--- inc/Devel/CheckLib.pm.orig	2013-01-11 11:43:02.293444337 +0900
2
+++ inc/Devel/CheckLib.pm	2013-01-11 11:48:47.556449831 +0900
3
@@ -222,7 +222,7 @@
4
     for my $header (@headers) {
5
         push @use_headers, $header;
6
         my($ch, $cfile) = File::Temp::tempfile(
7
-            'assertlibXXXXXXXX', SUFFIX => '.c'
8
+            'assertlibXXXXXXXX', SUFFIX => '.c', TMPDIR => 1,
9
         );
10
         print $ch qq{#include <$_>\n} for @use_headers;
11
         print $ch qq{int main(void) { return 0; }\n};
12
@@ -262,7 +262,7 @@
13
 
14
     # now do each library in turn with headers
15
     my($ch, $cfile) = File::Temp::tempfile(
16
-        'assertlibXXXXXXXX', SUFFIX => '.c'
17
+        'assertlibXXXXXXXX', SUFFIX => '.c', TMPDIR => 1,
18
     );
19
     print $ch qq{#include <$_>\n} foreach (@headers);
20
     print $ch "int main(void) { ".($args{function} || 'return 0;')." }\n";
(-)textproc/py-alabaster/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	alabaster
3
PORTNAME=	alabaster
4
PORTVERSION=	0.7.6
4
PORTVERSION=	0.7.12
5
CATEGORIES=	textproc python
5
CATEGORIES=	textproc python
6
MASTER_SITES=	CHEESESHOP
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)textproc/py-alabaster/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (alabaster-0.7.6.tar.gz) = 309d33e0282c8209f792f3527f41ec04e508ff837c61fc1906dde988a256deeb
1
TIMESTAMP = 1563550321
2
SIZE (alabaster-0.7.6.tar.gz) = 16598
2
SHA256 (alabaster-0.7.12.tar.gz) = a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02
3
SIZE (alabaster-0.7.12.tar.gz) = 11242
(-)textproc/py-pykwalify/Makefile (+1 lines)
Lines 3-8 Link Here
3
PORTNAME=	pykwalify
3
PORTNAME=	pykwalify
4
DISTVERSION=	1.7.0-15
4
DISTVERSION=	1.7.0-15
5
DISTVERSIONSUFFIX=	-g02b7e21
5
DISTVERSIONSUFFIX=	-g02b7e21
6
PORTREVISION=	1
6
CATEGORIES=	textproc python
7
CATEGORIES=	textproc python
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
(-)www/chromium/Makefile (-3 / +3 lines)
Lines 132-140 GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles Link Here
132
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
132
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
133
# Note: these are for FreeBSD use ONLY. For your own distribution,
133
# Note: these are for FreeBSD use ONLY. For your own distribution,
134
# please get your own set of keys.
134
# please get your own set of keys.
135
GN_ARGS+=	google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" \
135
GN_ARGS+=	google_api_key="AIzaSyCel7Soy49Gi5bLtgvIb1gg7b_clF2O6zM" \
136
		google_default_client_id="996322985003.apps.googleusercontent.com" \
136
		google_default_client_id="1097775399400-4e9dgfp2il6dtj9j44qeul36h519sm5u.apps.googleusercontent.com" \
137
		google_default_client_secret="IR1za9-1VK0zZ0f_O8MVFicn"
137
		google_default_client_secret="05C5CkbtavjEHbuvdq9FxZeo"
138
138
139
.if !defined(GN_ONLY)
139
.if !defined(GN_ONLY)
140
SUB_FILES=	chromium-browser.desktop chrome pkg-message
140
SUB_FILES=	chromium-browser.desktop chrome pkg-message
(-)www/minio/Makefile (-2 / +2 lines)
Lines 13-20 LICENSE= APACHE20 Link Here
13
USES=		compiler go:modules
13
USES=		compiler go:modules
14
14
15
USE_GITHUB=	yes
15
USE_GITHUB=	yes
16
GHTAG=		RELEASE.2020-09-21T22-31-59Z
16
GHTAG=		RELEASE.2020-09-23T19-18-30Z
17
COMMIT_ID=	4c81201f95bb83443fe5b8a188cc44e0fb56dc2b
17
COMMIT_ID=	f7f9517b6ae297210aca2a68416e298396c07076
18
18
19
GH_TUPLE=	${PORTNAME}:${PORTNAME}:${GHTAG}:DEFAULT \
19
GH_TUPLE=	${PORTNAME}:${PORTNAME}:${GHTAG}:DEFAULT \
20
		Azure:azure-pipeline-go:v0.2.2:azure_azure_pipeline_go/vendor/github.com/Azure/azure-pipeline-go \
20
		Azure:azure-pipeline-go:v0.2.2:azure_azure_pipeline_go/vendor/github.com/Azure/azure-pipeline-go \
(-)www/minio/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
TIMESTAMP = 1600779678
1
TIMESTAMP = 1600955330
2
SHA256 (minio/minio-minio-2020.09.21.22.31.59-RELEASE.2020-09-21T22-31-59Z_GH0.tar.gz) = 57aff6a977d70d77c9b3faf1d2f7344b3225e601de1c878e211bbd2e7da12ee6
2
SHA256 (minio/minio-minio-2020.09.23.19.18.30-RELEASE.2020-09-23T19-18-30Z_GH0.tar.gz) = 79933e7878c7799cb65d041da58dee8f8ad229ec387d8e50d9735a5f5c596c63
3
SIZE (minio/minio-minio-2020.09.21.22.31.59-RELEASE.2020-09-21T22-31-59Z_GH0.tar.gz) = 10194714
3
SIZE (minio/minio-minio-2020.09.23.19.18.30-RELEASE.2020-09-23T19-18-30Z_GH0.tar.gz) = 10200483
4
SHA256 (minio/Azure-azure-pipeline-go-v0.2.2_GH0.tar.gz) = dc0d15949088e17e74da35c3ae2730f52240ad73e25cf795f532b7282de68e2f
4
SHA256 (minio/Azure-azure-pipeline-go-v0.2.2_GH0.tar.gz) = dc0d15949088e17e74da35c3ae2730f52240ad73e25cf795f532b7282de68e2f
5
SIZE (minio/Azure-azure-pipeline-go-v0.2.2_GH0.tar.gz) = 16443
5
SIZE (minio/Azure-azure-pipeline-go-v0.2.2_GH0.tar.gz) = 16443
6
SHA256 (minio/Azure-azure-storage-blob-go-v0.10.0_GH0.tar.gz) = e3d4304b9fcb7dc5911d648a236fa69c06cb3b33ffb05ac4be6bf3d69125f71e
6
SHA256 (minio/Azure-azure-storage-blob-go-v0.10.0_GH0.tar.gz) = e3d4304b9fcb7dc5911d648a236fa69c06cb3b33ffb05ac4be6bf3d69125f71e
(-)www/qt5-webengine/Makefile (-1 / +1 lines)
Lines 74-80 SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio Link Here
74
# We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks
74
# We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks
75
# whether webenginewidgets is available, which fails when qmake processes all
75
# whether webenginewidgets is available, which fails when qmake processes all
76
# .pro files at once.
76
# .pro files at once.
77
USES=		gl gnome gperf jpeg python:2.7,build pkgconfig \
77
USES=		gl gnome gperf jpeg python:3.7,build pkgconfig \
78
		qmake:norecursive,outsource qt-dist:5,webengine shebangfix xorg
78
		qmake:norecursive,outsource qt-dist:5,webengine shebangfix xorg
79
USE_GL=		gl
79
USE_GL=		gl
80
USE_GNOME=	glib20 libxml2 libxslt
80
USE_GNOME=	glib20 libxml2 libxslt
(-)www/qt5-webengine/files/patch-configure.pri (+9 lines)
Lines 1-5 Link Here
1
--- configure.pri.orig	2020-04-08 09:41:36 UTC
1
--- configure.pri.orig	2020-04-08 09:41:36 UTC
2
+++ configure.pri
2
+++ configure.pri
3
@@ -12,7 +12,7 @@
4
     python_version ~= s/[()]//g
5
     python_version = $$split(python_version, ',')
6
     python_major_version = $$first(python_version)
7
-    greaterThan(python_major_version, 2) {
8
+    greaterThan(python_major_version, 3) {
9
         qtLog("Python version 3 is not supported by Chromium.")
10
         return(false)
11
     }
3
@@ -114,7 +114,7 @@ defineTest(qtwebengine_platformError) {
12
@@ -114,7 +114,7 @@ defineTest(qtwebengine_platformError) {
4
 defineTest(qtConfTest_detectPlatform) {
13
 defineTest(qtConfTest_detectPlatform) {
5
     QT_FOR_CONFIG += gui-private
14
     QT_FOR_CONFIG += gui-private
(-)x11-drivers/xf86-video-amdgpu/Makefile (-1 / +5 lines)
Lines 16-21 PATCHFILES+= edcbe5f52ddfceee3d66d69bbcebbceac06b6d0d.diff:-p1 Link Here
16
LICENSE=	MIT
16
LICENSE=	MIT
17
LICENSE_FILE=	${WRKSRC}/COPYING
17
LICENSE_FILE=	${WRKSRC}/COPYING
18
18
19
# No amdgpu kernel driver on non-x86 and PC98.
20
ONLY_FOR_ARCHS=	amd64 i386
21
ONLY_FOR_ARCHS_REASON=	KMS is required and currently only available on x86
22
19
LIB_DEPENDS=	libdrm_amdgpu.so:graphics/libdrm
23
LIB_DEPENDS=	libdrm_amdgpu.so:graphics/libdrm
20
24
21
USES=		gl xorg-cat:driver
25
USES=		gl xorg-cat:driver
Lines 24-30 USE_GL= gbm Link Here
24
ONLY_FOR_ARCHS=	aarch64 i386 amd64
28
ONLY_FOR_ARCHS=	aarch64 i386 amd64
25
ONLY_FOR_ARCHS_REASON=	KMS is required and currently only available on x86/arm64
29
ONLY_FOR_ARCHS_REASON=	KMS is required and currently only available on x86/arm64
26
30
27
CONFIGURE_ARGS+=--disable-udev
31
CONFIGURE_ARGS+=	--disable-udev
28
32
29
PLIST_FILES=	lib/xorg/modules/drivers/amdgpu_drv.so \
33
PLIST_FILES=	lib/xorg/modules/drivers/amdgpu_drv.so \
30
		man/man4/amdgpu.4x.gz \
34
		man/man4/amdgpu.4x.gz \
(-)x11-drivers/xf86-video-amdgpu/files/patch-src_amdgpu__drm__queue.c (-8 / +8 lines)
Lines 1-6 Link Here
1
--- src/amdgpu_drm_queue.c.orig	2016-09-20 08:19:15 UTC
1
--- src/amdgpu_drm_queue.c.orig	2019-10-11 15:20:30 UTC
2
+++ src/amdgpu_drm_queue.c
2
+++ src/amdgpu_drm_queue.c
3
@@ -61,7 +61,7 @@ amdgpu_drm_queue_handler(int fd, unsigne
3
@@ -94,7 +94,7 @@ amdgpu_drm_queue_handler(int fd, unsigned int frame, u
4
 			 unsigned int usec, void *user_ptr)
4
 			 unsigned int usec, void *user_ptr)
5
 {
5
 {
6
 	uintptr_t seq = (uintptr_t)user_ptr;
6
 	uintptr_t seq = (uintptr_t)user_ptr;
Lines 9-15 Link Here
9
 
9
 
10
 	xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
10
 	xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
11
 		if (e->seq == seq) {
11
 		if (e->seq == seq) {
12
@@ -133,7 +133,7 @@ amdgpu_drm_abort_one(struct amdgpu_drm_q
12
@@ -213,7 +213,7 @@ amdgpu_drm_queue_alloc(xf86CrtcPtr crtc, ClientPtr cli
13
 void
13
 void
14
 amdgpu_drm_abort_client(ClientPtr client)
14
 amdgpu_drm_abort_client(ClientPtr client)
15
 {
15
 {
Lines 18-33 Link Here
18
 
18
 
19
 	xorg_list_for_each_entry(e, &amdgpu_drm_queue, list) {
19
 	xorg_list_for_each_entry(e, &amdgpu_drm_queue, list) {
20
 		if (e->client == client)
20
 		if (e->client == client)
21
@@ -147,7 +147,7 @@ amdgpu_drm_abort_client(ClientPtr client
21
@@ -227,7 +227,7 @@ amdgpu_drm_abort_client(ClientPtr client)
22
 void
22
 void
23
 amdgpu_drm_abort_entry(uintptr_t seq)
23
 amdgpu_drm_abort_entry(uintptr_t seq)
24
 {
24
 {
25
-	struct amdgpu_drm_queue_entry *e, *tmp;
25
-	struct amdgpu_drm_queue_entry *e, *tmp;
26
+	struct amdgpu_drm_queue_entry *e = NULL, *tmp;
26
+	struct amdgpu_drm_queue_entry *e = NULL, *tmp;
27
 
27
 
28
 	xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
28
 	if (seq == AMDGPU_DRM_QUEUE_ERROR)
29
 		if (e->seq == seq) {
29
 		return;
30
@@ -163,7 +163,7 @@ amdgpu_drm_abort_entry(uintptr_t seq)
30
@@ -260,7 +260,7 @@ amdgpu_drm_abort_entry(uintptr_t seq)
31
 void
31
 void
32
 amdgpu_drm_abort_id(uint64_t id)
32
 amdgpu_drm_abort_id(uint64_t id)
33
 {
33
 {
Lines 36-42 Link Here
36
 
36
 
37
 	xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
37
 	xorg_list_for_each_entry_safe(e, tmp, &amdgpu_drm_queue, list) {
38
 		if (e->id == id) {
38
 		if (e->id == id) {
39
@@ -191,7 +191,7 @@ amdgpu_drm_queue_init()
39
@@ -356,7 +356,7 @@ amdgpu_drm_queue_init(ScrnInfoPtr scrn)
40
 void
40
 void
41
 amdgpu_drm_queue_close(ScrnInfoPtr scrn)
41
 amdgpu_drm_queue_close(ScrnInfoPtr scrn)
42
 {
42
 {
(-)x11-drivers/xf86-video-amdgpu/files/patch-src_amdgpu__kms.c (-3 / +3 lines)
Lines 1-8 Link Here
1
--- src/amdgpu_kms.c.orig	2016-11-17 06:07:48 UTC
1
--- src/amdgpu_kms.c.orig	2019-10-11 15:20:30 UTC
2
+++ src/amdgpu_kms.c
2
+++ src/amdgpu_kms.c
3
@@ -723,7 +723,7 @@ amdgpu_dirty_update(ScrnInfoPtr scrn)
3
@@ -930,7 +930,7 @@ static void
4
 amdgpu_dirty_update(ScrnInfoPtr scrn)
4
 {
5
 {
5
 	AMDGPUInfoPtr info = AMDGPUPTR(scrn);
6
 	ScreenPtr screen = scrn->pScreen;
6
 	ScreenPtr screen = scrn->pScreen;
7
-	PixmapDirtyUpdatePtr ent;
7
-	PixmapDirtyUpdatePtr ent;
8
+	PixmapDirtyUpdatePtr ent = NULL;
8
+	PixmapDirtyUpdatePtr ent = NULL;
(-)x11-drivers/xf86-video-amdgpu/pkg-descr (-1 / +1 lines)
Lines 2-8 This package contains the X.Org xf86-video-amdgpu driver. Link Here
2
2
3
The amdgpu driver supports AMD Radeon chipsets: OLAND, HAINAN, TAHITI, PITCAIRN,
3
The amdgpu driver supports AMD Radeon chipsets: OLAND, HAINAN, TAHITI, PITCAIRN,
4
VERDE, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII, TOPAZ, TONGA, CARRIZO, FIJI,
4
VERDE, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII, TOPAZ, TONGA, CARRIZO, FIJI,
5
STONEY, POLARIS11, POLARIS10 
5
STONEY, POLARIS11, POLARIS10
6
6
7
On FreeBSD requires amdgpu KMS driver from graphics/drm-kmod.
7
On FreeBSD requires amdgpu KMS driver from graphics/drm-kmod.
8
8
(-)x11-fm/nemo/pkg-descr (-4 / +2 lines)
Lines 1-5 Link Here
1
Nautilus is a file manager tightly integrated into the GNOME destkop.
1
Nemo is the file manager for the Cinnamon desktop environment.
2
It is also responsible for desktop and icon management, and provides
3
an intuitive interface for accessing files and webpages.
4
2
5
WWW: http://www.gnome.org/projects/nautilus/
3
WWW: https://github.com/linuxmint/nemo
(-)x11-toolkits/p5-Gtk2/Makefile (-1 / +1 lines)
Lines 9-15 MASTER_SITES= CPAN \ Link Here
9
		SF/${PORTNAME:tl}-perl/${PORTNAME}/${PORTVERSION}
9
		SF/${PORTNAME:tl}-perl/${PORTNAME}/${PORTVERSION}
10
PKGNAMEPREFIX=	p5-
10
PKGNAMEPREFIX=	p5-
11
11
12
MAINTAINER=	swills@FreeBSD.org
12
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Perl module for Gtk+ 2.x graphical user interface library
13
COMMENT=	Perl module for Gtk+ 2.x graphical user interface library
14
14
15
LICENSE=	LGPL21
15
LICENSE=	LGPL21
(-)x11-toolkits/py-gtk2/Makefile (+1 lines)
Lines 14-19 DIST_SUBDIR= gnome2 Link Here
14
14
15
MAINTAINER=	gnome@FreeBSD.org
15
MAINTAINER=	gnome@FreeBSD.org
16
COMMENT=	Set of Python bindings for GTK+
16
COMMENT=	Set of Python bindings for GTK+
17
BROKEN=		Needs python2
17
18
18
BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/cairo/__init__.py:graphics/py-cairo@${PY_FLAVOR}
19
BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/cairo/__init__.py:graphics/py-cairo@${PY_FLAVOR}
19
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/cairo/__init__.py:graphics/py-cairo@${PY_FLAVOR}
20
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/cairo/__init__.py:graphics/py-cairo@${PY_FLAVOR}
(-)x11/libX11/Makefile (-2 lines)
Lines 25-31 INSTALL_TARGET= install-strip Link Here
25
post-patch:
25
post-patch:
26
	@${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \
26
	@${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' \
27
		${WRKSRC}/configure
27
		${WRKSRC}/configure
28
	@${REINPLACE_CMD} '/^install-data-am:/,/^$$/ \
29
		s/install-specDATA//' ${WRKSRC}/nls/Makefile.in
30
28
31
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)x11/rxvt-unicode/Makefile (-1 / +1 lines)
Lines 33-39 OPTIONS_DEFINE= PERL XIM UNICODE3 ISO14755 COMBINING RXVT_SCROLLBAR \ Link Here
33
33
34
SHEBANG_FILES=	${WRKSRC}/src/perl/*
34
SHEBANG_FILES=	${WRKSRC}/src/perl/*
35
perl_OLD_CMD=	perl
35
perl_OLD_CMD=	perl
36
perl_CMD=	${SETENV} perl
36
perl_CMD=	/usr/bin/env perl
37
37
38
PERL_DESC=		Embedded Perl interpreter
38
PERL_DESC=		Embedded Perl interpreter
39
XIM_DESC=		Support for XIM (X Input Method) protocol
39
XIM_DESC=		Support for XIM (X Input Method) protocol

Return to bug 249626