summaryrefslogtreecommitdiff
path: root/graphics/MesaDemos/patches
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-11-18 16:10:55 +0000
committerjschauma <jschauma>2003-11-18 16:10:55 +0000
commite953c7f3fa6e05c9187b4fe3854f5e046b21c96d (patch)
tree2bb68f730e1b8885e40673667ec8b888cc17ebc3 /graphics/MesaDemos/patches
parent40b5b342ee8b6ae1f3e28b8dbc93653d709a661f (diff)
downloadpkgsrc-e953c7f3fa6e05c9187b4fe3854f5e046b21c96d.tar.gz
Finally update Mesa and friends after the distfile changed on the website
without a version bump. Changes made, according to the website, for libtool/autofoo fixes. Some changes from Ron Roskens: glut depends upon graphics/glu (otherwise its linked against X11R6 libs) MesaDemos: rather than using the pre-built distribution makefiles, use the automake/configure built makefiles which have the build dependencies all setup. This closes PR pkg/23476.
Diffstat (limited to 'graphics/MesaDemos/patches')
-rw-r--r--graphics/MesaDemos/patches/patch-aa29
-rw-r--r--graphics/MesaDemos/patches/patch-ab30
-rw-r--r--graphics/MesaDemos/patches/patch-ac14
-rw-r--r--graphics/MesaDemos/patches/patch-ad13
-rw-r--r--graphics/MesaDemos/patches/patch-ae17
5 files changed, 85 insertions, 18 deletions
diff --git a/graphics/MesaDemos/patches/patch-aa b/graphics/MesaDemos/patches/patch-aa
index e4dc7964c57..8c43aefbcc1 100644
--- a/graphics/MesaDemos/patches/patch-aa
+++ b/graphics/MesaDemos/patches/patch-aa
@@ -1,22 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2003/03/09 19:04:53 jschauma Exp $
+$NetBSD: patch-aa,v 1.3 2003/11/18 16:10:55 jschauma Exp $
---- book/Makefile.X11.orig Tue Feb 15 20:09:06 2000
-+++ book/Makefile.X11 Sat Mar 8 18:59:50 2003
-@@ -9,10 +9,10 @@
-
- ##### MACROS #####
-
--INCDIR = ../include
--LIBDIR = ../lib
-+INCDIR = ${X11PREFIX}/include
-+LIBDIR = ${X11PREFIX}/lib
-
--GL_LIBS = -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS)
-+GL_LIBS = ${LDFLAGS} -L$(LIBDIR) -lglut -lGLU -lGL $(APP_LIB_DEPS)
-
- LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
-
-@@ -22,7 +22,7 @@
+--- book/Makefile.am.orig 2003-11-07 08:32:07.000000000 -0600
++++ book/Makefile.am 2003-11-17 20:50:19.000000000 -0600
+@@ -10,13 +10,12 @@
lines list material mipmap model movelight nurbs pickdepth \
picksquare plane planet polyoff polys quadric robot sccolorlight \
scene scenebamb sceneflat select smooth stencil stroke surface \
@@ -24,4 +10,11 @@ $NetBSD: patch-aa,v 1.2 2003/03/09 19:04:53 jschauma Exp $
+ teaambient teapots texbind texgen texprox texsub \
texturesurf torus trim unproject varray wrap
+ EXTRA_DIST = jitter.h
+
+-LDADD = $(GLUT_LIBS) $(top_builddir)/$(GLU_DIR)/libGLU.la \
+- $(top_builddir)/src/libGL.la -lm
++LDADD = $(GLUT_LIBS) -lGLU -lGL -lm
+ #LDFLAGS = -no-install
+ # execute all programs
diff --git a/graphics/MesaDemos/patches/patch-ab b/graphics/MesaDemos/patches/patch-ab
new file mode 100644
index 00000000000..dd50836e88e
--- /dev/null
+++ b/graphics/MesaDemos/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.5 2003/11/18 16:10:55 jschauma Exp $
+
+--- demos/Makefile.am.orig 2003-11-07 10:57:52.000000000 -0600
++++ demos/Makefile.am 2003-11-17 21:26:50.000000000 -0600
+@@ -22,6 +22,7 @@
+ morph3d \
+ multiarb \
+ occlude \
++ osdemo \
+ paltex \
+ pixeltex \
+ pointblast \
+@@ -47,14 +48,14 @@
+
+ CLEANFILES = test.ppm
+
+-LDADD = $(GLUT_LIBS) \
+- $(top_builddir)/$(GLU_DIR)/libGLU.la \
+- $(top_builddir)/src/libGL.la -lm
++LDADD = $(GLUT_LIBS) -lGLU -lGL -lm
+
+ #LDFLAGS = -no-install
+
+ EXTRA_DIST = isosurf.dat particles.cxx particles.h tunneldat.h
+
++osdemo_LDADD = $(LDADD) -lOSMesa
++
+ # use double buffering if possible
+ BUFFER = -db
+
diff --git a/graphics/MesaDemos/patches/patch-ac b/graphics/MesaDemos/patches/patch-ac
new file mode 100644
index 00000000000..e68d5551e88
--- /dev/null
+++ b/graphics/MesaDemos/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.4 2003/11/18 16:10:55 jschauma Exp $
+
+--- samples/Makefile.am.orig 2003-11-07 08:32:08.000000000 -0600
++++ samples/Makefile.am 2003-11-17 20:51:29.000000000 -0600
+@@ -12,8 +12,7 @@
+
+ EXTRA_DIST = tkmap.c loadppm.c
+
+-LDADD = $(GLUT_LIBS) $(top_builddir)/$(GLU_DIR)/libGLU.la \
+- $(top_builddir)/src/libGL.la -lm
++LDADD = $(GLUT_LIBS) -lGLU -lGL -lm
+ #LDFLAGS = -no-install
+
+ # default image
diff --git a/graphics/MesaDemos/patches/patch-ad b/graphics/MesaDemos/patches/patch-ad
new file mode 100644
index 00000000000..41d0161d4c5
--- /dev/null
+++ b/graphics/MesaDemos/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2003/11/18 16:10:55 jschauma Exp $
+
+--- configure.orig 2003-11-08 19:10:36.000000000 -0500
++++ configure 2003-11-08 19:10:53.000000000 -0500
+@@ -7121,7 +7121,7 @@
+ if test "x$enable_optim" = xyes; then
+ if test "x$enable_debug" = xno && test "x$enable_prof" = xno; then
+ if test "x$GCC" = xyes; then
+- CFLAGS="$CFLAGS -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fstrict-aliasing"
++ CFLAGS="$CFLAGS -fomit-frame-pointer -ffast-math -fexpensive-optimizations -fno-strict-aliasing"
+ case "$host" in
+ i*86-*-*) CFLAGS="$CFLAGS -malign-loops=2 -malign-jumps=2 -malign-functions=2";;
+ esac
diff --git a/graphics/MesaDemos/patches/patch-ae b/graphics/MesaDemos/patches/patch-ae
new file mode 100644
index 00000000000..db53c3b642d
--- /dev/null
+++ b/graphics/MesaDemos/patches/patch-ae
@@ -0,0 +1,17 @@
+$NetBSD: patch-ae,v 1.1 2003/11/18 16:10:55 jschauma Exp $
+
+--- src/GGI/Makefile.am.orig 2003-11-13 21:47:55.000000000 -0500
++++ src/GGI/Makefile.am 2003-11-13 21:48:04.000000000 -0500
+@@ -7,10 +7,10 @@
+ ggimesaconfdatadir = ${sysconfdir}/ggi
+ ggimesaconfdata_DATA = ggimesa.conf
+
+-INCLUDES += -I$(top_srcdir)/include -I$(top_srcdir)/src/GGI/include \
++INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/GGI/include \
+ -I$(top_srcdir)/src $(GGI_CFLAGS)
+
+-DEFS += -DGGIMESACONFFILE=\"$(ggimesaconfdatadir)/ggimesa.conf\"
++DEFS = -DGGIMESACONFFILE=\"$(ggimesaconfdatadir)/ggimesa.conf\"
+
+ if HAVE_GGI
+ # Build a libtool convenience library.