summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-11-19 11:21:25 +0000
committeragc <agc@pkgsrc.org>1999-11-19 11:21:25 +0000
commit0f53592606a00d939ef72da1c8e698ed3366575a (patch)
tree672215c83604540437d1ddd8f0bb45db5fc909b0 /graphics
parent3768f5565076214e1b102cb290f314bab499ce6f (diff)
downloadpkgsrc-0f53592606a00d939ef72da1c8e698ed3366575a.tar.gz
Make this package compile on Solaris.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mpeg2codec/files/patch-sum4
-rw-r--r--graphics/mpeg2codec/patches/patch-aa14
2 files changed, 12 insertions, 6 deletions
diff --git a/graphics/mpeg2codec/files/patch-sum b/graphics/mpeg2codec/files/patch-sum
index cedf586e273..18a0dd98e6b 100644
--- a/graphics/mpeg2codec/files/patch-sum
+++ b/graphics/mpeg2codec/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 13:51:09 agc Exp $
+$NetBSD: patch-sum,v 1.2 1999/11/19 11:21:25 agc Exp $
-MD5 (patch-aa) = 5a619c978dc0b5f73c32e158fcdf523b
+MD5 (patch-aa) = d93f2df1467e031a1fecdf92998b72c4
diff --git a/graphics/mpeg2codec/patches/patch-aa b/graphics/mpeg2codec/patches/patch-aa
index 9c91cd52c69..0327b3cf1bf 100644
--- a/graphics/mpeg2codec/patches/patch-aa
+++ b/graphics/mpeg2codec/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 1999/07/06 17:59:44 tron Exp $
+$NetBSD: patch-aa,v 1.3 1999/11/19 11:21:26 agc Exp $
---- Makefile.orig Sat Jul 20 01:35:46 1996
-+++ Makefile Tue Jul 6 19:57:12 1999
-@@ -30,23 +30,23 @@
+--- Makefile.orig Sat Jul 20 00:35:46 1996
++++ Makefile Fri Nov 19 11:19:12 1999
+@@ -30,23 +30,29 @@
# uncomment the following two lines if you want to include X11 support
# (mpeg2decode)
@@ -19,6 +19,12 @@ $NetBSD: patch-aa,v 1.2 1999/07/06 17:59:44 tron Exp $
-#LIBS = -lXext -lX11
+USE_SHMEM = -DSH_MEM
+LIBS = -lXext -lX11
++
++OPSYS!= uname -s
++
++.if ${OPSYS} == "SunOS"
++LIBS+= -lsocket -lnsl
++.endif
# if your X11 include files / libraries are in a non standard location:
# set INCLUDEDIR to -I followed by the appropriate include file path and