hsetroot: fix pie.

This commit is contained in:
Christian Neukirchen 2016-05-17 19:58:01 +02:00
parent 0c38b566c3
commit 1e882ed026
2 changed files with 10 additions and 13 deletions

View file

@ -1,12 +1,11 @@
--- configure.ac 2003-09-05 23:41:38.000000000 +0200
+++ configure.ac 2016-05-16 14:11:37.284749099 +0200
@@ -38,6 +38,9 @@
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
--- src/Makefile.am.orig
+++ src/Makefile.am
@@ -1,7 +1,7 @@
bin_PROGRAMS = hsetroot
AM_CFLAGS = @CFLAGS@ @IMLIB2_CFLAGS@ -Wall
-LIBS = @IMLIB2_LIBS@
+LIBS = @IMLIB2_LIBS@ -lX11
hsetroot_SOURCES = hsetroot.c
+# Need libX11
+LDFLAGS="-lX11"
+
# Check for imlib2
AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
if test x$imlib2config_cmd = "x"; then

View file

@ -12,8 +12,6 @@ homepage="http://www.thegraveyard.org/hsetroot.php"
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/hsetroot-${version}.tar.gz"
checksum=d6712d330b31122c077bfc712ec4e213abe1fe71ab24b9150ae2774ca3154fd7
broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/11652/steps/shell_3/logs/stdio"
pre_configure() {
autoreconf -if
}