]> git.pld-linux.org Git - packages/asterisk.git/blame - mxml-system.patch
%files updated
[packages/asterisk.git] / mxml-system.patch
CommitLineData
0f0650bc
GPP
1diff -urN asterisk-10.10.1.org/menuselect/Makefile asterisk-10.10.1/menuselect/Makefile
2--- asterisk-10.10.1.org/menuselect/Makefile 2012-05-09 21:57:43.000000000 +0200
3+++ asterisk-10.10.1/menuselect/Makefile 2012-12-09 16:21:44.578265277 +0100
ba762f24
ER
4@@ -23,6 +23,7 @@
5 # Basic set of sources and flags/libraries/includes
6 OBJS:=menuselect.o strcompat.o
0f0650bc 7 CFLAGS+=-g -D_GNU_SOURCE -Wall
ba762f24
ER
8+MXML_LIB:=$(shell pkg-config --libs mxml)
9
10 ifeq ($(MENUSELECT_DEBUG),yes)
11 CFLAGS += -DMENUSELECT_DEBUG
12@@ -44,19 +45,20 @@
13
14 ifdef GTK2_LIB
15 G_OBJS += menuselect_gtk.o
16- G_LIBS += $(GTK2_LIB)
17+ G_LIBS += $(MXML_LIB) $(GTK2_LIB)
18 G_INCLUDE += $(GTK2_INCLUDE)
19 ALL_TGTS += gmenuselect
20 endif
21
22 ifdef NEWT_LIB
23 N_OBJS += menuselect_newt.o
24- N_LIBS += $(NEWT_LIB)
25+ N_LIBS += $(MXML_LIB) $(NEWT_LIB)
26 N_INCLUDE += $(NEWT_INCLUDE)
27 ALL_TGTS += nmenuselect
28 endif
29
30 M_OBJS += menuselect_stub.o
31+M_LIBS += $(MXML_LIB)
32 ALL_TGTS += menuselect
33
34 all: $(ALL_TGTS)
35@@ -66,7 +68,7 @@
36 makeopts autoconfig.h: autoconfig.h.in makeopts.in
0f0650bc 37 @./configure $(CONFIGURE_SILENT)
ba762f24
ER
38
39-$(ALL_TGTS): mxml/libmxml.a
40+$(ALL_TGTS):
41
42 ifdef C_OBJS
43 menuselect_curses.o: CFLAGS+=$(C_INCLUDE)
0f0650bc
GPP
44diff -urN asterisk-10.10.1.org/menuselect/menuselect.c asterisk-10.10.1/menuselect/menuselect.c
45--- asterisk-10.10.1.org/menuselect/menuselect.c 2011-11-09 23:22:13.000000000 +0100
46+++ asterisk-10.10.1/menuselect/menuselect.c 2012-12-09 16:22:51.341349575 +0100
912f02ed 47@@ -32,7 +32,7 @@
17686c6e 48 #include <getopt.h>
ba762f24 49
912f02ed 50 #include "autoconfig.h"
ba762f24 51-#include "mxml/mxml.h"
912f02ed 52+#include "mxml.h"
ba762f24
ER
53 #include "linkedlists.h"
54 #include "menuselect.h"
55
This page took 0.03856 seconds and 4 git commands to generate.