From 1e882ed02676325de8f332ef2cbed53a1cafd936 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 17 May 2016 19:58:01 +0200 Subject: [PATCH] hsetroot: fix pie. --- srcpkgs/hsetroot/patches/fix-libx11.patch | 21 ++++++++++----------- srcpkgs/hsetroot/template | 2 -- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/srcpkgs/hsetroot/patches/fix-libx11.patch b/srcpkgs/hsetroot/patches/fix-libx11.patch index da9893ccde9..ab49a4114fe 100644 --- a/srcpkgs/hsetroot/patches/fix-libx11.patch +++ b/srcpkgs/hsetroot/patches/fix-libx11.patch @@ -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 diff --git a/srcpkgs/hsetroot/template b/srcpkgs/hsetroot/template index 3cdee743ad8..fc302944120 100644 --- a/srcpkgs/hsetroot/template +++ b/srcpkgs/hsetroot/template @@ -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 }