Ticket #37177: mesa_svn.diff

File mesa_svn.diff, 1.5 KB (added by michaelld (Michael Dickens), 11 years ago)

Patch to mesa to install extra headers required for <VG/openvg.h> to be usable.

  • Portfile

     
    66name                mesa
    77epoch               1
    88version             8.0.4
    9 revision            1
     9revision            2
    1010categories          x11 graphics
    1111maintainers         jeremyhu openmaintainer
    1212license             MIT
     
    3333                    port:xorg-libXi \
    3434                    port:xorg-libXmu
    3535
    36 patchfiles 0001-darwin-do-not-create-double-buffered-offscreen-pixel.patch
     36patchfiles \
     37    patch-src-mapi-vgapi-Makefile.diff \
     38    0001-darwin-do-not-create-double-buffered-offscreen-pixel.patch
    3739patch.pre_args -p1
    3840
    3941use_configure  no
  • files/patch-src-mapi-vgapi-Makefile.diff

     
     1--- a/src/mapi/vgapi/Makefile   2012-11-30 12:06:24.000000000 -0500
     2+++ b/src/mapi/vgapi/Makefile   2012-11-30 12:06:52.000000000 -0500
     3@@ -75,6 +75,8 @@
     4 install-headers:
     5        $(INSTALL) -d $(DESTDIR)$(INSTALL_INC_DIR)/VG
     6        $(INSTALL) -m 644 $(TOP)/include/VG/*.h $(DESTDIR)$(INSTALL_INC_DIR)/VG
     7+       $(INSTALL) -d $(DESTDIR)$(INSTALL_INC_DIR)/KHR
     8+       $(INSTALL) -m 644 $(TOP)/include/KHR/*.h $(DESTDIR)$(INSTALL_INC_DIR)/KHR
     9 
     10 install: default install-headers install-pc
     11        $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)