diff options
-rw-r--r-- | system/cndrvcups-common/cndrvcups-common.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/cndrvcups-common/cndrvcups-common.SlackBuild b/system/cndrvcups-common/cndrvcups-common.SlackBuild index d6f9ae4234bbe..a31f21480b6b5 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 \ |