mirror of
https://abf.rosa.ru/djam/ppp.git
synced 2025-02-23 06:03:01 +00:00
add ppp-2.4.5-libtool-tag.patch
This commit is contained in:
parent
da7df9d309
commit
d171cd598c
2 changed files with 17 additions and 0 deletions
15
ppp-2.4.5-libtool-tag.patch
Normal file
15
ppp-2.4.5-libtool-tag.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- ppp-2.4.5/pppd/plugins/dhcp/Makefile.linux~ 2013-02-19 13:15:32.000000000 +0100
|
||||||
|
+++ ppp-2.4.5/pppd/plugins/dhcp/Makefile.linux 2013-02-19 13:15:52.645439658 +0100
|
||||||
|
@@ -17,10 +17,10 @@ $(PLUGIN): $(LTLIB)
|
||||||
|
gcc -o $@ $(OBJS:%.lo=.libs/%.o) $(LIBS)
|
||||||
|
|
||||||
|
$(LTLIB): $(OBJS)
|
||||||
|
- libtool --mode=link gcc $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
+ libtool --tag=CC --mode=link gcc $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||||
|
|
||||||
|
%.lo: %.c
|
||||||
|
- libtool --mode=compile gcc $(CFLAGS) -c $<
|
||||||
|
+ libtool --tag=CC --mode=compile gcc $(CFLAGS) -c $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o *.lo *.so
|
2
ppp.spec
2
ppp.spec
|
@ -44,6 +44,7 @@ Patch16: FEDORA-glibc-2.28.patch
|
||||||
# CVE-2020-8597
|
# CVE-2020-8597
|
||||||
# remote code execution
|
# remote code execution
|
||||||
Patch17: 8d7970b8f3db727fe798b65f3377fe6787575426.patch
|
Patch17: 8d7970b8f3db727fe798b65f3377fe6787575426.patch
|
||||||
|
Patch18: ppp-2.4.5-libtool-tag.patch
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: atm-devel
|
BuildRequires: atm-devel
|
||||||
BuildRequires: pcap-devel
|
BuildRequires: pcap-devel
|
||||||
|
@ -215,6 +216,7 @@ popd
|
||||||
%patch14 -p1 -b .linux48
|
%patch14 -p1 -b .linux48
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
|
%patch18 -p1
|
||||||
patch -p1 < %{PATCH16}
|
patch -p1 < %{PATCH16}
|
||||||
|
|
||||||
tar -xJf %{SOURCE112}
|
tar -xJf %{SOURCE112}
|
||||||
|
|
Loading…
Add table
Reference in a new issue