- Add patch to fix highly-parallel build (e.g. -j16) - Add additional compiler warning flags to highlight questionable code - Add patch to fix comparisons between signed and unsigned integers - Add patch to fix const usage - Add patch to fix missing field initializers - Add patch to suppress warnings about possibly unused variables - Add patch to fix declarations that are not prototypes - Add patch to fix warnings about nested externs - Add patch to fix dubious typecasts that violate strict-aliasing rules - Update the FSF address references and GPLv2 license text - Use default optimization level (-O2) again Some of these patches have already been accepted upstream, with the rest having been submitted for review.
12 lines
498 B
Diff
12 lines
498 B
Diff
--- pptp-1.7.2/orckit_quirks.c.field 2008-05-14 07:33:55.000000000 +0100
|
|
+++ pptp-1.7.2/orckit_quirks.c 2011-12-01 09:31:04.762035792 +0000
|
|
@@ -62,7 +62,7 @@ int
|
|
orckit_atur3_start_ctrl_conn_hook(struct pptp_start_ctrl_conn* packet)
|
|
{
|
|
struct pptp_start_ctrl_conn fixed_packet = {
|
|
- {0}, /* we'll set the header later */
|
|
+ {0, 0, 0, 0 , 0}, /* we'll set the header later */
|
|
hton16(PPTP_VERSION), 0, 0,
|
|
hton32(PPTP_FRAME_ASYNC), hton32(PPTP_BEARER_ANALOG),
|
|
hton16(0) /* max channels */,
|