[118507] trunk/dports/multimedia/libmpeg2
mojca at macports.org
mojca at macports.org
Thu Apr 3 07:29:40 PDT 2014
Revision: 118507
https://trac.macports.org/changeset/118507
Author: mojca at macports.org
Date: 2014-04-03 07:29:40 -0700 (Thu, 03 Apr 2014)
Log Message:
-----------
libmpeg2: remove -p1 for patching
Modified Paths:
--------------
trunk/dports/multimedia/libmpeg2/Portfile
trunk/dports/multimedia/libmpeg2/files/universal.patch
Modified: trunk/dports/multimedia/libmpeg2/Portfile
===================================================================
--- trunk/dports/multimedia/libmpeg2/Portfile 2014-04-03 14:25:00 UTC (rev 118506)
+++ trunk/dports/multimedia/libmpeg2/Portfile 2014-04-03 14:29:40 UTC (rev 118507)
@@ -23,7 +23,6 @@
sha256 dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
patchfiles universal.patch
-patch.pre_args -p1
configure.args --enable-shared \
--disable-sdl \
Modified: trunk/dports/multimedia/libmpeg2/files/universal.patch
===================================================================
--- trunk/dports/multimedia/libmpeg2/files/universal.patch 2014-04-03 14:25:00 UTC (rev 118506)
+++ trunk/dports/multimedia/libmpeg2/files/universal.patch 2014-04-03 14:29:40 UTC (rev 118507)
@@ -1,6 +1,5 @@
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/cpu_accel.c libmpeg2-0.5.1/libmpeg2/cpu_accel.c
---- libmpeg2-0.5.1.orig/libmpeg2/cpu_accel.c 2008-07-09 15:16:05.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/cpu_accel.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/cpu_accel.c.orig
++++ libmpeg2/cpu_accel.c
@@ -29,7 +29,7 @@
#include "attributes.h"
#include "mpeg2_internal.h"
@@ -72,9 +71,8 @@
accel = arch_accel (accel);
#endif
return accel;
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/cpu_state.c libmpeg2-0.5.1/libmpeg2/cpu_state.c
---- libmpeg2-0.5.1.orig/libmpeg2/cpu_state.c 2008-07-09 15:16:05.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/cpu_state.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/cpu_state.c.orig
++++ libmpeg2/cpu_state.c
@@ -29,21 +29,21 @@
#include "mpeg2.h"
#include "attributes.h"
@@ -115,9 +113,8 @@
if (accel & MPEG2_ACCEL_PPC_ALTIVEC) {
mpeg2_cpu_state_save = state_save_altivec;
mpeg2_cpu_state_restore = state_restore_altivec;
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/idct.c libmpeg2-0.5.1/libmpeg2/idct.c
---- libmpeg2-0.5.1.orig/libmpeg2/idct.c 2008-07-09 17:48:55.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/idct.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/idct.c.orig
++++ libmpeg2/idct.c
@@ -235,7 +235,7 @@ static void mpeg2_idct_add_c (const int
void mpeg2_idct_init (uint32_t accel)
@@ -144,9 +141,8 @@
if (accel & MPEG2_ACCEL_ALPHA_MVI) {
mpeg2_idct_copy = mpeg2_idct_copy_mvi;
mpeg2_idct_add = mpeg2_idct_add_mvi;
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/idct_alpha.c libmpeg2-0.5.1/libmpeg2/idct_alpha.c
---- libmpeg2-0.5.1.orig/libmpeg2/idct_alpha.c 2008-07-09 17:50:10.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/idct_alpha.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/idct_alpha.c.orig
++++ libmpeg2/idct_alpha.c
@@ -24,7 +24,7 @@
#include "config.h"
@@ -162,9 +158,8 @@
-#endif /* ARCH_ALPHA */
+#endif /* __alpha__ */
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/idct_altivec.c libmpeg2-0.5.1/libmpeg2/idct_altivec.c
---- libmpeg2-0.5.1.orig/libmpeg2/idct_altivec.c 2008-07-11 11:35:34.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/idct_altivec.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/idct_altivec.c.orig
++++ libmpeg2/idct_altivec.c
@@ -23,7 +23,7 @@
#include "config.h"
@@ -174,9 +169,8 @@
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/idct_mmx.c libmpeg2-0.5.1/libmpeg2/idct_mmx.c
---- libmpeg2-0.5.1.orig/libmpeg2/idct_mmx.c 2008-07-09 17:49:47.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/idct_mmx.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/idct_mmx.c.orig
++++ libmpeg2/idct_mmx.c
@@ -23,7 +23,7 @@
#include "config.h"
@@ -186,9 +180,8 @@
#include <inttypes.h>
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/motion_comp.c libmpeg2-0.5.1/libmpeg2/motion_comp.c
---- libmpeg2-0.5.1.orig/libmpeg2/motion_comp.c 2008-07-09 15:16:05.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/motion_comp.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/motion_comp.c.orig
++++ libmpeg2/motion_comp.c
@@ -33,7 +33,7 @@ mpeg2_mc_t mpeg2_mc;
void mpeg2_mc_init (uint32_t accel)
@@ -225,9 +218,8 @@
if (accel & MPEG2_ACCEL_ARM) {
mpeg2_mc = mpeg2_mc_arm;
} else
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/motion_comp_alpha.c libmpeg2-0.5.1/libmpeg2/motion_comp_alpha.c
---- libmpeg2-0.5.1.orig/libmpeg2/motion_comp_alpha.c 2008-07-09 14:28:24.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/motion_comp_alpha.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/motion_comp_alpha.c.orig
++++ libmpeg2/motion_comp_alpha.c
@@ -22,7 +22,7 @@
#include "config.h"
@@ -237,9 +229,8 @@
#include <inttypes.h>
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/motion_comp_altivec.c libmpeg2-0.5.1/libmpeg2/motion_comp_altivec.c
---- libmpeg2-0.5.1.orig/libmpeg2/motion_comp_altivec.c 2008-07-09 14:28:24.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/motion_comp_altivec.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/motion_comp_altivec.c.orig
++++ libmpeg2/motion_comp_altivec.c
@@ -23,7 +23,7 @@
#include "config.h"
@@ -249,9 +240,8 @@
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/motion_comp_arm.c libmpeg2-0.5.1/libmpeg2/motion_comp_arm.c
---- libmpeg2-0.5.1.orig/libmpeg2/motion_comp_arm.c 2008-07-09 15:16:05.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/motion_comp_arm.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/motion_comp_arm.c.orig
++++ libmpeg2/motion_comp_arm.c
@@ -22,7 +22,7 @@
#include "config.h"
@@ -261,9 +251,8 @@
#include <inttypes.h>
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/motion_comp_mmx.c libmpeg2-0.5.1/libmpeg2/motion_comp_mmx.c
---- libmpeg2-0.5.1.orig/libmpeg2/motion_comp_mmx.c 2008-07-09 17:49:33.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/motion_comp_mmx.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/motion_comp_mmx.c.orig
++++ libmpeg2/motion_comp_mmx.c
@@ -23,7 +23,7 @@
#include "config.h"
@@ -273,9 +262,8 @@
#include <inttypes.h>
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/motion_comp_vis.c libmpeg2-0.5.1/libmpeg2/motion_comp_vis.c
---- libmpeg2-0.5.1.orig/libmpeg2/motion_comp_vis.c 2008-07-09 14:28:24.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/motion_comp_vis.c 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/motion_comp_vis.c.orig
++++ libmpeg2/motion_comp_vis.c
@@ -22,7 +22,7 @@
#include "config.h"
@@ -291,9 +279,8 @@
-#endif /* !(ARCH_SPARC) */
+#endif /* !(__sparc__) */
-diff -Naurp libmpeg2-0.5.1.orig/libmpeg2/mpeg2_internal.h libmpeg2-0.5.1/libmpeg2/mpeg2_internal.h
---- libmpeg2-0.5.1.orig/libmpeg2/mpeg2_internal.h 2008-07-09 17:48:47.000000000 -0400
-+++ libmpeg2-0.5.1/libmpeg2/mpeg2_internal.h 2010-11-30 10:40:39.000000000 -0500
+--- libmpeg2/mpeg2_internal.h.orig
++++ libmpeg2/mpeg2_internal.h
@@ -226,7 +226,7 @@ struct mpeg2dec_s {
};
@@ -303,9 +290,8 @@
uint8_t regv[12*16];
#endif
int dummy;
-diff -Naurp libmpeg2-0.5.1.orig/libvo/video_out_pgm.c libmpeg2-0.5.1/libvo/video_out_pgm.c
---- libmpeg2-0.5.1.orig/libvo/video_out_pgm.c 2008-07-09 18:00:09.000000000 -0400
-+++ libmpeg2-0.5.1/libvo/video_out_pgm.c 2010-11-30 10:37:17.000000000 -0500
+--- libvo/video_out_pgm.c.orig
++++ libvo/video_out_pgm.c
@@ -285,7 +285,7 @@ static void md5_writer (pgm_instance_t *
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140403/155a3e6d/attachment-0001.html>
More information about the macports-changes
mailing list