aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/scwm/files/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/scwm/files/patch-ah')
-rw-r--r--x11-wm/scwm/files/patch-ah20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-wm/scwm/files/patch-ah b/x11-wm/scwm/files/patch-ah
new file mode 100644
index 000000000000..e1b590b9eb21
--- /dev/null
+++ b/x11-wm/scwm/files/patch-ah
@@ -0,0 +1,20 @@
+--- src/scwm.c.orig Wed Sep 13 00:27:42 2000
++++ src/scwm.c Wed Sep 13 00:55:21 2000
+@@ -1838,7 +1838,7 @@
+ {
+ static SCM sym_arglist = SCM_UNDEFINED;
+ if (SCM_UNDEFINED == sym_arglist)
+- sym_arglist = scm_permanent_object(((scm_cell *)scm_intern0("arglist"))->car);
++ sym_arglist = scm_permanent_object(SCM_CAR(scm_intern0("arglist")));
+ { /* scope */
+ SCM p = scm_make_gsubr(name,req,opt,var,fcn);
+ if (fDocumentPrimitiveFormals) {
+@@ -1859,7 +1859,7 @@
+ since events.c has the SCWM_GLOBAL_SYMBOL definition of it */
+ if (SCM_BOOL_F == sym_interactive)
+ sym_interactive =
+- scm_permanent_object(((scm_cell *)scm_intern0("interactive"))->car);
++ scm_permanent_object(SCM_CAR(scm_intern0("interactive")));
+ { /* scope */
+ SCM p = scwm_make_gsubr(name,req,opt,var,fcn,szArgList);
+ scm_set_procedure_property_x(p,sym_interactive,