File: fix-gcc-4.6.patch

package info (click to toggle)
probcons 1.12-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 664 kB
  • sloc: cpp: 7,263; xml: 567; makefile: 114; sh: 21
file content (15 lines) | stat: -rw-r--r-- 366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Tille <tille@debian.org>
Last-Update: 2011-05-02
Bug-Debian: https://bugs.debian.org/625036
Description: Fix gcc-4.6 build issue

--- probcons.orig/SafeVector.h
+++ probcons/SafeVector.h
@@ -10,6 +10,7 @@
 
 #include <cassert>
 #include <vector>
+#include <cstddef>
 
 /////////////////////////////////////////////////////////////////
 // SafeVector