Skip to content

Commit

Permalink
emulators/wine-devel: update to version 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DamjanJovanovic authored and stesser committed Jan 31, 2022
1 parent 278771d commit 865fc1d
Show file tree
Hide file tree
Showing 4 changed files with 287 additions and 1,047 deletions.
17 changes: 13 additions & 4 deletions emulators/wine-devel/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Created by: Gerald Pfeifer <gerald@FreeBSD.org>

PORTNAME= wine
DISTVERSION= 7.0-rc6
DISTVERSION= 7.1
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/Source \
http://mirrors.ibiblio.org/wine/source/6.x/
http://mirrors.ibiblio.org/wine/source/7.x/
PKGNAMESUFFIX= -devel
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}

Expand All @@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE

ONLY_FOR_ARCHS= amd64 i386

BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex llvm${_LLVM_VERSION}>=0:devel/llvm${_LLVM_VERSION}

USES= bison cpe desktop-file-utils gmake localbase \
pkgconfig sdl shebangfix tar:xz
Expand All @@ -43,7 +43,7 @@ CONFIGURE_ARGS+=--verbose \
--without-gstreamer \
--without-inotify \
--without-krb5 \
--without-mingw \
--with-mingw CROSSCC="clang" CROSSCFLAGS="-isystem ${FILESDIR}/clang" \
--without-netapi \
--without-opencl \
--without-osmesa \
Expand All @@ -64,6 +64,9 @@ USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine
SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \
tools/winedump/function_grep.pl

BINARY_ALIAS+= clang=${LOCALBASE}/bin/clang${_LLVM_VERSION} \
lld-link=${LOCALBASE}/bin/lld-link${_LLVM_VERSION}

SUB_FILES= pkg-message

PORTDATA= wine.inf
Expand Down Expand Up @@ -121,6 +124,12 @@ X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \

.include <bsd.port.pre.mk>

.if (${LLVM_DEFAULT} == 90 || ${LLVM_DEFAULT} == 10 || ${LLVM_DEFAULT} == 11)
_LLVM_VERSION= 12
.else
_LLVM_VERSION= ${LLVM_DEFAULT}
.endif

.if ${ARCH} == amd64
# Wine is composed of three parts:
# - wine (aka this port on FreeBSD/i386) is the 32-bit component
Expand Down
10 changes: 5 additions & 5 deletions emulators/wine-devel/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1642318398
SHA256 (wine-7.0-rc6.tar.xz) = 63155081508b974d24654f26edb02878b2089096748d14a0e9d7cda453c27b50
SIZE (wine-7.0-rc6.tar.xz) = 27115556
SHA256 (v7.0-rc6.tar.gz) = ea3069210075dbb4672b342190b7f6b85fe0c5d607e21427d9709f7c8c3bf2d6
SIZE (v7.0-rc6.tar.gz) = 9614205
TIMESTAMP = 1643505846
SHA256 (wine-7.1.tar.xz) = 113c130eed2f3256c932ffbb7f482a0533ed3ac5c62c979622a2a6df7f9f636a
SIZE (wine-7.1.tar.xz) = 27149156
SHA256 (v7.1.tar.gz) = 7716daf2a24b61a37d356478639bc8e3a45833a9d9e4d8b7b506fa60f6ce76b2
SIZE (v7.1.tar.gz) = 9623294
35 changes: 35 additions & 0 deletions emulators/wine-devel/files/clang/stdarg.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*===---- stdarg.h - Variable argument handling ----------------------------===
*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*===-----------------------------------------------------------------------===
*/

#ifndef __STDARG_H
#define __STDARG_H

#ifndef _VA_LIST
typedef __builtin_va_list va_list;
#define _VA_LIST
#endif
#define va_start(ap, param) __builtin_va_start(ap, param)
#define va_end(ap) __builtin_va_end(ap)
#define va_arg(ap, type) __builtin_va_arg(ap, type)

/* GCC always defines __va_copy, but does not define va_copy unless in c99 mode
* or -ansi is not specified, since it was not part of C90.
*/
#define __va_copy(d,s) __builtin_va_copy(d,s)

#if __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L || !defined(__STRICT_ANSI__)
#define va_copy(dest, src) __builtin_va_copy(dest, src)
#endif

#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST 1
typedef __builtin_va_list __gnuc_va_list;
#endif

#endif /* __STDARG_H */
Loading

0 comments on commit 865fc1d

Please sign in to comment.