summaryrefslogtreecommitdiff
path: root/net/mopd/files/patch-otherOS_Makefile
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-29 21:50:34 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-29 21:50:34 +0000
commit3a82c56aca7f24585025d4c94b1b8f863f636f3a (patch)
treee18ada8fbceacf39630824ce6d261cbad7f65ce5 /net/mopd/files/patch-otherOS_Makefile
parentwww/py-boto3: Update 1.14.1 -> 1.15.8 (diff)
Fix build with -fno-common
While here regenerate all patch files with make-patch
Diffstat (limited to 'net/mopd/files/patch-otherOS_Makefile')
-rw-r--r--net/mopd/files/patch-otherOS_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/mopd/files/patch-otherOS_Makefile b/net/mopd/files/patch-otherOS_Makefile
new file mode 100644
index 000000000000..42b7abca619c
--- /dev/null
+++ b/net/mopd/files/patch-otherOS_Makefile
@@ -0,0 +1,11 @@
+--- otherOS/Makefile.orig 1996-08-13 18:44:15 UTC
++++ otherOS/Makefile
+@@ -164,7 +164,7 @@ VERSION:
+
+ version.o: version.c
+ version.c version.h: VERSION
+- rm -f version.c ; sed 's/.*/char version[] = "&";/' VERSION > version.c
++ rm -f version.c ; sed 's/.*/static char version[] = "&";/' VERSION > version.c
+ set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' VERSION` ; \
+ { echo '#define VERSION_MAJOR' $$1 ; \
+ echo '#define VERSION_MINOR' $$2 ; } > version.h