Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions graphics/feh/feh.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# 20250124 lumin:
# - add feature macro to expose mkstemps(3) support.
# 20240916 lumin:
# - new maintainer
# 20240903 bkw:
Expand All @@ -38,7 +40,7 @@ cd $(dirname $0) ; CWD=$(pwd)

PRGNAM=feh
VERSION=${VERSION:-3.10.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

Expand Down Expand Up @@ -82,7 +84,10 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +

CFLAGS="$SLKCFLAGS" \
# Add _DEFAULT_SOURCE to allow mkstemps usage.
# Some setups may error out on the implicit
# declaration of mkstemps otherwise.
CFLAGS="$SLKCFLAGS -D_DEFAULT_SOURCE" \
make \
PREFIX=/usr \
curl=1 \
Expand Down