Ticket #45712: xorg-libXt.patch
File xorg-libXt.patch, 1.5 KB (added by jeremyhu (Jeremy Huddleston Sequoia), 10 years ago) |
---|
-
Portfile
4 4 5 5 name xorg-libXt 6 6 version 1.1.4 7 revision 1 7 8 categories x11 devel 8 9 license X11 9 10 maintainers jeremyhu openmaintainer … … 25 26 use_bzip2 yes 26 27 use_parallel_build yes 27 28 28 depends_build port:pkgconfig 29 depends_build port:pkgconfig \ 30 port:xorg-util-macros 29 31 30 32 depends_lib port:xorg-libsm \ 31 33 port:xorg-libX11 … … 32 34 33 35 configure.env-append RAWCPP=${configure.cpp} 34 36 37 patchfiles no-flat.patch 38 use_autoreconf yes 39 autoreconf.args -fvi 40 35 41 livecheck.type regex 36 42 livecheck.url http://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D 37 43 livecheck.regex libXt-(\\d+(?:\\.\\d+)*) -
files/no-flat.patch
1 --- configure.ac.orig 2014-11-01 17:08:43.000000000 -0700 2 +++ configure.ac 2014-11-01 17:09:03.000000000 -0700 3 @@ -164,17 +164,6 @@ AC_SUBST(STRINGSABIOPTIONS) 4 ERRORDBDIR=${datadir}/X11 5 AC_SUBST(ERRORDBDIR) 6 7 -case $host_os in 8 - darwin*) 9 - OS_CFLAGS="-Wl,-flat_namespace" 10 - ;; 11 - *) 12 - OS_CFLAGS= 13 - ;; 14 -esac 15 - 16 -XT_CFLAGS="$XT_CFLAGS $OS_CFLAGS" 17 - 18 AC_CONFIG_FILES([Makefile 19 src/Makefile 20 util/Makefile