pkg://xltmix-1.1-2.src.rpm:32613/xltmix-1.1.patch
info downloads
diff -uNr xltmix-1.1.orig/Makefile xltmix-1.1/Makefile
--- xltmix-1.1.orig/Makefile Fri Oct 3 16:32:29 1997
+++ xltmix-1.1/Makefile Fri Oct 3 16:48:34 1997
@@ -21,12 +21,12 @@
# Uncomment the following line, _ONLY_ if you have
# read mixer.c and understand the consequences.
#
-#INIT_CHK= -DDISABLE_INITCHECK
+INIT_CHK= -DDISABLE_INITCHECK
#
# This determines where the executable xltmix will be installed.
#
-INSTDIR= /usr/local/bin/
+INSTDIR= $(RPM_BUILD_ROOT)/usr/local/bin/
INSTALL= install
#
@@ -49,7 +49,7 @@
#STRIP= echo
ELF= -fPIC
-INCL= # -I.
+INCL= -I/usr/X11R6/include
CCOPTS= -c $(DEBUG)$(OPT) $(CPU) $(ELF) $(DEV_BASE) $(INIT_CHK) -Wstrict-prototypes -Wall
CC= gcc
@@ -68,13 +68,13 @@
xltmix: $(OBJS)
rm -f xltmix
- $(CC) $(OBJS) -lXm -lXt -lX11 -o xltmix
+ $(CC) $(OBJS) -lXm -lXt -lX11 -o xltmix -L/usr/X11R6/lib
$(STRIP) xltmix
ls -l xltmix
@echo "You will need root or setuid root to run xltmix."
install: xltmix
- $(INSTALL) -o root -g root -m 555 xltmix $(INSTDIR)
+ $(INSTALL) -m 555 xltmix $(INSTDIR)
@echo
@echo "Do 'chmod u+s $(INSTDIR)/xltmix' to give"
@echo "it setuid root privileges that it will require"