[MacPorts] #51332: mesa: build fails on 10.6 applying static-strndup.patch

MacPorts noreply at macports.org
Sat May 7 16:11:31 PDT 2016


#51332: mesa: build fails on 10.6 applying static-strndup.patch
----------------------+------------------------
 Reporter:  devans@…  |      Owner:  jeremyhu@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.4
 Keywords:            |       Port:  mesa
----------------------+------------------------
 Application of static-strndup.patch fails as follows
 {{{
 --->  Applying static-strndup.patch
 DEBUG: Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_x11_mesa/mesa/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_dports_x11_mesa/mesa/work/mesa-11.2.1"
 && /usr/bin/patch -p1'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_x11_mesa/mesa/work/mesa-11.2.1"
 && /usr/bin/patch -p1 < '/opt/mports/dports/x11/mesa/files/static-
 strndup.patch'
 patching file src/mesa/drivers/dri/common/xmlconfig.c
 Hunk #1 succeeded at 111 (offset 6 lines).
 can't find file to patch at input line 30
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |--- a/src/glsl/linker.cpp      2015-12-27 23:31:13.000000000 -0800
 |+++ b/src/glsl/linker.cpp      2015-12-27 23:34:01.000000000 -0800
 --------------------------
 File to patch:
 Skip this patch? [y]
 Skipping patch.
 1 out of 1 hunk ignored
 patching file src/util/ralloc.c
 Hunk #1 succeeded at 354 with fuzz 2 (offset 1 line).
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_x11_mesa/mesa/work/mesa-11.2.1"
 && /usr/bin/patch -p1 < '/opt/mports/dports/x11/mesa/files/static-
 strndup.patch'

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51332>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list