- With `make -s` only compiler warnings are allowed to break silence
- -Wno-unsued-result is no longer fatal after 9.x EOL
source/gamelib/packfile.c: In function 'packfile_music_read':
source/gamelib/packfile.c:1402:13: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
memset(filelist[i].bgmTracks, 0, 256);
^~~~~~
source/scriptlib/Parser.c: In function 'Parser_Unary_expr':
source/scriptlib/Parser.c:1879:30: warning: may write a terminating nul past the end of the destination [-Wformat-length=]
sprintf(buf, "-%s", pInstruction->theToken->theSource);
~~~^
source/scriptlib/Parser.c:1879:13: note: format output between 2 and 129 bytes into a destination ofsize 128
sprintf(buf, "-%s", pInstruction->theToken->theSource);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/scriptlib/Parser.c:1906:30: warning: may write a terminating nul past the end of the destination [-Wformat-length=]
sprintf(buf, "!%s", pInstruction->theToken->theSource);
~~~^
source/scriptlib/Parser.c:1906:13: note: format output between 2 and 129 bytes into a destination ofsize 128
sprintf(buf, "!%s", pInstruction->theToken->theSource);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
openbor.c:8224:26: warning: comparison of unsigned expression >= 0 is always true
[-Wtautological-compare]
for(i = len-1; i >= 0; i--)
~ ^ ~
openbor.c:21719:68: warning: using integer absolute value function 'abs' when argument is of floating
point type [-Wabsolute-value]
if(ent->direction == DIRECTION_RIGHT) ent->velocity.x = -1*abs(ent->velocity.x);
^
openbor.c:21719:68: note: use function 'fabsf' instead
if(ent->direction == DIRECTION_RIGHT) ent->velocity.x = -1*abs(ent->velocity.x);
^~~
fabsf
openbor.c:21720:32: warning: using integer absolute value function 'abs' when argument is of floating
point type [-Wabsolute-value]
else ent->velocity.x = abs(ent->velocity.x);
^
openbor.c:21720:32: note: use function 'fabsf' instead
else ent->velocity.x = abs(ent->velocity.x);
^~~
fabsf
openbor.c:25840:9: warning: taking the absolute value of unsigned type 'unsigned int' has no effect
[-Wabsolute-value]
if (abs(rand32()) % 2)
^
openbor.c:25840:9: note: remove the call to 'abs' since unsigned values cannot be negative
if (abs(rand32()) % 2)
^~~
- Update from 2808 to 2904
- Switch to USE_GITHUB for distifles
Reviewed by: mat
Approved by: mat
Differential Revision: https://reviews.freebsd.org/D8695
If you want to set WRKSRC, set GH_PROJECT instead.
- The GitHub URLs are case insensitive, but the distribution files you
get out of them are not.
- If the repository was renamed, the old URL will still work, but the
distribution name will be ith the new name.
Sponsored by: Absolight
Many ports passed ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-L/usr/lib -lz"
which is unsafe at least with lang/gcc* that override some system headers
and have newer libgcc_s.so that our old version in base may not be
forward-compatible with.
- Use standard CC-BY-NC-SA-3.0 license
- Add gl to USE_GL
- Remove bsd.port.options.mk include
- Use new options helpers
- Use EXTRACT_* variables for post-extract target
- Use POST_PLIST for build-plist-empty target
PR: 215539
Submitted by: lightside@gmx.com (maintainer)
Add an environment variable for vendor behavior as unpacked data/
doesn't work with more than one (game) module. Some even mix non-stub
.pak file with data/ which makes re-packing them tricky.
Instead of manually invoking some make targets in post-build, use the
ALL_TARGET variable, which is cleaner and reduces the size of the Makefile.
PR: 215548
Approved by: m.tsatsenko@gmail.com (maintainer)
$ make clean all BOOTSTRAP= -C devel/libopenbsd
===> Cleaning for libopenbsd-r298107
===> License ISCL accepted by the user
===> libopenbsd-r298107 depends on file: /usr/local/sbin/pkg - found
===> libopenbsd-r298107 depends on executable: svn - found
/bin/mkdir -p /usr/ports/devel/libopenbsd/work
svn export -r298107 https://svn.freebsd.org/base/head/lib/libopenbsd/ /usr/ports/devel/libopenbsd/work/libopenbsd-r298107
A work/libopenbsd-r298107
A work/libopenbsd-r298107/sys
A work/libopenbsd-r298107/Makefile
A work/libopenbsd-r298107/imsg.c
A work/libopenbsd-r298107/sys/sysctl.h
A work/libopenbsd-r298107/getdtablecount.c
A work/libopenbsd-r298107/unistd.h
A work/libopenbsd-r298107/README
A work/libopenbsd-r298107/imsg-buffer.c
A work/libopenbsd-r298107/imsg.h
A work/libopenbsd-r298107/imsg_init.3
A work/libopenbsd-r298107/ohash.h
A work/libopenbsd-r298107/Makefile.depend
A work/libopenbsd-r298107/ohash_init.3
A work/libopenbsd-r298107/ohash_interval.3
A work/libopenbsd-r298107/ohash.c
Exported revision 298107.
(cd /usr/ports/devel/libopenbsd/work && /usr/bin/tar cJvf /usr/ports/distfiles//libopenbsd-r298107.tar.xz --uid 0 --gid 0 libopenbsd-r298107)
a libopenbsd-r298107
a libopenbsd-r298107/imsg.c
a libopenbsd-r298107/imsg.h
a libopenbsd-r298107/imsg_init.3
a libopenbsd-r298107/ohash_init.3
a libopenbsd-r298107/Makefile.depend
a libopenbsd-r298107/Makefile
a libopenbsd-r298107/ohash.c
a libopenbsd-r298107/ohash.h
a libopenbsd-r298107/ohash_interval.3
a libopenbsd-r298107/getdtablecount.c
a libopenbsd-r298107/imsg-buffer.c
a libopenbsd-r298107/README
a libopenbsd-r298107/unistd.h
a libopenbsd-r298107/sys
a libopenbsd-r298107/sys/sysctl.h
/usr/bin/sed -i.bak -i '' '/^PORTVERSION=/s/r.*/r298107/' /usr/ports/devel/libopenbsd/Makefile
===> Fetching all distfiles required by libopenbsd-r298107 for building
===> Extracting for libopenbsd-r298107
=> SHA256 Checksum mismatch for libopenbsd-r298107.tar.xz.
===> Refetch for 1 more times files: libopenbsd-r298107.tar.xz
===> License ISCL accepted by the user
===> libopenbsd-r298107 depends on file: /usr/local/sbin/pkg - found
===> libopenbsd-r298107 depends on executable: svn - found
/bin/mkdir -p /usr/ports/devel/libopenbsd/work
svn export -r298107 https://svn.freebsd.org/base/head/lib/libopenbsd/ /usr/ports/devel/libopenbsd/work/libopenbsd-r298107
svn: E155000: Destination directory exists; please remove the directory or use --force to overwrite
svn: E155000: '/usr/ports/devel/libopenbsd/work/libopenbsd-r298107' already exists
*** Error code 1
--- version.sh.bak 2016-11-05 19:01:19 UTC
+++ version.sh
@@ -27,7 +27,7 @@ fi
}
# Support the Bazaar VCS as an alternative to SVN through the bzr-svn plugin
-function get_revnum {
+VERSION_BUILD=4420() {
if test -d "../.svn" || test -d "./.svn"; then
VERSION_BUILD=`svn info | grep "Last Changed Rev" | sed s/Last\ Changed\ Rev:\ //g`
elif test -d ".bzr"; then
In file included from source/webmlib/halloc/halloc.c:20:0:
source/webmlib/halloc/align.h:42:25: error: conflicting types for 'max_align_t'
typedef union max_align max_align_t;
^
In file included from source/webmlib/halloc/halloc.h:18:0,
from source/webmlib/halloc/halloc.c:19:
/usr/include/stddef.h:74:3: note: previous declaration of 'max_align_t' was here
} max_align_t;
^
In file included from source/scriptlib/Interpreter.c:9:
In file included from ./openborscript.h:12:
In file included from source/scriptlib/Interpreter.h:12:
In file included from source/scriptlib/StackedSymbolTable.h:12:
In file included from source/scriptlib/SymbolTable.h:11:
source/scriptlib/ScriptVariant.h:66:23: warning: inline function 'ScriptVariant_Xor' is not defined
[-Wundefined-inline]
inline ScriptVariant *ScriptVariant_Xor( ScriptVariant *svar, ScriptVariant *rightChild );
^
source/scriptlib/Interpreter.c:1090:22: note: used here
BINARYOP(ScriptVariant_Xor);
^
Without this fix, a malicious aircraft maintainer can easily overwrite
arbitrary files the user running FlightGear has write access to.
Reported by: Florent Rougon <f.rougon@free.fr>
Security: 280cd52368/
- Update to ScummVM 1.9.0
- 1.9.0 isn't hosted on SF anymore so switch MASTER_SITES to scummvm.org
- Switch to using SDL2 which is now ScummVM's default backend.
- SDL2 has an sndio audio backend so this makes it possible to use
ScummVM with an sndio server.
- Adds an SNDIO option to the port to enable/disable the sndio MIDI
backend. Currently this is picked up by accident when users
have audio/sndio installed and compile ScummVM outside of
Poudriere/Synth.
- Add a couple of missing LIB_DEPENDS
PR: 215128
Submitted by: Tobias Kortkamp <t@tobik.me>
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms), part II.
The first part covered ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
This adds ports with USES=fortran and ports using Mk/bsd.octave.mk
which in turn has USES=fortran.
PR: 214965
Reported by: thierry
Braces are not shell metacharacters, and they do not need to be quoted.
By the time find parses its arguments and dicovers them, the quoting
will have been removed by the shell anyway.
Sponsored by: Absolight
- Instead of excluding the specific packages added to DISTFILES (but only for
FreeBSD 9+), exclude all files with a '.nupkg' extension.
- Move the nuget-extract command to be before post-extract, to allow the port's
post-extract command to move packages around
audio/libgpod-sharp: add port for mono bindings for libgpod
- audio/libgpod: [2]
- USE_GNOME: add missing dependency
- Remove mono files from pkg-plist (now in audio/libgpod-sharp)
- Allow relevant variables to be overridden
- Fix MONO options
- Patch source to allow building with modern mono
- Avoid post-install target for slave ports.
devel/monodevelop: update to 4.6.2.7
- Update nuget package Fantomas to 2.4.0 (latest at time of monodevelop's
release).
- Downgrade nuget package FSharp.Compiler.CodeDom (per paket's specification)
- LICENSE: Add license of LGPL21
- LICENSE_FILE: Add license file from source
- PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases)
games/openra: simplify post-extract [3]
- USES=mono:nuget allow overridding of NUGET_PACKAGEDIR
- Set NUGET_PACKAGEDIR to correct location, fix patching accordingly
lang/fsharp: update to 4.6.2.7
ChangeLog:
- Fix#639: Problems with F# scripts on Mono
- Fix FSharp.Compiler.Tools targets for .NET Core usage
- Fix FSharp.Compiler.Tools package dependencies
lang/mono: update to 4.6.2.7
Mono 4.6.2 is the 1st service release to the 4.6 series.
Changes:
- LICENSE: Add license of MIT
- LICENSE_FILE: Add license file from source
- PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases)
Bug fixes:
- #44708 - "TrustFailure (The authentication or decryption has failed.) ...
Invalid certificate received from server." with "Error code: 0x5"
or "Error code: 0xffffffff800b010f" when attempting to access
HTTPS servers on ports other than 443
- #39832 - SIGSEGV when running roslyn
multimedia/banshee: bump port revision.
- Update missing port dependencies
- Convert to use option helpers
- OPTIONS: Add APPLEDEV (missing dependency added)
- LICENSE: Add MIT license
- LICENSE_FILE: Add license file from source
- PORTSCOUT: Skip alpha release (2.9.1)
x11-toolkits/gnome-sharp20: fix port dependencies
- Add missing dependencies
- Convert post-patch to shebangfix
- LICENSE: add LGPL21 license
- LICENSE_FILE: use license file from source
- MKAE_JOBS_UNSAFE: remove, does appear to work
x11-toolkits/gtk-sharp20: update to 2.12.42.
PR: 214680 [2]
PR: 214681
Suggested by: jbeich [1]
Submitted by: jbeich [3]
Approved by: avilla (maintainer; timeout) [2]
Changelog:
- Update to Rubygems best practices
- ADD MIT LICENCE
- executables must be an array of strings
- Allow this gem to be pushed to any gemserver
PR: 214559
Submitted by: mose <mose@mose.com>
Approved by: mentors (implicit)
SDL Asylum is a C port of the computer game Asylum, which was
written by Andy Southgate in 1994 for the Acorn Archimedes and is
now public domain.
"Young Sigmund has a few problems. To help him resolve his mental
instability you must enter the surreal world of his inner mind and
shut down the malfunctioning brain cells which are causing him these
problems." -- Instructions file from original game
WWW: http://sdl-asylum.sourceforge.net/
This software must be ancient because it expects the required wide
ncurses headers to be only at <ncursesw/ncurses.h>. The previous
workaround symlinked the base headers to the work directory.
Instead, fix the 5 source files via sed and bypass the conftest.
Approved by: ncurses blanket