+--- xc/lib/GL/glx/Imakefile.redhat-libGL-exec-shield-fixes 2003-09-25 14:43:55.000000000 -0400
++++ xc/lib/GL/glx/Imakefile 2003-09-25 14:43:55.000000000 -0400
+@@ -43,6 +43,7 @@
+ #ifdef SparcArchitecture
+ LinkSourceFile(glapi_sparc.S, $(MESASRCDIR)/src/SPARC)
+ #endif
++LinkSourceFile(mem.c, $(MESASRCDIR)/src)
+
+
+ # Maybe some of these could come from
+@@ -70,7 +72,8 @@
+ single2.c \
+ singlepix.c \
+ vertarr.c \
+- xfont.c
++ xfont.c \
++ mem.c
+
+ GLX_OBJS = \
+ clientattrib.o \
+@@ -94,7 +97,8 @@
+ single2.o \
+ singlepix.o \
+ vertarr.o \
+- xfont.o
++ xfont.o \
++ mem.o
+
+ GLX_DEFS = GlxDefines
+