1
0
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:
Martin Wilke 2006-12-12 19:36:14 +00:00
parent dfe5af430a
commit 1c2dc1743a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179590
5 changed files with 41 additions and 4 deletions

View File

@ -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 \

View 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++)
{

View 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>

View 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)

View 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);