Commit graph

247 commits

Author SHA1 Message Date
jperkin
b0fac129b9 Look for gl.pc in lib${LIBABISUFFIX}/pkgconfig too. Fixes some Linux
dependencies.
2014-03-22 08:19:24 +00:00
obache
1638c45efd Overall dri related dependency clean up.
* move dri related API_DEPENDS into dri.mk.
* add missing API_DEPENDS.
* only define such API_DEPENDS only not using builtin MesaLib.

Fixes following issues on platforms that builtin one is older than required
version (ex. NetBSD-5).
* build issue of MesaLib
* unwanted dependency on MesaLib from pkgsrc even if builtin one is sufficient.
2014-03-14 07:19:36 +00:00
obache
c800fa3b72 inlucde machine/endian.h on NetBSD and OpenBSD to detect endian for neigher
x86 nor ppc.

PR pkg/48548
2014-02-04 10:51:30 +00:00
ryoon
5127070361 Bump PKGREVISION
* Fix exit time segfault of qt5 applications
2014-01-24 23:00:15 +00:00
pho
172c709fdd Fix build of MesaLib on PowerPC platforms without GCC >= 4.1 (like MacOS X 10.5). 2014-01-10 07:21:16 +00:00
is
7cba2b09c2 Fix for the integer overflow possibility reported in
http://secunia.com/advisories/53558 / CVE 2013-1993
taken from upstream:
http://lists.freedesktop.org/archives/mesa-dev/2013-May/039720.html
http://lists.freedesktop.org/archives/mesa-dev/2013-May/039722.html
but with s/calloc/(char *) Xcalloc/
2013-12-12 14:44:10 +00:00
bsiegert
c1229d4a7c Fix build of MesaLib on MirBSD. The mklib script needed some prodding, and
configure mis-detects -fvisibility=hidden for some reason.
2013-11-29 15:27:19 +00:00
asau
9d91ed160b Treat FreeBSD and NetBSD uniformly. This fixes building the package on FreeBSD. 2013-09-23 02:07:00 +00:00
asau
2d41d97ef5 Suggest DRI option for FreeBSD.
This lets the build fail further.
2013-09-23 01:51:55 +00:00
wiz
c9c5dd5a88 MesaLib's configure insists on glproto>=1.4.11, so depend on that version.
Might help on NetBSD-5.2_STABLE.
2013-08-27 11:14:53 +00:00
dholland
9f977a333d Fix the builtin version detection by checking the pkgconfig files if
they exist. Now gets 7.8.2 on netbsd-current instead of 4.0.4. (!)
2013-06-17 05:27:50 +00:00
obache
a1c4924bf1 Change MESA_BIG_ENDIAN condition check for PR pkg/47919. 2013-06-16 04:16:59 +00:00
wiz
97e86630df Add missing patch checksum. 2013-06-13 21:35:24 +00:00
wiz
485d44ac56 Check for symbol existence with #ifdef, not #if.
Needed since some other files only #define the symbol without a value.

Bump PKGREVISION since this changes an installed header file.
2013-06-13 14:16:21 +00:00
mef
a38c7cd4c9 PR pkg/47913, fix build problem on powerpc
(example was NetBSD/macppc 6.1) as:
#error Unknown Endianness
2013-06-10 12:29:54 +00:00
wiz
5b9c381fec Mark the package as broken on NetBSD when dri is not enabled.
The build will fail anyway.
Addresses PR 47862 by Jörn Clausen.
2013-05-28 11:27:09 +00:00
wiz
2e143d6ebf Allow the dri option on NetBSD even with native x (compile-tested by
Patrick Welche) and enable it by default there too; bump libdrm
requirement (from Patrick Welche).
Also enable dri on Linux by default, not only for Linux with modular X.

Bump PKGREVISION.
2013-05-27 06:45:30 +00:00
sbd
1a13cfc76e Make dri a suggested option on Linux i386 and x86_64. 2013-05-20 07:04:35 +00:00
sbd
08f0396618 Fixes for non-dri build:
+ Build the x11 version libGL.so with version numbering major 1 and minor 2,
  the same a the glx version of libGL (simplifies PLIST handling).
+ PLIST changes.
2013-05-20 06:59:18 +00:00
sbd
dda444dcd8 The configure arg --with-driver= takes 'xlib' OR 'osmesa' not 'xlib,osmesa'. 2013-05-20 01:43:05 +00:00
obache
1af5035ea2 Add band-aid patch for missing exp2f(3) on NetBSD<6, inspired by wiz@. 2013-05-19 02:03:57 +00:00
obache
e1d7e32373 regen distinfo 2013-05-18 05:57:22 +00:00
obache
32a20fbfc9 Fixes build on big endian FreeBSD and DragonFly.
related to PR pkg/47821.
2013-05-18 05:57:10 +00:00
obache
adf287ea1a make sure MESA_{BIG,LITTLE}_ENDIAN are defined correctly on *BSD.
related to PR pkg/47821
2013-05-18 05:55:41 +00:00
richard
26d1462852 upgrade to MesaLib-7.11.2 2013-05-16 05:22:02 +00:00
obache
72bf6818fb reorder condition of the previous change, to be bit faster. 2013-04-19 13:42:37 +00:00
obache
00118210c7 assume builtin MesaLib on Cygwin is not usind dri. 2013-04-19 11:56:23 +00:00
jperkin
beb3bcdfa2 Don't enable dri on Solaris 10 and lower. 2012-10-17 11:36:02 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
jperkin
41132a0f53 Enable dri by default on Solaris. The 'vmware' driver from modular-xorg is
still non-functional, but this at least gets us further along.
2012-09-28 11:33:47 +00:00
dsainty
d6b84a39f7 Expose glXGetProcAddress.
The consequences of not making this patch are platform dependent - some build
chains will still expose the symbols, but some will not.  The API expects
them to be exposed.

