FreeBSD Bugzilla – Attachment 125515 Details for
Bug 169144
games/wesnoth: NLS is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nls.diff
nls.diff (text/x-patch), 1.00 KB, created by
Jan Beich
on 2012-06-16 15:18:40 UTC
(
hide
)
Description:
nls.diff
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2012-06-16 15:18:40 UTC
Size:
1.00 KB
patch
obsolete
>Index: games/wesnoth/files/patch-CMakeLists.txt >=================================================================== >RCS file: /a/.csup/ports/games/wesnoth/files/patch-CMakeLists.txt,v >retrieving revision 1.1 >diff -u -p -r1.1 patch-CMakeLists.txt >--- games/wesnoth/files/patch-CMakeLists.txt 10 Jun 2012 13:08:48 -0000 1.1 >+++ games/wesnoth/files/patch-CMakeLists.txt 16 Jun 2012 13:57:00 -0000 >@@ -48,6 +48,18 @@ > CACHE STRING "Flags used by the CXX compiler during release builds." FORCE) > > endif(NOT CONFIGURED) >+@@ -158,6 +157,11 @@ if(X11_FOUND) >+ add_definitions(-D_X11) >+ endif(X11_FOUND) >+ >++if(ENABLE_NLS) >++ set(CMAKE_C_FLAGS "-DENABLE_NLS ${CMAKE_C_FLAGS}") >++ set(CMAKE_CXX_FLAGS "-DENABLE_NLS ${CMAKE_CXX_FLAGS}") >++endif(ENABLE_NLS) >++ >+ add_definitions(-DLOCALEDIR=\\\"${LOCALEDIR}\\\") >+ >+ # When the path starts with a / on a Unix system it's an absolute path. > @@ -154,6 +153,7 @@ add_definitions(-DLOCALEDIR=\\\"${LOCALE > if(LOCALEDIR MATCHES "^/") > add_definitions(-DHAS_RELATIVE_LOCALEDIR=0)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169144
: 125515