python-pycparser/0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
Denisart Benjamin 4519de2636 Accepting request 352497 from home:mvyskocil:branches:devel:languages:python
- Tag added patch better

- Update to version 2.14
  * Added CParser parameter to specify output directory for generated parsing
    tables (#84).
  * Removed lcc's cpp and its license from the distribution. Using lcc's cpp
    is no longer recommended, now that Clang has binary builds available for
    Windows.
  2.13:
  * Added support for offsetof() the way gcc implements it (special builtin
    that takes a type as an argument).
  * Added faked va_* macros (these are expected to come from stdarg.h)
  * Added a bunch more fake headers and typedefs to support parsing C projects
    like Git and SQLite without modifications to pycparser.
  * Added support for empty initializer lists (#79).
- Package fake_libc_include
  * switch to github release as pypi tarball don't contains all files
- Add 0002-Add-missing-typedef-sa_family_t-from-sys-socket.h.patch
  * upstream patch enhancing the fake_libc_include

OBS-URL: https://build.opensuse.org/request/show/352497
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycparser?expand=0&rev=10
2016-01-15 09:40:22 +00:00

19 lines
625 B
Diff

commit 2acb22c5606cf151ea31859bd5c3810fc0630150
Author: Dubslow <bunslow@gmail.com>
Date: Thu Sep 10 18:02:30 2015 -0500
Add missing typedef sa_family_t from sys/socket.h
diff --git a/utils/fake_libc_include/_fake_typedefs.h b/utils/fake_libc_include/_fake_typedefs.h
index 6201cf7..8c8d463 100644
--- a/utils/fake_libc_include/_fake_typedefs.h
+++ b/utils/fake_libc_include/_fake_typedefs.h
@@ -95,6 +95,7 @@ typedef int pthread_barrier_t;
typedef int pthread_barrierattr_t;
typedef int jmp_buf;
typedef int rlim_t;
+typedef int sa_family_t;
typedef int sigjmp_buf;
typedef int stack_t;
typedef int siginfo_t;