Fixes Cairo 1.12.2 build on Ubuntu 11.10 and CentOS 6.3, presumably due to
later versions of gcc (4.6.1 in the Ubuntu case).

Bump PKGREVISION.
2012-09-12 14:12:28 +00:00
wiz
e138b52a56 Move libpciaccess to dri option section. 2012-05-09 07:53:04 +00:00
wiz
486c0d6b7c Needs libpciaccess now when pulling in libdrm. Bump PKGREVISION. 2012-05-08 20:33:14 +00:00
obache
ab7348b132 Assume that native MesaLib is built with dri if builin dri exists.
(required for OpenBSD-5.0).
2012-04-08 05:59:25 +00:00
joerg
9765e41589 Drop imake-check logic from X11 components' builtin.mk.
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge.
Always install man pages, not cat pages when using imake.
Unify the various imake PLIST variables in preparation for dropping.
Adjust xbattbar for the new expectations.
2012-03-19 12:34:12 +00:00
fhajny
4b131cb377 Unlock the 'dri' option for SunOS, since x11/libdrm now builds there.
Bump PKGREVISION.
2012-03-13 13:24:36 +00:00
hans
94c0d65e3e Explicitly tell CPP that it should parse stdin as C-header when building glu.exports. 2012-02-16 18:56:23 +00:00
joerg
d7d51726d2 Disable integrated assembler for clang and force default visiblity to
hidden, otherwise some assembler relocations don't work on AMD64.
2012-01-23 08:08:25 +00:00
abs
721bc4a3e8 Ensure PTHREAD_STUBLIB is set in MAKE_ENV not just PKGSRC_MAKE_ENV - fixes clean env build on Linux 2011-08-21 16:44:30 +00:00
reed
a5080a0dc8 The BUILDLINK API dependency should be for xf86driproto not
driproto. I noticed this when it built with old xf86driproto
that had conflicting file. So add a CONFLICTS too.
2010-05-05 18:33:30 +00:00
tnn
c2e785c207 revision bump for libdrm update. 2010-04-16 13:50:51 +00:00
tnn
beca9188a3 another sparc64-only build fix; define memory barrier macro in sis_context.h 2010-03-27 12:55:00 +00:00
tnn
f5c141deec fix a wrong #include in patch-aa which caused sparc64 build to fail. 2010-03-27 12:26:19 +00:00
wiz
36c66c8e31 Look for libGL.so, not any particular libGL.so.<X>, on NetBSD.
Bump PKGREVISION.

From mrg@
2009-09-02 22:30:34 +00:00
hasso
97259a2733 - Fix MESA_TINY missed in last version bump.
- Add INSTALL_LIB_DIR and INSTALL_INC_DIR to fix *.pc files.

This should address issues mentioned in the PR 41895. While there make dri
default for DragonFly. Bump PKGREVISION.
2009-08-25 05:27:57 +00:00
drochner
d65bc236c3 As suggested by Tom Spindler, remove the libdrm version requirement
from dri.mk where it is pulled in from bl3.mk. The minimum version
is only necessary if a new MesaLib is built, we don't need to force
users of older ones to update libdrm.
2009-08-08 15:03:18 +00:00
wiz
71ffec3056 Fix symbol handling in glu. Patch from upstream via Jörn Clausen
in PR 41613.

Bump glu PKGREVISION.
2009-08-08 08:25:50 +00:00
drochner
0caa17238c the dri module wants intel_bufmgr.h which we got with libdrm-2.4.9 2009-07-29 17:34:16 +00:00
hasso
1e744f5d32 Update to 7.4.4. Make software ratserizer actually work. Add one patch from
upstream repo to fix null pointer dereference.

Changes in 7.4.4:

* Fixed i965/i915 segfault in screen destruction (bug 22408)

Changes in 7.4.3:

* Fixed texture object reference counting bug (bug 21756)
* Allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT
  point (SF bug 2793846)
* Added missing glGet case for GL_VERTEX_ARRAY_BINDING_APPLE
* Fixed some OSMesa build issues
* Fixed a vertex buffer object crash
* Fixed broken glTexImage3D() when image type = GL_BITMAP
* Fixed some GLSL preprocessor bugs
* Fixed framebuffer mem leak in i945/i965 DRI drivers
* Fixed texture coordinate repeat bug in swrast (bug 21872)
* Fixed incorrect viewport clamping (lower bound is zero, not one)
* GLX fix for glean's makeCurrent test case
2009-07-08 20:00:57 +00:00
hasso
168af103cd Attempt to make it build cleanly and to solve PLIST problems without dri
option (default for most of platforms). Tested on DragonFly only. Bump
PKGREVISION.
2009-06-19 18:19:15 +00:00