pkg://vogl-1.2.8-1.src.rpm:411559/vogl-linux.patch
info downloads
diff -uNr vogl.orig/Makefile.gcc vogl/Makefile.gcc
--- vogl.orig/Makefile.gcc Tue Sep 28 23:11:18 1993
+++ vogl/Makefile.gcc Tue Feb 4 10:07:14 1997
@@ -76,7 +76,7 @@
# Global CFLAGS can be set here.
#
# The default
-CFLAGS = -O -I/usr/local/R5/include
+CFLAGS = -O
#
# SUN4/SUN3
@@ -114,8 +114,8 @@
FFLAGS = -O -w /usr/lib/libm.il
#
# Or on an apollo (We didn't have ftn)
-#F77 =
-#FFLAGS =
+F77 =
+FFLAGS =
#
# Or on an IBM RS6000
@@ -139,9 +139,9 @@
#
# SUN
-LLIBS = -lsuntool -lsunwindow -lpixrect
+#LLIBS = -lsuntool -lsunwindow -lpixrect
# X11
-LLIBS = -lX11
+LLIBS = -L/usr/X11/lib -lX11
# SGI
#LLIBS = -lgl_s
# NeXT
@@ -174,23 +174,26 @@
LIBS="$(LIBS)" \
RANLIB="$(RANLIB)"
- cd examples; make -f Makefile \
- CC="$(CC)" \
- MCFLAGS="$(MCFLAGS)" \
- LIBS="$(LIBS)"
+# cd examples; make -f Makefile \
+# CC="$(CC)" \
+# MCFLAGS="$(MCFLAGS)" \
+# LIBS="$(LIBS)"
- if test -n "$(F77)" ; \
- then cd examples; make -f Makefile.f77 \
- LIBS="$(LIBS)" \
- MFFLAGS="$(MFFLAGS)" \
- F77="$(F77)" ; \
- fi ; exit 0
+# if test -n "$(F77)" ; \
+# then cd examples; make -f Makefile.f77 \
+# LIBS="$(LIBS)" \
+# MFFLAGS="$(MFFLAGS)" \
+# F77="$(F77)" ; \
+# fi ; exit 0
install:
cp src/$(LIB) $(DEST)
chmod 644 $(DEST)/$(LIB)
$(RANLIB) $(DEST)/$(LIB)
+ cp contrib/vogl.h.ansi /usr/local/include/vogl.h
+ cp src/vodevice.h /usr/local/include/
+ cp docs/vogl.3 /usr/local/man/man3/
clean:
cd src; make DOBJS="$(DOBJS)" clean
diff -uNr vogl.orig/contrib/vogl.h.ansi vogl/contrib/vogl.h.ansi
--- vogl.orig/contrib/vogl.h.ansi Thu May 19 01:59:46 1994
+++ vogl/contrib/vogl.h.ansi Tue Feb 4 10:07:52 1997
@@ -1,40 +1,3 @@
-----------
-X-Sun-Data-Type: text
-X-Sun-Data-Description: text
-X-Sun-Data-Name: text
-X-Sun-Content-Lines: 25
-
-
-Hello Bernie !
-
-Sorry for the long delay, but we had a lot of
-trouble the last few days - not with VOGL, of course.
-
-I promised you to send the ansi-C version of the
-VOGL-Header. Okay, here they are.
-
-Ever though of VOGL++ ?
-
-Greetings,
-Dieter
-
-
- *************************************************************
-* *
-* Dieter Kranzlmueller *
-* Dept. for Graphics and Parallel Processing (GUP-Linz) *
-* Institute of Computer Science *
-* Johannes Kepler University Linz *
-* Altenbergerstr. 69, A-4040 Linz, AUSTRIA, EUROPE *
-* e-mail: dk@gup.uni-linz.ac.at *
-* *
- *************************************************************
-----------
-X-Sun-Data-Type: default
-X-Sun-Data-Description: default
-X-Sun-Data-Name: vogl.h.ansi
-X-Sun-Content-Lines: 631
-
#ifndef vogl_h
#ifdef PC /* Stupid pox head crap */