pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/mpeg2codec Fix build on Interix; turn off MIT...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/065eea98be69
branches:  trunk
changeset: 488099:065eea98be69
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Jan 24 20:34:06 2005 +0000

description:
Fix build on Interix; turn off MIT-SHM there.  (Ugly, but that's a fact of
life for Interix X11....)

diffstat:

 graphics/mpeg2codec/distinfo         |   4 ++--
 graphics/mpeg2codec/patches/patch-aa |  12 +++++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (48 lines):

diff -r 7807eeaa5664 -r 065eea98be69 graphics/mpeg2codec/distinfo
--- a/graphics/mpeg2codec/distinfo      Mon Jan 24 20:18:06 2005 +0000
+++ b/graphics/mpeg2codec/distinfo      Mon Jan 24 20:34:06 2005 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2002/09/22 01:32:58 jlam Exp $
+$NetBSD: distinfo,v 1.5 2005/01/24 20:34:06 tv Exp $
 
 SHA1 (mpeg2vidcodec_v12.tar.gz) = 2ba56c46f3a70213e4f09417ad5340ef2b1e312e
 Size (mpeg2vidcodec_v12.tar.gz) = 259790 bytes
-SHA1 (patch-aa) = 208e1aa22e94438a281fdca3ec711d93654b6e27
+SHA1 (patch-aa) = 0c1be867300e99fb62e90d782a29f71d07bded21
diff -r 7807eeaa5664 -r 065eea98be69 graphics/mpeg2codec/patches/patch-aa
--- a/graphics/mpeg2codec/patches/patch-aa      Mon Jan 24 20:18:06 2005 +0000
+++ b/graphics/mpeg2codec/patches/patch-aa      Mon Jan 24 20:34:06 2005 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.7 2002/09/22 01:32:58 jlam Exp $
+$NetBSD: patch-aa,v 1.8 2005/01/24 20:34:11 tv Exp $
 
---- Makefile.orig      Sat Jul 20 01:35:46 1996
+--- Makefile.orig      1996-07-19 19:35:46.000000000 -0400
 +++ Makefile
-@@ -30,31 +30,35 @@
+@@ -30,31 +30,37 @@
  # uncomment the following two lines if you want to include X11 support
  # (mpeg2decode)
  
@@ -10,6 +10,8 @@
 -#LIBS = -lX11
 +USE_DISP = -DDISPLAY
 +LIBS = -lX11
++
++OPSYS!= uname -s
  
  # uncomment the following two lines if you want to use shared memory
  # (faster display if server and client run on the same machine)
@@ -17,10 +19,10 @@
  
 -#USE_SHMEM = -DSH_MEM
 -#LIBS = -lXext -lX11
++.if ${OPSYS} != "Interix"
 +USE_SHMEM = -DSH_MEM
 +LIBS = -lXext -lX11
-+
-+OPSYS!= uname -s
++.endif
 +
 +.if ${OPSYS} == "SunOS"
 +LIBS+= -lsocket -lnsl



Home | Main Index | Thread Index | Old Index