Skip to content

Instantly share code, notes, and snippets.

View kaworu's full-sized avatar

Alexandre Perrin kaworu

View GitHub Profile
init_defs_builtins: /usr/local/share/coccinelle/standard.h
PARSING: pkg/add.c
(ONCE) CPP-TYPEDEF: promoting:(2) pkg_flags on line 73
-----------------------------------------------------------------------
maybe 10 most problematic tokens
-----------------------------------------------------------------------
-----------------------------------------------------------------------
NB total files = 1; perfect = 1; pbs = 0; timeout = 0; =========> 100%
nb good = 176, nb passed = 0 =========> 0.000000% passed
Linking CXX static library libext_hhvm.a
[ 98%] Built target ext_hhvm_static
Scanning dependencies of target systemlib
[ 98%] Generating systemlib.php
[ 98%] Built target systemlib
Scanning dependencies of target hhvm
[ 98%] Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/process-init.cpp.o
[ 98%] Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/main.cpp.o
[ 98%] Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/anchor-syms.cpp.o
[ 98%] Building CXX object hphp/hhvm/CMakeFiles/hhvm.dir/global-variables.cpp.o
Index: devel/coccinelle/Makefile
===================================================================
--- devel/coccinelle/Makefile (revision 335093)
+++ devel/coccinelle/Makefile (working copy)
@@ -20,8 +20,7 @@
MAKE_ARGS+= PYTHON_VERSION=${PYTHON_VER}
post-install:
- ${STRIP_CMD} ${STAGEDIR}${DATADIR}/dllpcre_stubs.so \
- ${STAGEDIR}${DATADIR}/dllpycaml_stubs.so \
* | | | | | | | | | | | | | | | | | | | | | | | | 6c8761b Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | 998eb73 hifn - Update and unbreak
| * | | | | | | | | | | | | | | | | | | | | | | | | b743b5c wpa_supplicant/hostapd: Added some missing patches.
| * | | | | | | | | | | | | | | | | | | | | | | | | 8a52944 wpa_supplicant/hostapd: Update to 0.6.10
| * | | | | | | | | | | | | | | | | | | | | | | | | 386e7c7 hostapd: Update vendor branch to 0.6.10
| * | | | | | | | | | | | | | | | | | | | | | | | | abdaa92 wpa_supplicant: update vendor branch to 0.6.10
| * | | | | | | | | | | | | | | | | | | | | | | | | 2de1c05 hostpad: Update to work without version tag
| * | | | | | | | | | | | | | | | | | | | | | | | | afad379 hostapd: remove version tag from directory
| * | | | | | | | | | | | | | | | | | | | | | | | | a188cef wpa_supplicant: Update to work without verision tag
@kaworu
kaworu / gist:7692595
Created November 28, 2013 14:18
hostpad update
[root@dragonfly /usr/src] # git status
# On branch hostapd-wpa_supplicant-update
nothing to commit, working directory clean
[root@dragonfly /usr/src] # git diff master hostapd-wpa_supplicant-update
diff --git a/contrib/hostapd/src/crypto/md5.c b/contrib/hostapd/src/crypto/md5.c
index e13ce7d..a7db7aa 100644
--- a/contrib/hostapd/src/crypto/md5.c
+++ b/contrib/hostapd/src/crypto/md5.c
@@ -287,7 +287,7 @@ void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
MD5Transform(ctx->buf, (u32 *) ctx->in);
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by coccinelle configure 1.0.0-rc17, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
# Created by: Andriy Gapon
# $FreeBSD: head/devel/coccinelle/Makefile 327722 2013-09-20 17:03:26Z bapt $
PORTNAME= coccinelle
DISTVERSION= 1.0.0-rc18
CATEGORIES= devel
MASTER_SITES= http://coccinelle.lip6.fr/distrib/
EXTRACT_SUFX= .tgz
MAINTAINER= [email protected]
@kaworu
kaworu / t.c
Created November 27, 2013 09:59
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
int
main(int argc, char *argv[])
{
u_quad_t x = 42;
@kaworu
kaworu / -
Created November 26, 2013 13:30
make
===> external
===> external/sqlite
Warning: Object directory not changed from original /home/alex/pkg/external/sqlite
===> external/libyaml
Warning: Object directory not changed from original /home/alex/pkg/external/libyaml
===> external/expat
Warning: Object directory not changed from original /home/alex/pkg/external/expat
===> external/libucl
Warning: Object directory not changed from original /home/alex/pkg/external/libucl
@kaworu
kaworu / -
Created November 26, 2013 11:40
diff --git a/libpkg/pkg_manifest.c b/libpkg/pkg_manifest.c
index af73d2f..4d6f641 100644
--- a/libpkg/pkg_manifest.c
+++ b/libpkg/pkg_manifest.c
@@ -1007,6 +1007,7 @@ emit_manifest(struct pkg *pkg, char **out, short flags)
ucl_object_free(top);
+ (void)obj; /* look gcc, I'm used ! */
return (EPKG_OK);