aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-09 14:05:49 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:37 +0700
commitb4d39049e48d761ce3343bc67c5c64f7bdf098d1 (patch)
tree264fd56099ca2c3dc27d9b48f34ca47b9e8cecaa
parentd07d6631fc8459f67f2708e5421a9d8180420b0f (diff)
system/cndrvcups-common: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/cndrvcups-common/cndrvcups-common.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/cndrvcups-common/cndrvcups-common.SlackBuild b/system/cndrvcups-common/cndrvcups-common.SlackBuild
index d6f9ae4234bb..a31f21480b6b 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 \