mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
These files were left out of the previous checkin by mistake.
PR: ports/62017 Submitted by/reminded by: David Yeske (maintainer)
This commit is contained in:
parent
a722c752b2
commit
fa636c762b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99773
10
x11/electricsheep/files/patch-configure
Normal file
10
x11/electricsheep/files/patch-configure
Normal file
@ -0,0 +1,10 @@
|
||||
--- mpeg2dec/configure.orig Thu Jun 12 21:31:41 2003
|
||||
+++ mpeg2dec/configure Thu Jun 12 21:32:01 2003
|
||||
@@ -7842,6 +7842,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='${SHELL} /usr/local/bin/libtool'
|
42
x11/electricsheep/files/patch-mpeg2dec_libvo_video_out_x11.c
Normal file
42
x11/electricsheep/files/patch-mpeg2dec_libvo_video_out_x11.c
Normal file
@ -0,0 +1,42 @@
|
||||
--- mpeg2dec/libvo/video_out_x11.c.orig Fri Jun 6 02:15:57 2003
|
||||
+++ mpeg2dec/libvo/video_out_x11.c Sun Jan 25 00:03:30 2004
|
||||
@@ -235,7 +235,9 @@
|
||||
/* this would break the solaris port though :-/ */
|
||||
|
||||
/* fuck solaris, plug the leak! */
|
||||
+#ifndef __FreeBSD__
|
||||
shmctl(instance->shminfo.shmid, IPC_RMID, 0);
|
||||
+#endif
|
||||
|
||||
/* XShmAttach fails on remote displays, so we have to catch this event */
|
||||
|
||||
@@ -254,6 +256,9 @@
|
||||
return NULL;
|
||||
}
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+ shmctl(instance->shminfo.shmid, IPC_RMID, 0);
|
||||
+#endif
|
||||
return instance->shminfo.shmaddr;
|
||||
}
|
||||
|
||||
@@ -640,6 +645,9 @@
|
||||
if (instance == NULL)
|
||||
return NULL;
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+ memset(instance, 0, sizeof(*instance));
|
||||
+#endif
|
||||
instance->vo.setup = x11_setup;
|
||||
return (vo_instance_t *) instance;
|
||||
}
|
||||
@@ -658,6 +666,9 @@
|
||||
if (instance == NULL)
|
||||
return NULL;
|
||||
|
||||
+#ifdef __FreeBSD__
|
||||
+ memset(instance, 0, sizeof(*instance));
|
||||
+#endif
|
||||
instance->vo.setup = xv_setup;
|
||||
return (vo_instance_t *) instance;
|
||||
}
|
14
x11/electricsheep/files/patch-mpeg2dec_libvo_vroot.h
Normal file
14
x11/electricsheep/files/patch-mpeg2dec_libvo_vroot.h
Normal file
@ -0,0 +1,14 @@
|
||||
--- mpeg2dec/libvo/vroot.h.orig Thu Dec 12 04:33:33 2002
|
||||
+++ mpeg2dec/libvo/vroot.h Sun Jan 25 00:42:03 2004
|
||||
@@ -98,7 +98,11 @@
|
||||
__SWM_VROOT, 0, 1, False, XA_WINDOW,
|
||||
&actual_type, &actual_format,
|
||||
&nitems, &bytesafter,
|
||||
+#ifdef __FreeBSD__
|
||||
+ (void *)&newRoot) == Success
|
||||
+#else
|
||||
(unsigned char **) &newRoot) == Success
|
||||
+#endif
|
||||
&& newRoot) {
|
||||
root = *newRoot;
|
||||
break;
|
Loading…
Reference in New Issue
Block a user