Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NetworkManager-l2tp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CeRiAl
NetworkManager-l2tp
Commits
bbdbd9e0
Commit
bbdbd9e0
authored
Mar 31, 2013
by
Сергей Прохоров
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: modernize a bit (pptp port)
parent
09f58265
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
Makefile.am
auth-dialog/Makefile.am
+0
-2
Makefile.am
properties/Makefile.am
+0
-2
nm-l2tp-pppd-plugin.c
src/nm-l2tp-pppd-plugin.c
+2
-0
nm-l2tp-service.c
src/nm-l2tp-service.c
+3
-0
No files found.
auth-dialog/Makefile.am
View file @
bbdbd9e0
...
@@ -11,8 +11,6 @@ nm_l2tp_auth_dialog_CPPFLAGS = \
...
@@ -11,8 +11,6 @@ nm_l2tp_auth_dialog_CPPFLAGS = \
-DUIDIR
=
\"
"
$(uidir)
"
\"
\
-DUIDIR
=
\"
"
$(uidir)
"
\"
\
-DBINDIR
=
\"
"
$(bindir)
"
\"
\
-DBINDIR
=
\"
"
$(bindir)
"
\"
\
-DG_DISABLE_DEPRECATED
\
-DG_DISABLE_DEPRECATED
\
-DGDK_DISABLE_DEPRECATED
\
-DGTK_DISABLE_DEPRECATED
\
-DVERSION
=
\"
$(VERSION)
\"
-DVERSION
=
\"
$(VERSION)
\"
nm_l2tp_auth_dialog_SOURCES
=
\
nm_l2tp_auth_dialog_SOURCES
=
\
...
...
properties/Makefile.am
View file @
bbdbd9e0
...
@@ -20,8 +20,6 @@ libnm_l2tp_properties_la_CFLAGS = \
...
@@ -20,8 +20,6 @@ libnm_l2tp_properties_la_CFLAGS = \
-DICONDIR
=
\"
"
$(datadir)
/pixmaps"
\"
\
-DICONDIR
=
\"
"
$(datadir)
/pixmaps"
\"
\
-DUIDIR
=
\"
"
$(uidir)
"
\"
\
-DUIDIR
=
\"
"
$(uidir)
"
\"
\
-DG_DISABLE_DEPRECATED
\
-DG_DISABLE_DEPRECATED
\
-DGDK_DISABLE_DEPRECATED
\
-DGTK_DISABLE_DEPRECATED
\
-DVERSION
=
\"
$(VERSION)
\"
-DVERSION
=
\"
$(VERSION)
\"
libnm_l2tp_properties_la_LIBADD
=
\
libnm_l2tp_properties_la_LIBADD
=
\
...
...
src/nm-l2tp-pppd-plugin.c
View file @
bbdbd9e0
...
@@ -315,7 +315,9 @@ plugin_init (void)
...
@@ -315,7 +315,9 @@ plugin_init (void)
DBusGConnection
*
bus
;
DBusGConnection
*
bus
;
GError
*
err
=
NULL
;
GError
*
err
=
NULL
;
#if !GLIB_CHECK_VERSION (2, 35, 0)
g_type_init
();
g_type_init
();
#endif
g_message
(
"nm-l2tp-ppp-plugin: (%s): initializing"
,
__func__
);
g_message
(
"nm-l2tp-ppp-plugin: (%s): initializing"
,
__func__
);
...
...
src/nm-l2tp-service.c
View file @
bbdbd9e0
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
#include <sys/stat.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/wait.h>
#include <ctype.h>
#include <ctype.h>
#include <locale.h>
#include <errno.h>
#include <errno.h>
#include <sys/socket.h>
#include <sys/socket.h>
...
@@ -1634,7 +1635,9 @@ main (int argc, char *argv[])
...
@@ -1634,7 +1635,9 @@ main (int argc, char *argv[])
{
NULL
}
{
NULL
}
};
};
#if !GLIB_CHECK_VERSION (2, 35, 0)
g_type_init
();
g_type_init
();
#endif
/* locale will be set according to environment LC_* variables */
/* locale will be set according to environment LC_* variables */
setlocale
(
LC_ALL
,
""
);
setlocale
(
LC_ALL
,
""
);
...
...
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