aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2018-10-31 04:10:50 +0800
committerzeising <zeising@FreeBSD.org>2018-10-31 04:10:50 +0800
commit2c3f86229eaa0f70e930df969cafb7899982850a (patch)
tree234f61ae0b232fd955d852b5bd28c08ed2dbec91 /x11
parente5f43d8a85e694a2173b43ee1ac2d277115e866f (diff)
downloadfreebsd-ports-gnome-2c3f86229eaa0f70e930df969cafb7899982850a.tar.gz
freebsd-ports-gnome-2c3f86229eaa0f70e930df969cafb7899982850a.tar.zst
freebsd-ports-gnome-2c3f86229eaa0f70e930df969cafb7899982850a.zip
x11/libSM: Update to 1.2.3
Update libSM to 1.2.3. Rename the patch to fit FreeBSD standard naming. Changelog: https://lists.x.org/archives/xorg-announce/2018-October/002922.html PR: 232798 Submitted by: pete@nomadlogic.org
Diffstat (limited to 'x11')
-rw-r--r--x11/libSM/Makefile3
-rw-r--r--x11/libSM/distinfo5
-rw-r--r--x11/libSM/files/patch-sm_genid.c17
-rw-r--r--x11/libSM/files/patch-src_sm__genid.c11
4 files changed, 15 insertions, 21 deletions
diff --git a/x11/libSM/Makefile b/x11/libSM/Makefile
index 23754e37355e..12b8ff8a1ae0 100644
--- a/x11/libSM/Makefile
+++ b/x11/libSM/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libSM
-PORTVERSION= 1.2.2
-PORTREVISION= 5
+PORTVERSION= 1.2.3
PORTEPOCH= 1
CATEGORIES= x11
diff --git a/x11/libSM/distinfo b/x11/libSM/distinfo
index dafbe43218ea..5ecbefb2ba9d 100644
--- a/x11/libSM/distinfo
+++ b/x11/libSM/distinfo
@@ -1,2 +1,3 @@
-SHA256 (xorg/lib/libSM-1.2.2.tar.bz2) = 0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd
-SIZE (xorg/lib/libSM-1.2.2.tar.bz2) = 348908
+TIMESTAMP = 1540742700
+SHA256 (xorg/lib/libSM-1.2.3.tar.bz2) = 2d264499dcb05f56438dee12a1b4b71d76736ce7ba7aa6efbf15ebb113769cbb
+SIZE (xorg/lib/libSM-1.2.3.tar.bz2) = 362595
diff --git a/x11/libSM/files/patch-sm_genid.c b/x11/libSM/files/patch-sm_genid.c
deleted file mode 100644
index 24c383ca8f00..000000000000
--- a/x11/libSM/files/patch-sm_genid.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/sm_genid.c.orig 2010-06-04 20:15:04.000000000 +0200
-+++ src/sm_genid.c 2011-08-06 20:15:47.000000000 +0200
-@@ -111,11 +111,13 @@ SmsGenerateClientID(SmsConn smsConn)
- {
- #if defined(HAVE_UUID_CREATE)
- char *id;
-- char **temp;
-+ char *temp;
- uuid_t uuid;
- uint32_t status;
-
- uuid_create(&uuid, &status);
-+ if (status != uuid_s_ok)
-+ return NULL;
-
- uuid_to_string(&uuid, &temp, &status);
-
diff --git a/x11/libSM/files/patch-src_sm__genid.c b/x11/libSM/files/patch-src_sm__genid.c
new file mode 100644
index 000000000000..92dd079bbe68
--- /dev/null
+++ b/x11/libSM/files/patch-src_sm__genid.c
@@ -0,0 +1,11 @@
+--- src/sm_genid.c.orig 2018-10-10 15:05:03 UTC
++++ src/sm_genid.c
+@@ -114,6 +114,8 @@ SmsGenerateClientID(SmsConn smsConn)
+ size_t len;
+
+ uuid_create(&uuid, &status);
++ if (status != uuid_s_ok)
++ return NULL;
+
+ uuid_to_string(&uuid, &temp, &status);
+