Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
0b255a0a
Commit
0b255a0a
authored
Apr 05, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix gettext -framework usage. This is needed for SDK support.
parent
b4ec9b4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-0
extras/contrib/src/Patches/gettext-macosx.patch
extras/contrib/src/Patches/gettext-macosx.patch
+30
-0
No files found.
extras/contrib/src/Makefile
View file @
0b255a0a
...
...
@@ -376,6 +376,10 @@ gettext-$(GETTEXT_VERSION).tar.gz:
gettext
:
gettext-$(GETTEXT_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef
HAVE_DARWIN_OS
patch
-p
0 < Patches/gettext-macosx.patch
(
cd
$@
;
./autogen.sh
)
endif
.intl
:
gettext .iconv
ifdef
HAVE_WIN32
...
...
extras/contrib/src/Patches/gettext-macosx.patch
0 → 100644
View file @
0b255a0a
diff -ruN gettext/gettext-runtime/m4/gettext.m4 gettext-0.14.5/gettext-runtime/m4/gettext.m4
--- gettext/gettext-runtime/m4/gettext.m4 2005-04-07 13:37:04.000000000 +0200
+++ gettext-0.14.5/gettext-runtime/m4/gettext.m4 2006-04-05 23:21:45.000000000 +0200
@@ -445,7 +445,7 @@
fi
if test -n "$INTL_MACOSX_LIBS"; then
- CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
+ CPPFLAGS="$CPPFLAGS -framework CoreFoundation"
fi
dnl intl/plural.c is generated from intl/plural.y. It requires bison,
@@ -489,7 +489,7 @@
AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
gt_cv_func_CFPreferencesCopyAppValue,
[gt_save_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
+ CPPFLAGS="$CPPFLAGS -framework CoreFoundation"
gt_save_LIBS="$LIBS"
LIBS="$LIBS -framework CoreFoundation"
AC_TRY_LINK([#include <CFPreferences.h>],
@@ -505,7 +505,7 @@
dnl Check for API introduced in MacOS X 10.3.
AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
[gt_save_CPPFLAGS="$CPPFLAGS"
- CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
+ CPPFLAGS="$CPPFLAGS -framework CoreFoundation"
gt_save_LIBS="$LIBS"
LIBS="$LIBS -framework CoreFoundation"
AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment