mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Unbreak for 5/6/7
PR: ports/106595 ports/106596 ports/106597 ports/106598 Submitted by: Jonathan Liu<Net147@hotmail.com>
This commit is contained in:
parent
dfe5af430a
commit
1c2dc1743a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179590
@ -30,10 +30,6 @@ CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
|
12
multimedia/xmms-avi/files/patch-Cache.cpp
Normal file
12
multimedia/xmms-avi/files/patch-Cache.cpp
Normal file
@ -0,0 +1,12 @@
|
||||
--- lib/avifile/Cache.cpp.orig Mon Dec 11 18:12:03 2006
|
||||
+++ lib/avifile/Cache.cpp Mon Dec 11 18:12:14 2006
|
||||
@@ -410,7 +410,7 @@
|
||||
char** flags;
|
||||
int i;
|
||||
static int caller=0;
|
||||
- flags=new (char*)[MAXSTREAMS];
|
||||
+ flags=new char*[MAXSTREAMS];
|
||||
mc.add(MAXSTREAMS*4);
|
||||
for(i=0; i<MAXSTREAMS; i++)
|
||||
{
|
||||
|
13
multimedia/xmms-avi/files/patch-infotypes.h
Normal file
13
multimedia/xmms-avi/files/patch-infotypes.h
Normal file
@ -0,0 +1,13 @@
|
||||
--- include/infotypes.h.orig Mon Dec 11 18:13:09 2006
|
||||
+++ include/infotypes.h Mon Dec 11 18:13:44 2006
|
||||
@@ -1,6 +1,10 @@
|
||||
#ifndef INFOTYPES_H
|
||||
#define INFOTYPES_H
|
||||
|
||||
+#ifdef max
|
||||
+#undef max
|
||||
+#endif
|
||||
+
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <map>
|
11
multimedia/xmms-avi/files/patch-quantize-pvt.c
Normal file
11
multimedia/xmms-avi/files/patch-quantize-pvt.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- lib/audioencoder/lame3.70/quantize-pvt.c.orig Mon Dec 11 18:14:41 2006
|
||||
+++ lib/audioencoder/lame3.70/quantize-pvt.c Mon Dec 11 18:14:59 2006
|
||||
@@ -1030,7 +1030,7 @@
|
||||
"jnz loop1\n\n"
|
||||
: /* no outputs */
|
||||
: "t" (istep), "r" (xr), "r" (adj43asm), "r" (ix), "r" (576 / 4), "m" (rx)
|
||||
- : "%eax", "%ebx", "memory", "cc"
|
||||
+ : "%eax", /* "%ebx", */ "memory", "cc"
|
||||
);
|
||||
}
|
||||
#elif defined (USE_MSC_ASM)
|
5
multimedia/xmms-avi/files/patch-win32.h
Normal file
5
multimedia/xmms-avi/files/patch-win32.h
Normal file
@ -0,0 +1,5 @@
|
||||
--- lib/loader/win32.h.orig Mon Dec 11 18:10:09 2006
|
||||
+++ lib/loader/win32.h Mon Dec 11 18:10:21 2006
|
||||
@@ -1 +1,2 @@
|
||||
int ext_unknown();
|
||||
+void* LookupExternalByName(const char* library, const char* name);
|
Loading…
Reference in New Issue
Block a user