~supertux-dev/supertux/+git/external-physfs:stable-3.0-git

Last commit made on 2022-09-30
Get this branch:
git clone -b stable-3.0-git https://git.launchpad.net/~supertux-dev/supertux/+git/external-physfs

Branch merges

Branch information

Name:
stable-3.0-git
Repository:
lp:~supertux-dev/supertux/+git/external-physfs

Recent commits

eb3383b... by Ryan C. Gordon

Bumped version to 3.2.0!

6a7625c... by Ryan C. Gordon

apple: macOS 12.0 deprecated things called "master" for "main".

Try to look for the new name in the process's namespace before falling back
to the old one (and giving up on CD-ROM detection if everything falls apart).

iOS has PHYSFS_NO_CDROM_SUPPORT defined, so this isn't used there.

49662cd... by Ozkan Sezer <email address hidden>

minor update to endian macros from SDL.

4d9bcc3... by Ryan C. Gordon

atomic: __PHYSFS_ATOMIC_(DECR|INCR) should return final value.

Fixes #46.

496817a... by Ryan C. Gordon

PHYSFS_mkdir() should allow symlinks in the mounted writeDir itself.

Fixes #47.

0d4e9aa... by Ozkan Sezer <email address hidden>

silenced a -Wunused-but-set-variable warning.

65195f9... by Ozkan Sezer <email address hidden>

define MINIZ_LITTLE_ENDIAN based on PHYSFS_BYTEORDER.

fb0901b... by Ozkan Sezer <email address hidden>

silence a -Wint-in-bool-context warning:

In file included from /home/runner/work/physfs/physfs/src/physfs.c:12:
/home/runner/work/physfs/physfs/src/physfs.c: In function ‘openDirectory’:
/home/runner/work/physfs/physfs/src/physfs.c:929:40: warning: ?: using integer constants in boolean context [-Wint-in-bool-context]
  929 | BAIL_IF(!retval, claimed ? errcode : PHYSFS_ERR_UNSUPPORTED, NULL);
      | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/runner/work/physfs/physfs/src/physfs_internal.h:273:44: note: in definition of macro ‘BAIL_IF’
  273 | #define BAIL_IF(c, e, r) do { if (c) { if (e) PHYSFS_setErrorCode(e); return r; } } while (0)
      | ^

Closes https://github.com/icculus/physfs/issues/44

f0c7367... by Ryan C. Gordon

Update endian detection from latest in SDL2.

Fixes #43.

e32221a... by Ozkan Sezer <email address hidden>

cmake: add -Wall to CFLAGS for gcc and clang.