This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #pragma pack(push) | |
| #pragma pack(1) | |
| struct { | |
| char a; | |
| int b; | |
| char c; | |
| } packed; | |
| #pragma pack(pop) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/awk -f | |
| # usage: | |
| # ARGV[0] <user 1> <user 2> {-|<files>} | |
| BEGIN { | |
| print ARGC; | |
| if ( ARGC <= 3 ) { | |
| print "Usage:\n\t"ARGV[0]" <user 1> <user 2> <files>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MARKDOWN?= markdown | |
| all: report.html | |
| %.html: %.md | |
| echo "<!doctype html>" > $@ | |
| echo "<html><body>" >> $@ | |
| $(MARKDOWN) $< >> $@ | |
| echo "</body></html>" >> $@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| URLS="http://presale.events.ccc.de/ https://presale.events.ccc.de/" | |
| MAILTO="foo@example.com bar@example.org" | |
| TIMEOUT=10 | |
| for URL in $URLS; do | |
| DONEFILE=${PWD}/.urlcheckdone.$(echo ${URL} | sed -e 's/[^-[:alnum:]_]/_/g') | |
| [ -f ${DONEFILE} ] && continue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lang/python24/patches/patch-am b/lang/python24/patches/patch-am | |
| index 44d081f..ef1605d 100644 | |
| --- a/lang/python24/patches/patch-am | |
| +++ b/lang/python24/patches/patch-am | |
| @@ -271,7 +271,7 @@ $NetBSD: patch-am,v 1.8 2011/10/31 06:50:53 sbd Exp $ | |
| + for dir in dirs: | |
| + f = os.path.join(dir, 'ndbm.h') | |
| + if sys.platform == 'darwin' and is_macosx_sdk_path(dir): | |
| -+ f = os.path.join(sysroot, dir[1:], filename) | |
| ++ f = os.path.join(sysroot, dir[1:], "ndbm.h") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lang/python24/distinfo b/lang/python24/distinfo | |
| index 30450c6..4c49933 100644 | |
| --- a/lang/python24/distinfo | |
| +++ b/lang/python24/distinfo | |
| @@ -15,7 +15,7 @@ SHA1 (patch-ai) = 6435c5a7269c14d94eab6fb9777b9d059507e7b8 | |
| SHA1 (patch-aj) = e471737ade95423039661b475f2dd0fc27aa9dac | |
| SHA1 (patch-ak) = 4c6708eb29757179e6855d8fbe78cab92c5a18d5 | |
| SHA1 (patch-al) = 3bcbdcacc451c8a354ea2d9e9887e61edaabfa41 | |
| -SHA1 (patch-am) = ffa0c2c37bdcfe121d4bb10be6c76d06b77fcca6 | |
| +SHA1 (patch-am) = 5d7ab2469887f9308698d2ef7f136cc528467bdf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| VAR1?= without quotes | |
| VAR2?="with quotes" | |
| a: | |
| .if !empty(VAR1:Mquotes) | |
| @echo ${VAR1} | |
| .endif | |
| .if !empty(VAR2:Mquotes) | |
| @echo ${VAR2} | |
| .endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 9411b77d8f638afa71ab12c5ed9f1eb0bc887cb4 | |
| Author: Matthias Rampke <matthias@rampke.de> | |
| Date: Sat Dec 3 20:56:57 2011 +0100 | |
| pkgtools/pkglint: recognise FETCH_USING | |
| TODO does not check for usable fetch tool | |
| diff --git a/pkgtools/pkglint/files/makevars.map b/pkgtools/pkglint/files/makevars.map | |
| index 156ebfd..5381819 100644 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/doc/TODO b/doc/TODO | |
| index 0619674..693c816 100644 | |
| --- a/doc/TODO | |
| +++ b/doc/TODO | |
| @@ -1031,7 +1031,6 @@ For possible perl packages updates, see http://www.pkgbox.org/p2c/ | |
| o ocamlnet-2.2.4 | |
| o ocsigen-1.1.0 [pkg/40761] | |
| o octave-3.4.3 | |
| - o offlineimap-6.4.2 | |
| o olvwm-4.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit 4ed7ddf1e3a30f65f8b5d4a63bcffe8317c42b10 | |
| Author: Matthias Rampke <matthias@rampke.de> | |
| Date: Thu Dec 29 14:41:31 2011 +0100 | |
| audio/libaudiofile: add configure check for libm | |
| diff --git a/audio/libaudiofile/distinfo b/audio/libaudiofile/distinfo | |
| index e19de6b..86c54e0 100644 | |
| --- a/audio/libaudiofile/distinfo | |
| +++ b/audio/libaudiofile/distinfo |