From b4d39049e48d761ce3343bc67c5c64f7bdf098d1 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 9 Feb 2022 14:05:49 -0500 Subject: system/cndrvcups-common: Fix 15.0 build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- system/cndrvcups-common/cndrvcups-common.SlackBuild | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system/cndrvcups-common') diff --git a/system/cndrvcups-common/cndrvcups-common.SlackBuild b/system/cndrvcups-common/cndrvcups-common.SlackBuild index d6f9ae4234..a31f21480b 100644 --- a/system/cndrvcups-common/cndrvcups-common.SlackBuild +++ b/system/cndrvcups-common/cndrvcups-common.SlackBuild @@ -22,6 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220209 bkw: Modified by SlackBuilds.org, fix build on 15.0. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cndrvcups-common @@ -79,6 +81,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +SLKCFLAGS+=" -fcommon" + ( cd buftool CFLAGS="$SLKCFLAGS" \ @@ -90,8 +94,10 @@ find -L . \ make install DESTDIR=$PKG ) +# 20220209 bkw: for some reason this wasn't picking up the libs it needs... ( cd cngplp + LIBS="$( pkg-config --libs glib-2.0 gmodule-2.0 gtk+-2.0 )" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./autogen.sh \ -- cgit v1.2.3