FreeBSD Bugzilla – Attachment 223847 Details for
Bug 254761
devel/simavr: update to 1.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update simavr to 1.7
simavr-1.7.diff (text/plain), 9.51 KB, created by
Felix Palmen
on 2021-04-06 07:11:32 UTC
(
hide
)
Description:
update simavr to 1.7
Filename:
MIME Type:
Creator:
Felix Palmen
Created:
2021-04-06 07:11:32 UTC
Size:
9.51 KB
patch
obsolete
>Index: devel/simavr/Makefile >=================================================================== >--- devel/simavr/Makefile (revision 569609) >+++ devel/simavr/Makefile (working copy) >@@ -2,18 +2,10 @@ > # $FreeBSD$ > > PORTNAME= simavr >-PORTVERSION= 1.6 >-PORTREVISION= 2 >+PORTVERSION= 1.7 > DISTVERSIONPREFIX= v > CATEGORIES= devel emulators >-DIST_SUBDIR= ${PORTNAME} > >-PATCH_DIST_STRIP= -p1 >-PATCH_SITES= https://github.com/buserror/simavr/commit/ >-PATCHFILES= 86264ad6d0b6b921130e293769d8ebaec512eecd.diff \ >- e5ea627259daae64ddbe67402b6d121e0143cd21.diff \ >- 082939e64e1632d8ea0b1d6ebea93ca832c9e762.diff >- > MAINTAINER= felix@palmen-it.de > COMMENT= Simulator for several Atmel AVR chips > >@@ -32,7 +24,12 @@ > USE_LDCONFIG= yes > > ALL_TARGET= build-parts >-MAKE_ARGS= "RELEASE=1 PREFIX=${PREFIX} DESTDIR=${STAGEDIR}${PREFIX}" >+DESTDIRNAME= DUMMYDESTDIR >+ # Avoid default DESTDIR handling, so we can set a custom >+ # one that includes PREFIX, as required by unusual upstream >+ # install targets >+MAKE_ARGS= RELEASE=1 PREFIX=${PREFIX} DESTDIR=${STAGEDIR}${PREFIX} >+MAKE_ENV= SIMAVR_VERSION=v${PORTVERSION} > > OPTIONS_DEFINE= DOCS EXAMPLES > >@@ -43,6 +40,12 @@ > DUMPMACHINE= ${CC} -dumpmachine > OBJDIRNAME= obj-$$(${DUMPMACHINE}) > >+post-patch: >+ ${REINPLACE_CMD} -e 's:Linux:FreeBSD:' \ >+ -e 's:unknown:v${PORTVERSION}:' \ >+ ${WRKSRC}/simavr/Makefile \ >+ ${WRKSRC}/examples/parts/Makefile >+ > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/simavr > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsimavr.so.1 >@@ -54,7 +57,7 @@ > ${INSTALL_DATA} ${WRKSRC}/doc/simavr_callgraph.pdf ${STAGEDIR}${DOCSDIR} > > post-install-EXAMPLES-on: >-.for BOARDELF in ds1338,ds1338demo hd44780,charlcd i2ctest ledramp simduino ssd1306,ssd1306demo timer_64led >+.for BOARDELF in ds1338,ds1338demo hd44780,charlcd i2ctest ledramp rotenc,rotenc_test simduino ssd1306,ssd1306demo timer_64led > BOARDELF=${BOARDELF}; \ > BOARD=$${BOARDELF%%,*}; \ > ELF=$${BOARDELF##*,}; \ >@@ -74,6 +77,7 @@ > hd44780/atmega48_charlcd \ > i2ctest/atmega1280_i2ctest \ > ledramp/atmega48_ledramp \ >+ rotenc/atmega32_rotenc_test \ > ssd1306/atmega32_ssd1306 \ > timer_64led/atmega168_timer_64led > ${AVR_STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/board_${AXF}.axf >Index: devel/simavr/distinfo >=================================================================== >--- devel/simavr/distinfo (revision 569609) >+++ devel/simavr/distinfo (working copy) >@@ -1,9 +1,3 @@ >-TIMESTAMP = 1587070720 >-SHA256 (simavr/buserror-simavr-v1.6_GH0.tar.gz) = a55ad04d055eef5656c49f78bc089968b059c6efb6a831618b8d7e67a840936d >-SIZE (simavr/buserror-simavr-v1.6_GH0.tar.gz) = 3317397 >-SHA256 (simavr/86264ad6d0b6b921130e293769d8ebaec512eecd.diff) = cc0b23d08f713bc450013f68df3e7cf2d329aa6eee6d66458e6101349aa10255 >-SIZE (simavr/86264ad6d0b6b921130e293769d8ebaec512eecd.diff) = 313 >-SHA256 (simavr/e5ea627259daae64ddbe67402b6d121e0143cd21.diff) = fef6af9400ad4abd5ad8f0272fb4d656815e289b42e8906476e6e0b0560ab25e >-SIZE (simavr/e5ea627259daae64ddbe67402b6d121e0143cd21.diff) = 976 >-SHA256 (simavr/082939e64e1632d8ea0b1d6ebea93ca832c9e762.diff) = 70a0d68aa4768062d38e5b816d55506745ea2336b253ce4c275c263cc6ab4634 >-SIZE (simavr/082939e64e1632d8ea0b1d6ebea93ca832c9e762.diff) = 394 >+TIMESTAMP = 1617458891 >+SHA256 (buserror-simavr-v1.7_GH0.tar.gz) = e7b3d5f0946e84fbe76a37519d0f146d162bbf88641ee91883b3970b02c77093 >+SIZE (buserror-simavr-v1.7_GH0.tar.gz) = 3322387 >Index: devel/simavr/files/patch-Makefile >=================================================================== >--- devel/simavr/files/patch-Makefile (revision 569609) >+++ devel/simavr/files/patch-Makefile (nonexistent) >@@ -1,12 +0,0 @@ >---- Makefile.orig 2020-04-16 22:04:43 UTC >-+++ Makefile >-@@ -29,9 +29,6 @@ install: >- doc: >- $(MAKE) -C doc RELEASE=$(RELEASE) >- >--install: >-- $(MAKE) -C simavr install >-- >- clean: >- $(MAKE) -C simavr clean >- $(MAKE) -C tests clean > >Property changes on: devel/simavr/files/patch-Makefile >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: devel/simavr/files/patch-examples_parts_Makefile >=================================================================== >--- devel/simavr/files/patch-examples_parts_Makefile (revision 569609) >+++ devel/simavr/files/patch-examples_parts_Makefile (nonexistent) >@@ -1,12 +0,0 @@ >---- examples/parts/Makefile.orig 2020-04-16 21:45:08 UTC >-+++ examples/parts/Makefile >-@@ -44,9 +44,7 @@ ${target}: ${OBJ}/${target}.a >- # >- # Shared library (Linux only) >- # >--ifeq (${shell uname}, Linux) >- ${target}: ${OBJ}/${target}.so >--endif >- >- clean: clean-${OBJ} >- rm -rf *.hex *.a *.axf *.vcd .*.swo .*.swp .*.swm .*.swn *.so *.o > >Property changes on: devel/simavr/files/patch-examples_parts_Makefile >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: devel/simavr/files/patch-simavr_Makefile >=================================================================== >--- devel/simavr/files/patch-simavr_Makefile (revision 569609) >+++ devel/simavr/files/patch-simavr_Makefile (nonexistent) >@@ -1,34 +0,0 @@ >---- simavr/Makefile.orig 2020-04-16 21:45:08 UTC >-+++ simavr/Makefile >-@@ -19,7 +19,7 @@ >- SHELL := ${shell which bash} >- SIMAVR_VERSION := ${shell \ >- git describe --abbrev=0 --tags || \ >-- echo "unknown" } >-+ echo "v1.6" } >- SIMAVR_REVISION = 2 >- >- target = run_avr >-@@ -54,9 +54,7 @@ ${OBJ}/libsimavr.a : ${sim_o} >- >- libsimavr : config ${OBJ}/libsimavr.a >- # shared library won't work that easily on non-linux >--ifeq (${shell uname}, Linux) >- libsimavr : ${OBJ}/libsimavr.so >--endif >- >- ${OBJ}/${target}.elf : libsimavr >- ${OBJ}/${target}.elf : ${OBJ}/${target}.o >-@@ -94,12 +92,10 @@ install : all >- simavr.pc >$(DESTDIR)/libdata/pkgconfig/simavr.pc >- sed -e "s|PREFIX|${PREFIX}|g" -e "s|VERSION|${SIMAVR_VERSION}|g" \ >- simavrparts.pc >$(DESTDIR)/libdata/pkgconfig/simavrparts.pc >--ifeq (${shell uname}, Linux) >- $(INSTALL) ${OBJ}/libsimavr.so.1 $(DESTDIR)/lib/ >- $(INSTALL) ../examples/parts/${OBJ}/libsimavrparts.so.1 $(DESTDIR)/lib/ >- ln -sf libsimavr.so.1 $(DESTDIR)/lib/libsimavr.so >- ln -sf libsimavrparts.so.1 $(DESTDIR)/lib/libsimavrparts.so >--endif >- $(MKDIR) $(DESTDIR)/bin >- $(INSTALL) ${OBJ}/${target}.elf $(DESTDIR)/bin/simavr >- > >Property changes on: devel/simavr/files/patch-simavr_Makefile >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: devel/simavr/files/patch-simavr_sim_run__avr.c >=================================================================== >--- devel/simavr/files/patch-simavr_sim_run__avr.c (revision 569609) >+++ devel/simavr/files/patch-simavr_sim_run__avr.c (nonexistent) >@@ -1,11 +0,0 @@ >---- simavr/sim/run_avr.c.orig 2018-01-10 10:05:15 UTC >-+++ simavr/sim/run_avr.c >-@@ -106,7 +106,7 @@ main( >- display_usage(basename(argv[0])); >- } else if (!strcmp(argv[pi], "-m") || !strcmp(argv[pi], "--mcu")) { >- if (pi < argc-1) >-- strncpy(name, argv[++pi], sizeof(name)); >-+ snprintf(name, sizeof(name), "%s", argv[++pi]); >- else >- display_usage(basename(argv[0])); >- } else if (!strcmp(argv[pi], "-f") || !strcmp(argv[pi], "--freq")) { > >Property changes on: devel/simavr/files/patch-simavr_sim_run__avr.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: devel/simavr/pkg-plist >=================================================================== >--- devel/simavr/pkg-plist (revision 569609) >+++ devel/simavr/pkg-plist (working copy) >@@ -23,6 +23,7 @@ > include/simavr/parts/hd44780_glut.h > include/simavr/parts/i2c_eeprom.h > include/simavr/parts/lcd_font.h >+include/simavr/parts/rotenc.h > include/simavr/parts/ssd1306_glut.h > include/simavr/parts/ssd1306_virt.h > include/simavr/parts/uart_pty.h >@@ -90,6 +91,12 @@ > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_ledramp/atmega48_ledramp.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_ledramp/ledramp > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_ledramp/ledramp.c >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_rotenc/Makefile >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_rotenc/README >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_rotenc/atmega32_rotenc_test.axf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_rotenc/atmega32_rotenc_test.c >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_rotenc/rotenc_test >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_rotenc/rotenc_test.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_simduino/ATmegaBOOT_168_atmega328.ihex > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_simduino/Makefile > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/board_simduino/README >@@ -129,6 +136,8 @@ > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts/i2c_eeprom.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts/i2c_eeprom.h > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts/lcd_font.h >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts/rotenc.c >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts/rotenc.h > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts/ssd1306_glut.c > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts/ssd1306_glut.h > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/parts/ssd1306_virt.c
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
zirias
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 254761
:
223799
|
223800
|
223847
|
223852
|
223853
|
223891