summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-02-19 20:29:16 +0000
committer Eric Hameleers <alien@slackware.com>2024-02-19 21:59:13 +0100
commit34de96534a68c705aacf245b35d50060801926c0 (patch)
tree51c20d508b5e32dc74c034b598fcda2e8a9f35ac /source
parentb21fd9a6857f25d0887df3f66ce30d4ea4d43797 (diff)
downloadcurrent-34de96534a68c705aacf245b35d50060801926c0.tar.gz
current-34de96534a68c705aacf245b35d50060801926c0.tar.xz
Mon Feb 19 20:29:16 UTC 202420240219202916
l/giflib-5.2.2-x86_64-1.txz: Upgraded. l/libwnck3-43.0-x86_64-2.txz: Rebuilt. Fixed crash bug. Thanks to fulalas. n/samba-4.19.5-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rw-r--r--source/l/giflib/giflib.GifQuantizeBuffer.diff20
-rwxr-xr-xsource/l/giflib/giflib.SlackBuild2
-rw-r--r--source/l/libwnck3/00000000.patch27
-rwxr-xr-xsource/l/libwnck3/libwnck3.SlackBuild5
-rw-r--r--source/n/samba/samba.url4
5 files changed, 43 insertions, 15 deletions
diff --git a/source/l/giflib/giflib.GifQuantizeBuffer.diff b/source/l/giflib/giflib.GifQuantizeBuffer.diff
index e79b4278f..8488cee4a 100644
--- a/source/l/giflib/giflib.GifQuantizeBuffer.diff
+++ b/source/l/giflib/giflib.GifQuantizeBuffer.diff
@@ -1,13 +1,11 @@
---- ./Makefile.orig 2019-03-28 13:57:23.000000000 -0500
-+++ ./Makefile 2019-04-15 13:39:08.565931109 -0500
-@@ -67,8 +67,8 @@
-
- $(UTILS):: libgif.a libutil.a
-
--libgif.so: $(OBJECTS) $(HEADERS)
-- $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS)
-+libgif.so: $(OBJECTS) $(HEADERS) $(UOBJECTS)
-+ $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) $(UOBJECTS)
+--- ./Makefile.orig 2024-02-19 13:22:38.525026520 -0600
++++ ./Makefile 2024-02-19 13:24:23.962028878 -0600
+@@ -99,7 +99,7 @@
+ ifeq ($(UNAME), Darwin)
+ $(CC) $(CFLAGS) -dynamiclib -current_version $(LIBVER) $(OBJECTS) -o $(LIBGIFSO)
+ else
+- $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,$(LIBGIFSOMAJOR) -o $(LIBGIFSO) $(OBJECTS)
++ $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,$(LIBGIFSOMAJOR) -o $(LIBGIFSO) $(OBJECTS) $(UOBJECTS)
+ endif
libgif.a: $(OBJECTS) $(HEADERS)
- $(AR) rcs libgif.a $(OBJECTS)
diff --git a/source/l/giflib/giflib.SlackBuild b/source/l/giflib/giflib.SlackBuild
index c8883db35..cfdcf2318 100755
--- a/source/l/giflib/giflib.SlackBuild
+++ b/source/l/giflib/giflib.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=giflib
VERSION=${VERSION:-$(echo giflib-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
diff --git a/source/l/libwnck3/00000000.patch b/source/l/libwnck3/00000000.patch
new file mode 100644
index 000000000..b22615761
--- /dev/null
+++ b/source/l/libwnck3/00000000.patch
@@ -0,0 +1,27 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= <alberts.muktupavels@gmail.com>
+Date: Tue, 20 Sep 2022 15:40:22 +0300
+Subject: [PATCH] handle: avoid segfault in invalidate_icons
+
+Screens variable won't be initialized if default icon sizes are
+set/changed before using wnck_screen_get_default.
+
+https://bugs.launchpad.net/ubuntu/+source/libwnck3/+bug/1990263
+---
+ libwnck/wnck-handle.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/libwnck/wnck-handle.c b/libwnck/wnck-handle.c
+index e12ff8825045..8d5da45c8787 100644
+--- a/libwnck/wnck-handle.c
++++ b/libwnck/wnck-handle.c
+@@ -70,6 +70,9 @@ invalidate_icons (WnckHandle *self)
+ Display *xdisplay;
+ int i;
+
++ if (self->screens == NULL)
++ return;
++
+ xdisplay = _wnck_get_default_display ();
+
+ for (i = 0; i < ScreenCount (xdisplay); ++i)
diff --git a/source/l/libwnck3/libwnck3.SlackBuild b/source/l/libwnck3/libwnck3.SlackBuild
index 10e60ff20..b251cf0f2 100755
--- a/source/l/libwnck3/libwnck3.SlackBuild
+++ b/source/l/libwnck3/libwnck3.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libwnck3
VERSION=${VERSION:-$(echo libwnck-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -80,6 +80,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# Fix crash bug:
+cat $CWD/00000000.patch | patch -p1 --verbose || exit 1
+
# Configure, build, and install:
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
diff --git a/source/n/samba/samba.url b/source/n/samba/samba.url
index bc66238b9..1ba921f23 100644
--- a/source/n/samba/samba.url
+++ b/source/n/samba/samba.url
@@ -1,2 +1,2 @@
-https://download.samba.org/pub/samba/stable/samba-4.19.4.tar.gz
-https://download.samba.org/pub/samba/stable/samba-4.19.4.tar.asc
+https://download.samba.org/pub/samba/stable/samba-4.19.5.tar.gz
+https://download.samba.org/pub/samba/stable/samba-4.19.5.tar.asc