summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/xcb-util-cursor/Makefile8
-rw-r--r--x11/xcb-util-cursor/distinfo8
-rw-r--r--x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf18
-rw-r--r--x11/xcb-util-cursor/files/patch-cursor_cursor.h11
4 files changed, 9 insertions, 36 deletions
diff --git a/x11/xcb-util-cursor/Makefile b/x11/xcb-util-cursor/Makefile
index 97a0e3e16bcc..03ac1918d367 100644
--- a/x11/xcb-util-cursor/Makefile
+++ b/x11/xcb-util-cursor/Makefile
@@ -1,12 +1,12 @@
PORTNAME= xcb-util-cursor
-PORTVERSION= 0.1.3
+PORTVERSION= 0.1.5
CATEGORIES= x11
MASTER_SITES= http://xcb.freedesktop.org/dist/
-
MAINTAINER= x11@FreeBSD.org
COMMENT= XCB cursor library
WWW= https://xcb.freedesktop.org/
-
+PATCH_SITES= https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor/-/commit/
+PATCHFILES= d28a3227eb9e4bdeeb4dd93017c298808bbe62ee.patch:-p1
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xcb-util.pc:x11/xcb-util \
${LOCALBASE}/libdata/pkgconfig/xcb-renderutil.pc:x11/xcb-util-renderutil \
${LOCALBASE}/libdata/pkgconfig/xcb-image.pc:x11/xcb-util-image
-USES= gmake gperf xorg xorg-cat:lib
+USES= autoreconf gmake gperf tar:xz xorg xorg-cat:lib
USE_XORG= xcb
INSTALL_TARGET= install-strip
diff --git a/x11/xcb-util-cursor/distinfo b/x11/xcb-util-cursor/distinfo
index c33f0f851adf..3a7109f354dd 100644
--- a/x11/xcb-util-cursor/distinfo
+++ b/x11/xcb-util-cursor/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1478372663
-SHA256 (xorg/lib/xcb-util-cursor-0.1.3.tar.bz2) = 05a10a0706a1a789a078be297b5fb663f66a71fb7f7f1b99658264c35926394f
-SIZE (xorg/lib/xcb-util-cursor-0.1.3.tar.bz2) = 295224
+TIMESTAMP = 1749152863
+SHA256 (xorg/lib/xcb-util-cursor-0.1.5.tar.xz) = 0caf99b0d60970f81ce41c7ba694e5eaaf833227bb2cbcdb2f6dc9666a663c57
+SIZE (xorg/lib/xcb-util-cursor-0.1.5.tar.xz) = 266788
+SHA256 (xorg/lib/d28a3227eb9e4bdeeb4dd93017c298808bbe62ee.patch) = 08a69cc2ce91abd9e672f75f5e1d622dabaefd629491b83a73fc9278a7d0a42a
+SIZE (xorg/lib/d28a3227eb9e4bdeeb4dd93017c298808bbe62ee.patch) = 2662
diff --git a/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf b/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf
deleted file mode 100644
index e48d154448e4..000000000000
--- a/x11/xcb-util-cursor/files/patch-cursor__shape_to_id.gperf
+++ /dev/null
@@ -1,18 +0,0 @@
---- cursor/shape_to_id.gperf.orig 2013-08-28 14:00:29.539200308 +0200
-+++ cursor/shape_to_id.gperf 2013-08-28 14:01:02.866194795 +0200
-@@ -1,5 +1,5 @@
- struct shape_mapping { const char *name; int number; };
--const int cursor_shape_to_id(const char *name);
-+int cursor_shape_to_id(const char *name);
- %%
- X_cursor,0
- arrow,1
-@@ -79,7 +79,7 @@
- watch,75
- xterm,76
- %%
--const int cursor_shape_to_id(const char *name) {
-+int cursor_shape_to_id(const char *name) {
- struct shape_mapping *mapping = in_word_set(name, strlen(name));
- return (mapping ? (mapping->number * 2) : -1);
- }
diff --git a/x11/xcb-util-cursor/files/patch-cursor_cursor.h b/x11/xcb-util-cursor/files/patch-cursor_cursor.h
deleted file mode 100644
index cef7e985d680..000000000000
--- a/x11/xcb-util-cursor/files/patch-cursor_cursor.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- cursor/cursor.h.orig 2013-08-28 13:57:29.231213533 +0200
-+++ cursor/cursor.h 2013-08-28 13:57:38.222207468 +0200
-@@ -154,7 +154,7 @@
- } __attribute__((packed)) xcint_image_t;
-
- /* shape_to_id.c */
--const int cursor_shape_to_id(const char *name);
-+int cursor_shape_to_id(const char *name);
-
- /* parse_cursor_file.c */
- int parse_cursor_file(xcb_cursor_context_t *c, const int fd, xcint_image_t **images, int *nimg);