summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-05-26 06:08:48 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-05-26 06:08:48 +0800
commit7af6922f1990a934b272bac1f30577c9c9fb0540 (patch)
tree51fa7ac51cedb058737d4536c0e6aa02c7c85e5e
parentf0dfca4293b64e5211992a6b32ace82c47024dc0 (diff)
downloadmarcuscom-ports-7af6922f1990a934b272bac1f30577c9c9fb0540.tar
marcuscom-ports-7af6922f1990a934b272bac1f30577c9c9fb0540.tar.gz
marcuscom-ports-7af6922f1990a934b272bac1f30577c9c9fb0540.tar.bz2
marcuscom-ports-7af6922f1990a934b272bac1f30577c9c9fb0540.tar.lz
marcuscom-ports-7af6922f1990a934b272bac1f30577c9c9fb0540.tar.xz
marcuscom-ports-7af6922f1990a934b272bac1f30577c9c9fb0540.tar.zst
marcuscom-ports-7af6922f1990a934b272bac1f30577c9c9fb0540.zip
Correct a problem loading themes on 64-bit platforms.
Reported by: kris git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@813 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--x11-wm/metacity/Makefile1
-rw-r--r--x11-wm/metacity/files/patch-src_theme-parser.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/metacity/Makefile b/x11-wm/metacity/Makefile
index 8082bbad3..f9cfadaa3 100644
--- a/x11-wm/metacity/Makefile
+++ b/x11-wm/metacity/Makefile
@@ -7,6 +7,7 @@
PORTNAME= metacity
PORTVERSION= 2.5.2
+PORTREVISION= 1
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5
diff --git a/x11-wm/metacity/files/patch-src_theme-parser.c b/x11-wm/metacity/files/patch-src_theme-parser.c
new file mode 100644
index 000000000..31116ba15
--- /dev/null
+++ b/x11-wm/metacity/files/patch-src_theme-parser.c
@@ -0,0 +1,11 @@
+--- src/theme-parser.c.orig Sat May 24 19:12:06 2003
++++ src/theme-parser.c Sat May 24 19:12:43 2003
+@@ -4261,7 +4261,7 @@
+ GError *error;
+ ParseInfo info;
+ char *text;
+- int length;
++ gsize length;
+ char *theme_file;
+ char *theme_dir;
+ MetaTheme *retval;